Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.StringFieldEditor


        FacadeComposite.setLayout( layout );
        GridData gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL);
        FacadeComposite.setLayoutData(gridData);
        FacadeComposite.setText("Fa�ade URL");
   
    addField(new StringFieldEditor("CFUnitFacadeLocation", "http://", FacadeComposite));
   
    Label l1 = new Label(FacadeComposite, SWT.NONE);
    l1.setText("");
   
    Label l2 = new Label(FacadeComposite, SWT.NONE);
View Full Code Here


  }

  private void addComponentRootSection(Composite parent){
    Composite composite = createDefaultComposite(parent);
    //PROJECT_COMPONENT_ROOT_PROP
    projectComponentRootField = new StringFieldEditor(PROJECT_COMPONENT_ROOT_PROP,PROJECT_COMPONENT_ROOT,composite);
   
    try {
      QualifiedName propertyName = new QualifiedName("", PROJECT_COMPONENT_ROOT_PROP);
      String componentRoot = ((IResource)getElement()).getPersistentProperty(propertyName);
      if(componentRoot == null || componentRoot == ""){
View Full Code Here

  private void addURLSection(Composite parent) {
    Composite composite = createDefaultComposite(parent);


    // Project URL field
    projectURLField = new StringFieldEditor("projectURL",PROJECT_URL_TITLE,composite);
    try {
      QualifiedName propertyName = new QualifiedName("", PROJECT_URL_PROPERTY);
      String projectURL = ((IResource) getElement()).getPersistentProperty(propertyName);
      if (projectURL == null || projectURL == "") {
        projectURL = DEFAULT_PROJECT_URL;
View Full Code Here

  private void addHelpSection(Composite parent) {
    Composite composite = createDefaultComposite(parent);


    // Project URL field
    projectHelpURLField = new StringFieldEditor("projectHelpURL",PROJECT_HELP_TITLE,composite);
    try {
      QualifiedName propertyName = new QualifiedName("", PROJECT_HELP_PROPERTY);
      String projectHelpURL = ((IResource) getElement()).getPersistentProperty(propertyName);
      if (projectHelpURL == null || projectHelpURL == "") {
        projectHelpURL = propertyManager.defaultHelpURL();
View Full Code Here

      addField(new BooleanFieldEditor(AutoIndentPreferenceConstants.P_AUTOINSERT, "Automatically insert suggestion if only one",
          getFieldEditorParent()));
      addField(new BooleanFieldEditor(AutoIndentPreferenceConstants.P_AUTOACTIVATION, "Automatically activate when chars detected",
          getFieldEditorParent()));
    addField(new StringFieldEditor(AutoIndentPreferenceConstants.P_AUTOACTIVATION_CHARS, "Auto-activation chars", getFieldEditorParent()));
    addField(new BooleanFieldEditor(AutoIndentPreferenceConstants.P_SUGGEST_TAGS, "Suggest CFML Tags", getFieldEditorParent()));
    addField(new BooleanFieldEditor(AutoIndentPreferenceConstants.P_SUGGEST_FUNCTIONS, "Suggest Functions", getFieldEditorParent()));
    addField(new BooleanFieldEditor(AutoIndentPreferenceConstants.P_SUGGEST_SCOPES, "Suggest Scopes", getFieldEditorParent()));
    addField(new BooleanFieldEditor(AutoIndentPreferenceConstants.P_SUGGEST_VARIABLES, "Suggest Variables", getFieldEditorParent()));
    addField(new BooleanFieldEditor(AutoIndentPreferenceConstants.P_SUGGEST_HTML, "Suggest HMTL Tags", getFieldEditorParent()));
View Full Code Here

 
  public void createFieldEditors()
  {
    addField(new BooleanFieldEditor(ScribblePadPreferenceConstants.P_SCRIBBLE_CLEAR_ON_LOAD, "Clear scribble pad every time you launch it", getFieldEditorParent()));
    addField(new BooleanFieldEditor(ScribblePadPreferenceConstants.P_SCRIBBLE_LOAD_BROWSER, "Automatically load and set the URL for the browser view.", getFieldEditorParent()));
    addField(new StringFieldEditor(ScribblePadPreferenceConstants.P_SCRIBBLE_PAD_FILE,"File name to use as scribble pad.",getFieldEditorParent()));
    addField(new StringFieldEditor(ScribblePadPreferenceConstants.P_SCRIBBLE_PROJECT_NAME,"Project to use for scribble pad.",getFieldEditorParent()));
    addField(new StringFieldEditor(ScribblePadPreferenceConstants.P_SCRIBBLE_URL,"URL to scribble file.",getFieldEditorParent()));
  }
View Full Code Here

    cfmlpm = SnippetPlugin.getDefault().getPreferenceManager();
  }

  protected void createFieldEditors() {
    addField(new DirectoryFieldEditor(CFMLPreferenceConstants.P_SNIPPETS_PATH, "Default snippets directory", getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL1,"URL 1",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL2,"URL 2",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL3,"URL 3",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL4,"URL 4",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL5,"URL 5",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL6,"URL 6",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL7,"URL 7",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL8,"URL 8",getFieldEditorParent()));

  }
View Full Code Here

    setDescription("These preferences will allow you to customize the what SnipEx servers will be aggregated in your snippet view.\n\n");
    cfmlpm = new CFMLPreferenceManager();
  }
 
  protected void createFieldEditors() {
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL1,"URL 1",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL2,"URL 2",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL3,"URL 3",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL4,"URL 4",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL5,"URL 5",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL6,"URL 6",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL7,"URL 7",getFieldEditorParent()));
    addField(new StringFieldEditor(SnipExPreferenceConstants.P_SNIPEX_URL8,"URL 8",getFieldEditorParent()));

  }
View Full Code Here

        "Primary Browser", getFieldEditorParent());
    secondaryBrowserField = new FileFieldEditorSpecial(BrowserPreferenceConstants.P_SECONDARY_BROWSER_PATH,
        "Secondary Browser", getFieldEditorParent());
    addField(primaryBrowserField);
    addField(secondaryBrowserField);
    addField(new StringFieldEditor(BrowserPreferenceConstants.P_TESTCASE_QUERYSTRING, "Querystring for TestCases",
        getFieldEditorParent()));
  }
View Full Code Here

  }
 
  public void createFieldEditors() {
    try {
    addField(new BooleanFieldEditor(TextSelectionPreferenceConstants.P_MARK_OCCURRENCES, "Enable Occurrence Marking", getFieldEditorParent()));
    addField(new StringFieldEditor(TextSelectionPreferenceConstants.P_PART_OF_WORD_CHARS, "Default \"Part of word\" chars when double-clicking on text", getFieldEditorParent()));
    addField(new StringFieldEditor(TextSelectionPreferenceConstants.P_BREAK_WORD_CHARS, "Default \"Break word at\" chars when double-clicking on text", getFieldEditorParent()));
    addField(new StringFieldEditor(TextSelectionPreferenceConstants.P_PART_OF_WORD_CHARS_ALT, "\"Part of word\" chars when double-clicking on text holding alt", getFieldEditorParent()));
    addField(new StringFieldEditor(TextSelectionPreferenceConstants.P_BREAK_WORD_CHARS_ALT, "\"Break word at\" chars when double-clicking on text holding alt", getFieldEditorParent()));
    addField(new StringFieldEditor(TextSelectionPreferenceConstants.P_PART_OF_WORD_CHARS_SHIFT, "\"Part of word\" chars when double-clicking on text holding shift", getFieldEditorParent()));
    addField(new StringFieldEditor(TextSelectionPreferenceConstants.P_BREAK_WORD_CHARS_SHIFT, "\"Break word at\" chars when double-clicking on text holding shift", getFieldEditorParent()));
    }
    catch (Exception e){
      e.printStackTrace();
    }
  }
View Full Code Here

TOP

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

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.