Package net.officefloor.gef.item
Class AbstractExceptionItem<R extends Model,RE extends java.lang.Enum<RE>,O,M extends Model,E extends java.lang.Enum<E>,I extends AbstractExceptionItem<R,RE,O,M,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>
- 
- net.officefloor.gef.item.AbstractExceptionItem<R,RE,O,M,E,I>
 
 
 
- 
- All Implemented Interfaces:
- ConfigurableItem<I>
 - Direct Known Subclasses:
- ActivityExceptionItem,- WoofExceptionItem
 
 public abstract class AbstractExceptionItem<R extends Model,RE extends java.lang.Enum<RE>,O,M extends Model,E extends java.lang.Enum<E>,I extends AbstractExceptionItem<R,RE,O,M,E,I>> extends AbstractConfigurableItem<R,RE,O,M,E,I> Configuration for abstractExceptionitem.- Author:
- Daniel Sagenschneider
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class net.officefloor.gef.ide.editor.AbstractConfigurableItemAbstractConfigurableItem.ConfigurableModelContext<O,M>, AbstractConfigurableItem.IdeConfiguration<O,M extends Model,I>, AbstractConfigurableItem.IdeConfigurer, AbstractConfigurableItem.ItemActioner<O,M>, AbstractConfigurableItem.ItemConfigurer<O,M,I>
 - 
Nested classes/interfaces inherited from class net.officefloor.gef.ide.editor.AbstractItemAbstractItem.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 SummaryFields Modifier and Type Field Description protected java.lang.StringexceptionClassNameExceptionClass.- 
Fields inherited from class net.officefloor.gef.ide.editor.AbstractItembuilder
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractExceptionItem()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Change<M>addException(O operations, java.lang.String exceptionClassName)Creates aChangeto add anException.AbstractConfigurableItem.IdeConfigurerconfigure()Obtains the item configuration.protected abstract IcreateItem()Creates theAbstractExceptionItemimplementation.protected abstract java.lang.StringgetExceptionClassName(M model)Obtains theExceptionClassname.protected abstract java.lang.Class<? extends ConnectionModel>[]getInputConnectionClasses()Obtains the inputConnectionModelClassinstances.Iitem(M model)Creates an item from theModel.protected voidloadStyles(java.util.List<AbstractItem.IdeStyle> styles)Default implementation ofAbstractItem.style()will invoke this to load styles.protected abstract Change<M>refactorException(O operations, M model, java.lang.String exceptionClassName)Creates aChangeto refactor theException.protected abstract Change<M>removeException(O operations, M model)Creates aChangeto remove theException.javafx.scene.layout.Panevisual(M model, AdaptedChildVisualFactoryContext<M> context)Creates the visual for theModel.- 
Methods inherited from class net.officefloor.gef.ide.editor.AbstractConfigurableItemcreateAdaptedParent, extractIdeConfiguration, furtherAdapt
 - 
Methods inherited from class net.officefloor.gef.ide.editor.AbstractItemchildren, connections, createChild, extract, furtherAdapt, getBuilder, getChildrenGroups, getConfigurableContext, getConnections, getPreferenceStyleId, init, label, loadToParent, prototype, style, translateFromCommaSeparatedList, translateToCommaSeparateList, translateToNameMappings, translateToPropertyList
 
- 
 
- 
- 
- 
Method Detail- 
createItemprotected abstract I createItem() Creates theAbstractExceptionItemimplementation.- Returns:
- AbstractExceptionItemimplementation.
 
 - 
getExceptionClassNameprotected abstract java.lang.String getExceptionClassName(M model) Obtains theExceptionClassname.- Parameters:
- model-- Model.
- Returns:
- Exception- Classname.
 
 - 
getInputConnectionClassesprotected abstract java.lang.Class<? extends ConnectionModel>[] getInputConnectionClasses() Obtains the inputConnectionModelClassinstances.- Returns:
- Input ConnectionModelClassinstances.
 
 - 
addExceptionprotected abstract Change<M> addException(O operations, java.lang.String exceptionClassName) Creates aChangeto add anException.- Parameters:
- operations- Operations.
- exceptionClassName-- Exception- Classname.
- Returns:
- Changeto add an- Exception.
 
 - 
refactorExceptionprotected abstract Change<M> refactorException(O operations, M model, java.lang.String exceptionClassName) Creates aChangeto refactor theException.
 - 
removeExceptionprotected abstract Change<M> removeException(O operations, M model) Creates aChangeto remove theException.
 - 
visualpublic javafx.scene.layout.Pane visual(M model, AdaptedChildVisualFactoryContext<M> context) Description copied from class:AbstractItemCreates the visual for theModel.
 - 
itempublic I item(M model) Description copied from class:AbstractConfigurableItemCreates an item from theModel.
 - 
loadStylesprotected void loadStyles(java.util.List<AbstractItem.IdeStyle> styles) Description copied from class:AbstractItemDefault implementation ofAbstractItem.style()will invoke this to load styles.- Overrides:
- loadStylesin class- AbstractItem<R extends Model,O,R extends Model,RE extends java.lang.Enum<RE>,M extends Model,E extends java.lang.Enum<E>>
- Parameters:
- styles-- Listto be loaded with the- AbstractItem.IdeStyleinstances.
 
 - 
configurepublic AbstractConfigurableItem.IdeConfigurer configure() Description copied from class:AbstractConfigurableItemObtains the item configuration.
 
- 
 
-