Class ContextForPartDialog

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
All Implemented Interfaces:
StandardStrings, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.widgets.Listener

public class ContextForPartDialog extends ResourcePickerDialog
The Class ContextForPartDialog.
  • Field Details

    • contextPath

      public String contextPath
      The context path.
  • Constructor Details

    • ContextForPartDialog

      public ContextForPartDialog(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.runtime.IAdaptable rootElement, XMLizable thingBeingEdited, org.eclipse.core.runtime.IPath aExcludeDescriptor, MultiPageEditor aEditor, String aInitialPath)
      Instantiates a new context for part dialog.
      Parameters:
      parentShell - the parent shell
      rootElement - the root element
      thingBeingEdited - the thing being edited
      aExcludeDescriptor - the a exclude descriptor
      aEditor - the a editor
      aInitialPath - the a initial path
  • Method Details

    • createDialogArea

      protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
      Overrides:
      createDialogArea in class ResourcePickerDialog
    • handleEvent

      public void handleEvent(org.eclipse.swt.widgets.Event event)
      Specified by:
      handleEvent in interface org.eclipse.swt.widgets.Listener
      Overrides:
      handleEvent in class ResourcePickerDialog
    • okPressed

      protected void okPressed()
      Overrides:
      okPressed in class org.eclipse.jface.dialogs.Dialog
    • enableOK

      public void enableOK()
      Description copied from class: AbstractDialog
      Enable OK.
      Overrides:
      enableOK in class ResourcePickerDialog