public final class ProjectPropertiesDialog
extends java.lang.Object
addPanel(oracle.ide.panels.Navigable) method.The best way to register a panel with the ProjectPropertiesDialog is through the extension manifest, using "/Project" as the parent-refid of the page. Sample:
It is important for the parent-refid value to begin with a leading slash in order to get picked up by the extension manifest processing.oracle.killerapp.coolfeature.CoolFeaturePanel
| Modifier and Type | Method and Description |
|---|---|
static void |
addPanel(Navigable navigable)
Registers the specified
Navigable with the ProjectPropertiesDialog as one of the panels to show in the project
properties dialog. |
static void |
showDialog(Context context,
java.awt.Frame parent,
Project project,
java.lang.String[] selectionPath)
Opens the Project Properties dialog for editing the specified
Project , using the specified Frame as the parent
and setting the dialog's initially selected panel to the one
specified by the selectionPath. |
static void |
showDialog(Context context,
Project project)
Opens the Project Properties dialog for editing the specified
Project, using the IDE's main window as the parent frame. |
static void |
showDialog(java.awt.Frame parent,
Project project,
java.lang.String[] selectionPath)
Deprecated.
since 11.0. Use
showDialog(Context,Frame,Project,String[]). |
static void |
showDialog(Project project)
Deprecated.
since 11.0. Use
showDialog(Context,Project). |
public static void addPanel(Navigable navigable)
Navigable with the ProjectPropertiesDialog as one of the panels to show in the project
properties dialog.public static void showDialog(Context context, Project project)
Project, using the IDE's main window as the parent frame.context - the context in which to invoke the dialog. If null, a
default context will be created.project - the project to edit. Must not be null.public static void showDialog(Project project)
showDialog(Context,Project).public static void showDialog(Context context, java.awt.Frame parent, Project project, java.lang.String[] selectionPath)
Project , using the specified Frame as the parent
and setting the dialog's initially selected panel to the one
specified by the selectionPath. Each item in the
selection path array should be the string label of a node in the
tree. So if you want to select the "Options" node in the following
tree:
- General
- Compiler
- Java
- Options
- Working Sets
specify a selection path of:
{ "Compiler", "Java", "Options" }.context - context in which to invoke the dialog. If null is specifiedparent - project - selectionPath - public static void showDialog(java.awt.Frame parent,
Project project,
java.lang.String[] selectionPath)
showDialog(Context,Frame,Project,String[]).Project , using the specified Frame as the parent
and setting the dialog's initially selected panel to the one
specified by the selectionPath. Each item in the
selection path array should be the string label of a node in the
tree. So if you want to select the "Options" node in the following
tree:
- General
- Compiler
- Java
- Options
- Working Sets
specify a selection path of:
{ "Compiler", "Java", "Options" }.