Class ModelPreferenceStyler<M extends Model>


  • public class ModelPreferenceStyler<M extends Model>
    extends java.lang.Object
    TitleAreaDialog for styling the AdaptedModel.
    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 the ModelPreferenceStyler.StyleDialogue.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 - 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.
    • Method Detail

      • open

        public void open()
        Opens the ModelPreferenceStyler.StyleDialogue.