Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.DirectoryFieldEditor


      "Web editors (Eclipse WTP's HTML, XML, XSL and CSS; Aptana's CSS editor).\n" +
      "For CSS editor, you can specify 'close_css_brace' variable \n" +
      "(see Variable section) with the value that will be automatically \n" +
      "inserted instead of closing brace of CSS rule defition.", getFieldEditorParent()));
   
    addField(new DirectoryFieldEditor(
      PreferenceConstants.P_EXTENSIONS_PATH,
      "E&xtensions path",
      getFieldEditorParent()));
   
  }
View Full Code Here


    updateLaunchConfigurationDialog();
  }
   
    private void createCGIRootDirectoryGroup(Composite parent)
    {      
        fCGIRootDir = new DirectoryFieldEditor(
                "",
                "CGI &Root Directory:",
                parent);
        fCGIRootDir.fillIntoGrid(parent, 3);
        fCGIRootDir.setPropertyChangeListener(this);
View Full Code Here

        });
    }

    private void createHTMLRootDirectoryGroup(Composite parent)
    {      
        fHTMLRootDir = new DirectoryFieldEditor(
                "",
                "&HTML Root Directory:",
                parent);
        fHTMLRootDir.fillIntoGrid(parent, 3);
        fHTMLRootDir.setPropertyChangeListener(this);
View Full Code Here

    }

    @Override
    public void createFieldEditors()
    {
        dirEditor = new DirectoryFieldEditor("dir", "Directory:", getFieldEditorParent());
        addField(dirEditor);
        addField(new BooleanFieldEditor("recurse", "Recurse:", getFieldEditorParent()));
    }
View Full Code Here

        Composite dirComp = new Composite(comp, SWT.NONE);
        GridData data = new GridData();
        data.widthHint = 400;
        dirComp.setLayoutData(data);

        dirFE = new DirectoryFieldEditor(
                Labels.getString("FinishPage.output"), Labels.getString("FinishPage.chooseDir"), dirComp); //$NON-NLS-1$ //$NON-NLS-2$
        dirFE.setStringValue(controller.getConfig().getString(Config.OUTPUT_STATUS_DIR));

        setControl(comp);
    }
View Full Code Here

        Composite dirComp = new Composite(comp, SWT.NONE);
        GridData data = new GridData();
        data.widthHint = 400;
        dirComp.setLayoutData(data);

        dirFE = new DirectoryFieldEditor(Labels.getString("FinishPage.output"), Labels.getString("FinishPage.chooseDir"), dirComp); //$NON-NLS-1$ //$NON-NLS-2$
        dirFE.setStringValue(controller.getConfig().getString(Config.OUTPUT_STATUS_DIR));

        hook_createControl(comp);

        setControl(comp);
View Full Code Here

   * GUI blocks needed to manipulate various types of preferences. Each field
   * editor knows how to save and restore itself.
   */
  @Override
  public void createFieldEditors() {
    addField(new DirectoryFieldEditor(PreferenceConstants.P_PATH,
        "&Hadoop main directory:", getFieldEditorParent()));

  }
View Full Code Here

    @Override
    public void createFieldEditors()
    {
        createField( urlEditor = new StringFieldEditor( "url", "URL:", getFieldEditorParent() ) );
        createField( cacheEditor = new DirectoryFieldEditor( "cache", "Cache:", getFieldEditorParent() ) );
        addField( new BooleanFieldEditor( "inmemory", "In Memory:", getFieldEditorParent() ) );
    }
View Full Code Here

   
    private void createFileEditor( Composite parent ) {
    Composite filePanel = new Composite(parent, SWT.NONE);
    filePanel.setLayout(new GridLayout(1, false));
    filePanel.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
        editor = new DirectoryFieldEditor("directorySelect",
            Messages.ExportSelectionPage_Destination, filePanel){
            {
                setValidateStrategy( VALIDATE_ON_KEY_STROKE );
                setEmptyStringAllowed(false);               
            }
View Full Code Here

        GridData gd = new GridData(SWT.LEFT, SWT.NONE, false, false);
        gd.widthHint = 100;
        gd.horizontalSpan = 2;
        textControl.setLayoutData(gd);

        projectDirectoryEditor = new DirectoryFieldEditor("newproject.directory",
                Messages.NewProjectWizardPage_label_projectDir, composite) {
            protected boolean doCheckState() {
                return validate();
            }
        };
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.