public class ModelPreferenceStyler<M extends net.officefloor.model.Model>
extends java.lang.Object
TitleAreaDialog for styling the AdaptedModel.| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
open()
Opens the
StyleDialogue. |
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)
parentShell - Parent Shell.item - AbstractItem.prototype - Prototype Model for the item.itemLabel - Label for the item.isParent - Indicates if AdaptedParent.style - Property to receive changes to the style. Also, provides
the initial style.defaultStyle - Default style.preferencesToChange - Map to load with the IPreferenceStore changes.Copyright © 2005–2018. All rights reserved.