Class ModelPreferenceStyler<M extends Model>
- java.lang.Object
-
- net.officefloor.eclipse.ide.preferences.ModelPreferenceStyler<M>
-
public class ModelPreferenceStyler<M extends Model> extends java.lang.Object
TitleAreaDialog
for styling theAdaptedModel
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ModelPreferenceStyler(org.eclipse.swt.widgets.Shell parentShell, AbstractItem<?,?,?,?,M,?> item, M prototype, java.lang.String itemLabel, boolean isParent, javafx.beans.property.Property<java.lang.String> style, java.lang.String defaultStyle, java.util.Map<java.lang.String,java.lang.String> preferencesToChange)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
open()
Opens theModelPreferenceStyler.StyleDialogue
.
-
-
-
Constructor Detail
-
ModelPreferenceStyler
public ModelPreferenceStyler(org.eclipse.swt.widgets.Shell parentShell, AbstractItem<?,?,?,?,M,?> item, M prototype, java.lang.String itemLabel, boolean isParent, javafx.beans.property.Property<java.lang.String> style, java.lang.String defaultStyle, java.util.Map<java.lang.String,java.lang.String> preferencesToChange)
Instantiate.- Parameters:
parentShell
- ParentShell
.item
-AbstractItem
.prototype
- PrototypeModel
for the item.itemLabel
- Label for the item.isParent
- Indicates ifAdaptedParent
.style
-Property
to receive changes to the style. Also, provides the initial style.defaultStyle
- Default style.preferencesToChange
-Map
to load with theIPreferenceStore
changes.
-
-