Class RestrictionUIFactory
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.specification.restriction.RestrictionUIFactory
-
public class RestrictionUIFactory extends Object
A factory forIRestrictionUI
s. The corresponding UI for a restriction is found by theRestrictionUI
annotation. If several UIs fit the restriction, the most general is taken. If no UI can be found, one representing an error dialog is returned.
-
-
Constructor Summary
Constructors Constructor Description RestrictionUIFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <I extends Instrumentable>
List<Class<? extends InstrumentableRestriction<I>>>getAllRestrictionTypesFor(Class<I> instrumentableType)
static <I extends Instrumentable>
IRestrictionUI<I>getViewForRestriction(InstrumentableRestriction<I> restriction)
static <I extends Instrumentable>
IRestrictionUI<I>getViewForRestrictionType(Class<? extends InstrumentableRestriction<I>> type)
-
-
-
Method Detail
-
getAllRestrictionTypesFor
public static <I extends Instrumentable> List<Class<? extends InstrumentableRestriction<I>>> getAllRestrictionTypesFor(Class<I> instrumentableType)
-
getViewForRestriction
public static <I extends Instrumentable> IRestrictionUI<I> getViewForRestriction(InstrumentableRestriction<I> restriction)
-
getViewForRestrictionType
public static <I extends Instrumentable> IRestrictionUI<I> getViewForRestrictionType(Class<? extends InstrumentableRestriction<I>> type)
-
-