Package net.officefloor.gef.ide.editor
Class AbstractAdaptedIdeEditor.ViewManager<R extends Model>
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractAdaptedIdeEditor.ViewManager<R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.Property<java.lang.String>
editorStyle()
ObtainsProperty
to change the Editor styling.boolean
isError(AdaptedErrorHandler.UncertainOperation operation)
javafx.beans.property.Property<java.lang.String>
paletteIndicatorStyle()
ObtainsProperty
to change Palette Indicator styling.javafx.beans.property.Property<java.lang.String>
paletteStyle()
ObtainsProperty
to change Palette styling.void
reloadFromConfigurationItem()
Reloads the rootModel
from theWritableConfigurationItem
.javafx.beans.property.Property<R>
rootModel()
ObtainsProperty
to change rootModel
.void
save()
Saves the Editor contents to theWritableConfigurationItem
.
-
-
-
Method Detail
-
rootModel
public javafx.beans.property.Property<R> rootModel()
ObtainsProperty
to change rootModel
.- Returns:
Property
to change rootModel
.
-
reloadFromConfigurationItem
public void reloadFromConfigurationItem()
Reloads the root
Model
from theWritableConfigurationItem
.Note: a
WritableConfigurationItem
requires to be configured.
-
editorStyle
public javafx.beans.property.Property<java.lang.String> editorStyle()
ObtainsProperty
to change the Editor styling.- Returns:
Property
to change the Editor styling.
-
paletteIndicatorStyle
public javafx.beans.property.Property<java.lang.String> paletteIndicatorStyle()
ObtainsProperty
to change Palette Indicator styling.- Returns:
Property
to change Palette Indicator styling.
-
paletteStyle
public javafx.beans.property.Property<java.lang.String> paletteStyle()
ObtainsProperty
to change Palette styling.- Returns:
Property
to change Palette styling.
-
isError
public boolean isError(AdaptedErrorHandler.UncertainOperation operation)
Runs an
AdaptedErrorHandler.UncertainOperation
.Feedback of
Throwable
is presented by the Editor.- Parameters:
operation
-AdaptedErrorHandler.UncertainOperation
.- Returns:
true
if error.
-
save
public void save()
Saves the Editor contents to theWritableConfigurationItem
.
-
-