Package net.officefloor.gef.editor
Interface ChildrenGroupBuilder<R extends Model,O>
-
- All Known Implementing Classes:
ChildrenGroupFactory
public interface ChildrenGroupBuilder<R extends Model,O>Builds the child group.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <M extends Model,E extends java.lang.Enum<E>>
AdaptedChildBuilder<R,O,M,E>addChild(M modelPrototype, AdaptedChildVisualFactory<M> viewFactory)Adds a childModel.java.lang.StringgetConfigurationPath()Obtains the configuration path.
-
-
-
Method Detail
-
getConfigurationPath
java.lang.String getConfigurationPath()
Obtains the configuration path.- Returns:
- Configuration path.
-
addChild
<M extends Model,E extends java.lang.Enum<E>> AdaptedChildBuilder<R,O,M,E> addChild(M modelPrototype, AdaptedChildVisualFactory<M> viewFactory)
Adds a childModel.- Type Parameters:
M-Modeltype.E-Modelevent type.- Parameters:
modelPrototype-Modelprototype to determineClassof theModeland used in visual validation.viewFactory-AdaptedChildVisualFactoryto create the view for theAdaptedChild.- Returns:
AdaptedParentBuilderto build the adapter over theModel.
-
-