Package net.officefloor.gef.editor
Interface AdaptedBuilderContext
-
- All Known Implementing Classes:
OfficeFloorContentPartFactory
public interface AdaptedBuilderContext
Provides means to build the adapted model.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R extends Model,O>
AdaptedRootBuilder<R,O>root(java.lang.Class<R> rootModelClass, java.util.function.Function<R,O> createOperations)
Specifies the rootModel
.
-
-
-
Method Detail
-
root
<R extends Model,O> AdaptedRootBuilder<R,O> root(java.lang.Class<R> rootModelClass, java.util.function.Function<R,O> createOperations)
Specifies the rootModel
.- Type Parameters:
R
- RootModel
type.O
- Operations type.- Parameters:
rootModelClass
-Class
of the rootModel
.createOperations
-Function
to create the operations object to wrap the rootModel
.- Returns:
AdaptedRootBuilder
.
-
-