Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.DirectoryFieldEditor


                RELATIONSHIP_LABEL_PROPERTIES_LABEL, getFieldEditorParent() );
        relPropertyNameField.setEmptyStringAllowed( true );
        addField( relPropertyNameField, PROPTERTY_NAMES_NOTE );

        // icon locations
        DirectoryFieldEditor iconLocationField = new DirectoryFieldEditor(
                DecoratorPreferences.NODE_ICON_LOCATION,
                NODE_ICONS_LOCATION_LABEL, getFieldEditorParent() );
        iconLocationField.setEmptyStringAllowed( true );
        iconLocationField.setErrorMessage( NODE_ICONS_LOCATION_ERROR );
        addField( iconLocationField, ICON_LOCATION_NOTE );

        // node icon filename properties
        StringFieldEditor iconPropertyNameField = new StringFieldEditor(
                DecoratorPreferences.NODE_ICON_PROPERTY_NAMES,
View Full Code Here


                validate();
            };
        } );

        urlField = new DirectoryFieldEditor( Preferences.DATABASE_LOCATION, "URI *", nameGroup );
        urlField.getTextControl( nameGroup ).addKeyListener( new KeyListener()
        {

            @Override
            public void keyReleased( KeyEvent arg0 )
View Full Code Here

  /* (non-Javadoc)
   * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
   */
  protected void createFieldEditors() {
    addField(new DirectoryFieldEditor(Activator.DOWNLOAD_PATH_PREFERENCE, Messages.getString("DownloadPreferencePage_SAVE_FILES_FIELD_EDITOR_TEXT"), getFieldEditorParent())); //$NON-NLS-1$
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.preference.DirectoryFieldEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.