Class ModifyDialogTabPage.StringPreference

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String fOldSelected  
      protected java.lang.String fSelected  
    • Constructor Summary

      Constructors 
      Constructor Description
      StringPreference​(org.eclipse.swt.widgets.Composite composite, int numColumns, java.util.Map<java.lang.String,​java.lang.String> preferences, java.lang.String key, java.lang.String text, org.eclipse.jface.dialogs.IInputValidator inputValidator)
      Creates a new StringPreference.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void fieldModified()  
      protected void focusGained()  
      protected void focusLost()  
      org.eclipse.swt.widgets.Control getControl()
      Returns the main control of a preference, which is mainly used to manage the focus.
      protected void updateWidget()
      To be implemented in subclasses.
      • Methods inherited from class java.util.Observable

        addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
      • Methods inherited from class java.lang.Object

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

      • fSelected

        protected java.lang.String fSelected
      • fOldSelected

        protected java.lang.String fOldSelected
    • Constructor Detail

      • StringPreference

        public StringPreference​(org.eclipse.swt.widgets.Composite composite,
                                int numColumns,
                                java.util.Map<java.lang.String,​java.lang.String> preferences,
                                java.lang.String key,
                                java.lang.String text,
                                org.eclipse.jface.dialogs.IInputValidator inputValidator)
        Creates a new StringPreference.
        Parameters:
        composite - the composite on which the SWT widgets are added.
        numColumns - the number of columns in the composite's GridLayout
        preferences - the map to store the values.
        key - the key to store the values.
        text - the label text for this Preference.
        inputValidator - the input validator or null if none
    • Method Detail

      • focusGained

        protected void focusGained()
      • focusLost

        protected void focusLost()
      • fieldModified

        protected void fieldModified()
      • getControl

        public org.eclipse.swt.widgets.Control getControl()
        Description copied from class: ModifyDialogTabPage.Preference
        Returns the main control of a preference, which is mainly used to manage the focus. This may be null if the preference doesn't have a control which is able to have the focus.
        Specified by:
        getControl in class ModifyDialogTabPage.Preference
        Returns:
        The main control