Examples of addNewSection()


Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

   */
  private IDialogSettings getDialogSettings() {
    IDialogSettings settings= TextEditorPlugin.getDefault().getDialogSettings();
    fDialogSettings= settings.getSection(getClass().getName());
    if (fDialogSettings == null)
      fDialogSettings= settings.addNewSection(getClass().getName());
    return fDialogSettings;
  }
 
  /*
   * @see org.eclipse.jface.dialogs.Dialog#getDialogBoundsSettings()
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

   */
  private IDialogSettings getDialogSettings() {
    IDialogSettings settings= TextEditorPlugin.getDefault().getDialogSettings();
    fDialogSettings= settings.getSection(FindReplaceDialog.class.getName());
    if (fDialogSettings == null)
      fDialogSettings= settings.addNewSection(FindReplaceDialog.class.getName());
    return fDialogSettings;
  }

  /**
   * Initializes itself from the dialog settings with the same state
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

  /**
   * Clears all remembered information about hidden dialogs
   */
  public static void clearAllRememberedStates() {
    IDialogSettings settings= SSEUIPlugin.getDefault().getDialogSettings();
    settings.addNewSection(STORE_ID);
  }
}
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

     */
    private void initDialogSettings() {
      IDialogSettings ds = Activator.getDefault().getDialogSettings();
      dialogSettings = ds.getSection(DS_KEY);
      if(dialogSettings == null) {
        dialogSettings = ds.addNewSection(DS_KEY);
      }
    }
   
    /**
   * render Text Input Field for fix semantic text offset
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

     */
    private void initDialogSettings() {
      IDialogSettings ds = Activator.getDefault().getDialogSettings();
      dialogSettings = ds.getSection(DS_KEY);
      if(dialogSettings == null) {
        dialogSettings = ds.addNewSection(DS_KEY);
      }
    }
 
    /**
     * validate user inputs
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

   */
  private IDialogSettings getDialogSettings() {
    IDialogSettings settings= TextEditorPlugin.getDefault().getDialogSettings();
    fDialogSettings= settings.getSection(getClass().getName());
    if (fDialogSettings == null)
      fDialogSettings= settings.addNewSection(getClass().getName());
    return fDialogSettings;
  }

  /*
   * @see org.eclipse.jface.dialogs.Dialog#getDialogBoundsSettings()
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

   */
  private IDialogSettings getDialogSettings() {
    IDialogSettings settings= TextEditorPlugin.getDefault().getDialogSettings();
    fDialogSettings= settings.getSection(FindReplaceDialog.class.getName());
    if (fDialogSettings == null)
      fDialogSettings= settings.addNewSection(FindReplaceDialog.class.getName());
    return fDialogSettings;
  }

  /**
   * Initializes itself from the dialog settings with the same state
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

      pluginSettings = Activator.getDefault().getDialogSettings();     
    }
   
    dialogSettings = pluginSettings.getSection(getName());
    if(dialogSettings == null) {
      dialogSettings = pluginSettings.addNewSection(getName());
      pluginSettings.addSection(dialogSettings);
    }
  }

  /** Loads the input history from the dialog settings. */
 
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

    int historySize = Math
        .min(fPreviousSearchPatterns.size(), HISTORY_SIZE);
    s.put(STORE_HISTORY_SIZE, historySize);
    for (int i = 0; i < historySize; i++)
      fPreviousSearchPatterns.get(i).store(
          s.addNewSection(STORE_HISTORY + i));
  }

  private void statusMessage(boolean error, String message) {
    statusLabel.setText(message);
    if (error)
View Full Code Here

Examples of org.eclipse.jface.dialogs.IDialogSettings.addNewSection()

    IDialogSettings pageSettings = null;
    IDialogSettings dialogSettings = this.getDialogSettings();
    if (dialogSettings != null) {
      pageSettings = dialogSettings.getSection(PAGE_SETTINGS);
      if (pageSettings == null)
        pageSettings = dialogSettings.addNewSection(PAGE_SETTINGS);
      return pageSettings;
    }
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.