Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.property
Class PropertyPageRegistry  view PropertyPageRegistry download PropertyPageRegistry.java

java.lang.Object
  extended byjavax.ide.Service
      extended byjavax.ide.property.PropertyPageRegistry

public abstract class PropertyPageRegistry
extends javax.ide.Service

The PropertyPageRegistry is the registry of information describing what extension specific property pages have been added to an IDE.

Extensions register property page information in the extension manifest using the property-pages-hook tag. The property pages hook allows extension to declare property pages for the IDE and project preferences. Extension use the property-page object-class tag to specify the object class for which the pages are declared. For example, if the pages are for a project, extension should specify javax.ide.model.Project as the object class. If the pages are for the IDE, extension should specify javax.ide.IDE as the object class. Pages registered for the project and IDE are shown when the project and IDE preference dialogs are displayed.

Extensions can also use this registry * to associate pages with any object class. Doing so makes them responsiblefor providing the graphical user interface to display these pages.

Propety pages are associated with an object class. In general, extension writers can define pages for the IDE and/or a project.


Field Summary
static java.lang.String IDE_CLASS_NAME
          Constant identifying the IDE class name.
static java.lang.String PROJECT_CLASS_NAME
          Constant identifying the project class name.
 
Fields inherited from class javax.ide.Service
 
Constructor Summary
PropertyPageRegistry()
           
 
Method Summary
 PropertyPage[] getIDEPropertyPages()
          Get the IDE property pages.
 PropertyPage[] getProjectPropertyPages()
          Get the project property pages.
static PropertyPageRegistry getPropertyPageRegistry()
          Get the property page registry implementation for this IDE.
abstract  PropertyPage[] getPropertyPages(java.lang.String objectClassName)
          Get the pages associated with the specified objectClassName.
 
Methods inherited from class javax.ide.Service
getService, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_CLASS_NAME

public static final java.lang.String PROJECT_CLASS_NAME
Constant identifying the project class name.

See Also:
Constant Field Values

IDE_CLASS_NAME

public static final java.lang.String IDE_CLASS_NAME
Constant identifying the IDE class name.

See Also:
Constant Field Values
Constructor Detail

PropertyPageRegistry

public PropertyPageRegistry()
Method Detail

getPropertyPages

public abstract PropertyPage[] getPropertyPages(java.lang.String objectClassName)
Get the pages associated with the specified objectClassName.


getProjectPropertyPages

public final PropertyPage[] getProjectPropertyPages()
Get the project property pages. This method just calls the getPropertyPages(java.lang.String) 55 method passing as argument PROJECT_CLASS_NAME 55 .


getIDEPropertyPages

public final PropertyPage[] getIDEPropertyPages()
Get the IDE property pages. This method just calls the getPropertyPages(java.lang.String) 55 method passing as argument IDE_CLASS_NAME 55 .


getPropertyPageRegistry

public static PropertyPageRegistry getPropertyPageRegistry()
Get the property page registry implementation for this IDE.