Class AdaptedEditorPreview<M extends Model>
- java.lang.Object
-
- net.officefloor.eclipse.editor.preview.AdaptedEditorPreview<M>
-
public class AdaptedEditorPreview<M extends Model> extends java.lang.Object
Preview of anAdaptedModel
IVisualPart
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AdaptedEditorPreview(M model, java.lang.String label, boolean isParent, AdaptedChildVisualFactory<M> visualFactory)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.Scene
getPreviewScene()
Obtains the previewScene
.javafx.scene.Node
getPreviewVisual()
Obtains the preview visual.javafx.beans.property.Property<java.lang.String>
style()
Obtains the styleProperty
.
-
-
-
Constructor Detail
-
AdaptedEditorPreview
public AdaptedEditorPreview(M model, java.lang.String label, boolean isParent, AdaptedChildVisualFactory<M> visualFactory)
Instantiate.- Parameters:
model
- Model.label
- Label.isParent
- Indicates ifAdaptedParent
.visualFactory
-AdaptedChildVisualFactory
.
-
-
Method Detail
-
getPreviewScene
public javafx.scene.Scene getPreviewScene()
Obtains the previewScene
.- Returns:
- Preview
Scene
.
-
getPreviewVisual
public javafx.scene.Node getPreviewVisual()
Obtains the preview visual.- Returns:
- Preview visual.
-
style
public javafx.beans.property.Property<java.lang.String> style()
Obtains the styleProperty
.- Returns:
- Style
Property
.
-
-