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.String
getConfigurationPath()
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
-Model
type.E
-Model
event type.- Parameters:
modelPrototype
-Model
prototype to determineClass
of theModel
and used in visual validation.viewFactory
-AdaptedChildVisualFactory
to create the view for theAdaptedChild
.- Returns:
AdaptedParentBuilder
to build the adapter over theModel
.
-
-