Package net.officefloor.gef.editor
Interface AdaptedChildVisualFactoryContext<M extends Model>
-
- All Superinterfaces:
AdaptedConnectorVisualFactoryContext,AdaptedModelVisualFactoryContext<M>
- All Known Implementing Classes:
AdaptedChildVisualFactoryContextImpl
public interface AdaptedChildVisualFactoryContext<M extends Model> extends AdaptedModelVisualFactoryContext<M>, AdaptedConnectorVisualFactoryContext
Context for theAdaptedChildVisualFactory.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.officefloor.gef.editor.AdaptedModelVisualFactoryContext
AdaptedModelVisualFactoryContext.Connector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <P extends javafx.scene.layout.Pane>
PchildGroup(java.lang.String childGroupName, P parent)Specifies thePanefor the child group.booleanisPalettePrototype()Indicates if palette prototype.javafx.scene.control.Labellabel(javafx.scene.layout.Pane parent)-
Methods inherited from interface net.officefloor.gef.editor.AdaptedModelVisualFactoryContext
action, action, addIndent, addNode, connector, createImageWithHover
-
-
-
-
Method Detail
-
label
javafx.scene.control.Label label(javafx.scene.layout.Pane parent)
- Parameters:
parent-Pane.- Returns:
- Added
Label.
-
childGroup
<P extends javafx.scene.layout.Pane> P childGroup(java.lang.String childGroupName, P parent)Specifies thePanefor the child group.- Type Parameters:
P- ParentPanetype.- Parameters:
childGroupName- Name of the child group.parent-Paneto add the child group visuals.- Returns:
- Input
Pane.
-
isPalettePrototype
boolean isPalettePrototype()
Indicates if palette prototype.
This allows for visual to not show actions or connectors that would be confusing (and error) if used from the palette.
- Returns:
trueif the palette prototype.
-
-