Package net.officefloor.gef.ide.editor
Class AbstractConfigurableItem<R extends Model,RE extends java.lang.Enum<RE>,O,M extends Model,E extends java.lang.Enum<E>,I>
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractItem<R,O,R,RE,M,E>
-
- net.officefloor.gef.ide.editor.AbstractConfigurableItem<R,RE,O,M,E,I>
-
- All Implemented Interfaces:
ConfigurableItem<I>
- Direct Known Subclasses:
AbstractExceptionItem
,AbstractProcedureItem
,AbstractSectionItem
,ActivityInputItem
,ActivityOutputItem
,ExternalFlowItem
,ExternalManagedObjectItem
,FunctionItem
,FunctionNamespaceItem
,ManagedObjectItem
,ManagedObjectSourceItem
,SubSectionItem
,WoofGovernanceItem
,WoofHttpContinuationItem
,WoofHttpInputItem
,WoofResourceItem
,WoofSecurityItem
,WoofStartItem
,WoofTemplateItem
public abstract class AbstractConfigurableItem<R extends Model,RE extends java.lang.Enum<RE>,O,M extends Model,E extends java.lang.Enum<E>,I> extends AbstractItem<R,O,R,RE,M,E> implements ConfigurableItem<I>
AbstractConfigurableItem
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AbstractConfigurableItem.ConfigurableModelContext<O,M>
Context forModel
ofConfigurableItem
.static class
AbstractConfigurableItem.IdeConfiguration<O,M extends Model,I>
Configuration for the IdeConfigurer.class
AbstractConfigurableItem.IdeConfigurer
IDE configurer.static interface
AbstractConfigurableItem.ItemActioner<O,M>
Immediate action for an item.static interface
AbstractConfigurableItem.ItemConfigurer<O,M,I>
Configures an item.-
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 AbstractConfigurableItem()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AbstractConfigurableItem.IdeConfigurer
configure()
Obtains the item configuration.AdaptedParentBuilder<R,O,M,E>
createAdaptedParent()
Creates theAdaptedParentBuilder
.static <O,M extends Model,I>
AbstractConfigurableItem.IdeConfiguration<O,M,I>extractIdeConfiguration(AbstractConfigurableItem.IdeConfigurer configurer)
Extracts theAbstractConfigurableItem.IdeConfiguration
.protected void
furtherAdapt(AdaptedParentBuilder<R,O,M,E> builder)
Further adapt theAdaptedParentBuilder
.abstract I
item(M model)
Creates an item from theModel
.-
Methods inherited from class net.officefloor.gef.ide.editor.AbstractItem
children, connections, createChild, extract, furtherAdapt, getBuilder, getChildrenGroups, getConfigurableContext, getConnections, getPreferenceStyleId, init, label, loadStyles, loadToParent, prototype, style, translateFromCommaSeparatedList, translateToCommaSeparateList, translateToNameMappings, translateToPropertyList, visual
-
-
-
-
Method Detail
-
extractIdeConfiguration
public static <O,M extends Model,I> AbstractConfigurableItem.IdeConfiguration<O,M,I> extractIdeConfiguration(AbstractConfigurableItem.IdeConfigurer configurer)
Extracts theAbstractConfigurableItem.IdeConfiguration
.- Type Parameters:
O
- Operations type.M
- ItemModel
type.I
- Item type.- Parameters:
configurer
-AbstractConfigurableItem.IdeConfigurer
.
-
configure
public abstract AbstractConfigurableItem.IdeConfigurer configure()
Obtains the item configuration.- Returns:
AbstractConfigurableItem.IdeConfigurer
for the item configuration.
-
furtherAdapt
protected void furtherAdapt(AdaptedParentBuilder<R,O,M,E> builder)
Further adapt theAdaptedParentBuilder
.- Parameters:
builder
-AdaptedParentBuilder
.
-
createAdaptedParent
public final AdaptedParentBuilder<R,O,M,E> createAdaptedParent()
Creates theAdaptedParentBuilder
.- Returns:
AdaptedParentBuilder
.
-
-