Class NodePreferenceStyler


  • public class NodePreferenceStyler
    extends java.lang.Object
    TitleAreaDialog for styling a particular Node.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      NodePreferenceStyler​(java.lang.String title, java.lang.String message, javafx.scene.Node node, java.lang.String preferenceStyleId, javafx.beans.property.Property<java.lang.String> style, java.lang.String defaultStyle, java.util.Map<java.lang.String,​java.lang.String> preferencesToChange, javafx.scene.Scene scene, org.eclipse.swt.widgets.Shell parentShell)
      Instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void open()
      Opens the NodePreferenceStyler.StyleDialogue.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodePreferenceStyler

        public NodePreferenceStyler​(java.lang.String title,
                                    java.lang.String message,
                                    javafx.scene.Node node,
                                    java.lang.String preferenceStyleId,
                                    javafx.beans.property.Property<java.lang.String> style,
                                    java.lang.String defaultStyle,
                                    java.util.Map<java.lang.String,​java.lang.String> preferencesToChange,
                                    javafx.scene.Scene scene,
                                    org.eclipse.swt.widgets.Shell parentShell)
        Instantiate.
        Parameters:
        title - Title.
        message - Message.
        node - Node to extract the structure.
        preferenceStyleId - Identifier within the IPreferenceStore for the style.
        style - Property to receive changes to the style. Also, provides the initial style.
        defaultStyle - Default style.
        preferencesToChange - Preferences to change.
        scene - Scene.
        parentShell - Parent Shell.
    • Method Detail

      • open

        public void open()
        Opens the NodePreferenceStyler.StyleDialogue.