Package net.officefloor.gef.activity
Class ActivityProcedureNextItem
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractItem<ActivityModel,ActivityChanges,ActivityProcedureModel,ActivityProcedureModel.ActivityProcedureEvent,ActivityProcedureNextModel,ActivityProcedureNextModel.ActivityProcedureNextEvent>
-
- net.officefloor.gef.activity.ActivityProcedureNextItem
-
public class ActivityProcedureNextItem extends AbstractItem<ActivityModel,ActivityChanges,ActivityProcedureModel,ActivityProcedureModel.ActivityProcedureEvent,ActivityProcedureNextModel,ActivityProcedureNextModel.ActivityProcedureNextEvent>
Configuration for theActivityProcedureNextModel
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.gef.ide.editor.AbstractItem
AbstractItem.ConfigurableContext<R extends Model,O>, AbstractItem.IdeChildrenGroup, AbstractItem.IdeConnection<C extends ConnectionModel>, AbstractItem.IdeConnectionTarget<C extends ConnectionModel,T extends Model,TE extends java.lang.Enum<TE>>, AbstractItem.IdeExtractor, AbstractItem.IdeLabeller, AbstractItem.IdeStyle, AbstractItem.PreferenceListener
-
-
Field Summary
-
Fields inherited from class net.officefloor.gef.ide.editor.AbstractItem
builder
-
-
Constructor Summary
Constructors Constructor Description ActivityProcedureNextItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
connections(java.util.List<AbstractItem.IdeConnectionTarget<? extends ConnectionModel,?,?>> connections)
Loads theAbstractItem.IdeConnectionTarget
instances (created fromAbstractItem.IdeConnection
instances).AbstractItem.IdeExtractor
extract()
AbstractItem.IdeLabeller
label()
Obtains theAbstractItem.IdeLabeller
for theModel
.void
loadToParent(ActivityProcedureModel parentModel, ActivityProcedureNextModel itemModel)
ActivityProcedureNextModel
prototype()
Creates the prototype for the item.javafx.scene.layout.Pane
visual(ActivityProcedureNextModel model, AdaptedChildVisualFactoryContext<ActivityProcedureNextModel> context)
Creates the visual for theModel
.-
Methods inherited from class net.officefloor.gef.ide.editor.AbstractItem
children, createChild, furtherAdapt, getBuilder, getChildrenGroups, getConfigurableContext, getConnections, getPreferenceStyleId, init, loadStyles, style, translateFromCommaSeparatedList, translateToCommaSeparateList, translateToNameMappings, translateToPropertyList
-
-
-
-
Method Detail
-
prototype
public ActivityProcedureNextModel prototype()
Description copied from class:AbstractItem
Creates the prototype for the item.- Specified by:
prototype
in classAbstractItem<ActivityModel,ActivityChanges,ActivityProcedureModel,ActivityProcedureModel.ActivityProcedureEvent,ActivityProcedureNextModel,ActivityProcedureNextModel.ActivityProcedureNextEvent>
- Returns:
- Prototype.
-
extract
public AbstractItem.IdeExtractor extract()
Description copied from class:AbstractItem
-
loadToParent
public void loadToParent(ActivityProcedureModel parentModel, ActivityProcedureNextModel itemModel)
Description copied from class:AbstractItem
Loads theModel
to the parentModel
. This allows for constructing a prototype model for editing preferences of theAbstractAdaptedIdeEditor
.- Specified by:
loadToParent
in classAbstractItem<ActivityModel,ActivityChanges,ActivityProcedureModel,ActivityProcedureModel.ActivityProcedureEvent,ActivityProcedureNextModel,ActivityProcedureNextModel.ActivityProcedureNextEvent>
- Parameters:
parentModel
- ParentModel
.itemModel
- ItemModel
.
-
visual
public javafx.scene.layout.Pane visual(ActivityProcedureNextModel model, AdaptedChildVisualFactoryContext<ActivityProcedureNextModel> context)
Description copied from class:AbstractItem
Creates the visual for theModel
.- Specified by:
visual
in classAbstractItem<ActivityModel,ActivityChanges,ActivityProcedureModel,ActivityProcedureModel.ActivityProcedureEvent,ActivityProcedureNextModel,ActivityProcedureNextModel.ActivityProcedureNextEvent>
- Parameters:
model
-Model
.context
-AdaptedChildVisualFactoryContext
.- Returns:
Node
for the visual.
-
label
public AbstractItem.IdeLabeller label()
Description copied from class:AbstractItem
Obtains theAbstractItem.IdeLabeller
for theModel
.
-
connections
protected void connections(java.util.List<AbstractItem.IdeConnectionTarget<? extends ConnectionModel,?,?>> connections)
Description copied from class:AbstractItem
Loads theAbstractItem.IdeConnectionTarget
instances (created fromAbstractItem.IdeConnection
instances).- Overrides:
connections
in classAbstractItem<ActivityModel,ActivityChanges,ActivityProcedureModel,ActivityProcedureModel.ActivityProcedureEvent,ActivityProcedureNextModel,ActivityProcedureNextModel.ActivityProcedureNextEvent>
- Parameters:
connections
-AbstractItem.IdeConnection
instances.
-
-