Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.model.panels
Class ProjectPropertiesDialog

java.lang.Object
  extended by oracle.ide.model.panels.ProjectPropertiesDialog

public final class ProjectPropertiesDialog
extends java.lang.Object

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:


  
    
      
        
          
          oracle.killerapp.coolfeature.CoolFeaturePanel
        
      
    
  

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

addPanel

public static void addPanel(Navigable navigable)
Registers the specified Navigable with the ProjectPropertiesDialog as one of the panels to show in the project properties dialog.


showDialog

public 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.

Parameters:
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.

showDialog

public static void showDialog(Project project)
Deprecated. since 11.0. Use showDialog(Context,Project).


showDialog

public 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. 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" }.

Parameters:
context - context in which to invoke the dialog. If null is specified
parent -
project -
selectionPath -

showDialog

public static void showDialog(java.awt.Frame parent,
                              Project project,
                              java.lang.String[] selectionPath)
Deprecated. since 11.0. Use showDialog(Context,Frame,Project,String[]).

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. 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" }.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.