|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.model.panels.ProjectPropertiesDialog
public final class ProjectPropertiesDialog
This class represents the Project Properties dialog. Extensions can register top-level panels to be displayed in the dialog via the 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:
<extension xmlns="http://jcp.org/jsr/198/extension-manifest" id="O__extension_id__" version="@@extension.version@@" esdk-version="1.0" rsbundle-class="oracle.killerapp.coolfeature.res.Resource"> <hooks> <settings-ui-hook xmlns="http://xmlns.oracle.com/ide/extension"> <page id="coolFeaturePanel" parent-refid="O_Project"> <traversable-class>oracle.killerapp.coolfeature.CoolFeaturePanel</traversable-class> </page> </settings-ui-hook> </hooks> </extension>
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.
Method Summary | |
---|---|
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) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 Setsspecify 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 Setsspecify a selection path of:
{ "Compiler", "Java", "Options" }
.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |