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()ObtainsPropertyto change the Editor styling.booleanisError(AdaptedErrorHandler.UncertainOperation operation)javafx.beans.property.Property<java.lang.String>paletteIndicatorStyle()ObtainsPropertyto change Palette Indicator styling.javafx.beans.property.Property<java.lang.String>paletteStyle()ObtainsPropertyto change Palette styling.voidreloadFromConfigurationItem()Reloads the rootModelfrom theWritableConfigurationItem.javafx.beans.property.Property<R>rootModel()ObtainsPropertyto change rootModel.voidsave()Saves the Editor contents to theWritableConfigurationItem.
-
-
-
Method Detail
-
rootModel
public javafx.beans.property.Property<R> rootModel()
ObtainsPropertyto change rootModel.- Returns:
Propertyto change rootModel.
-
reloadFromConfigurationItem
public void reloadFromConfigurationItem()
Reloads the root
Modelfrom theWritableConfigurationItem.Note: a
WritableConfigurationItemrequires to be configured.
-
editorStyle
public javafx.beans.property.Property<java.lang.String> editorStyle()
ObtainsPropertyto change the Editor styling.- Returns:
Propertyto change the Editor styling.
-
paletteIndicatorStyle
public javafx.beans.property.Property<java.lang.String> paletteIndicatorStyle()
ObtainsPropertyto change Palette Indicator styling.- Returns:
Propertyto change Palette Indicator styling.
-
paletteStyle
public javafx.beans.property.Property<java.lang.String> paletteStyle()
ObtainsPropertyto change Palette styling.- Returns:
Propertyto change Palette styling.
-
isError
public boolean isError(AdaptedErrorHandler.UncertainOperation operation)
Runs an
AdaptedErrorHandler.UncertainOperation.Feedback of
Throwableis presented by the Editor.- Parameters:
operation-AdaptedErrorHandler.UncertainOperation.- Returns:
trueif error.
-
save
public void save()
Saves the Editor contents to theWritableConfigurationItem.
-
-