- java.lang.Object
-
- net.officefloor.gef.editor.internal.models.AdaptedActionsFactory<R,O,M>
-
public class AdaptedActionsFactory<R extends Model,O,M extends Model> extends java.lang.Object
Factory for the creation of theAdaptedActions
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AdaptedActionsFactory(OfficeFloorContentPartFactory<R,O> contentPartFactory)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAction(ModelAction<R,O,M> action, AdaptedActionVisualFactory visualFactory)
Adds anAdaptedAction
.AdaptedActions<R,O,M>
createAdaptedActions(ModelActionContext<R,O,M> actionContext)
Creates theAdaptedActions
.
-
-
-
Constructor Detail
-
AdaptedActionsFactory
public AdaptedActionsFactory(OfficeFloorContentPartFactory<R,O> contentPartFactory)
Instantiate.- Parameters:
contentPartFactory
-OfficeFloorContentPartFactory
.
-
-
Method Detail
-
addAction
public void addAction(ModelAction<R,O,M> action, AdaptedActionVisualFactory visualFactory)
Adds anAdaptedAction
.- Parameters:
action
-ModelAction
.visualFactory
-AdaptedActionVisualFactory
.
-
createAdaptedActions
public AdaptedActions<R,O,M> createAdaptedActions(ModelActionContext<R,O,M> actionContext)
Creates theAdaptedActions
.- Parameters:
actionContext
-ModelActionContext
.- Returns:
AdaptedActions
.
-
-