com.borland.jbuilder.designer
Class DesignerPropertyGroup

java.lang.Object
  |
  +--com.borland.jbuilder.designer.DesignerPropertyGroup
All Implemented Interfaces:
PropertyGroup

public class DesignerPropertyGroup
extends java.lang.Object
implements PropertyGroup

A DesignerPropertyGroup is a collection of property settings specific to Designers with which the properties system interacts.


Field Summary
static java.lang.String CATEGORY
           
static GlobalProperty DESIGN_TIME_CLASS_PATH
           
static GlobalBooleanProperty INSTANTIATE_THIS
           
static int PME_ALWAYS
           
static int PME_IFBEANINFO
           
static int PME_IFNOBEANINFO
           
static int PME_NEVER
           
static java.lang.String PME_OPT_ALWAYS
           
static java.lang.String PME_OPT_IFBEANINFO
           
static java.lang.String PME_OPT_IFNOBEANINFO
           
static java.lang.String PME_OPT_NEVER
           
static GlobalProperty PME_READ
           
static GlobalProperty PME_WRITE
           
static GlobalBooleanProperty PREFERRED_RESOURCE_STATE
           
 
Constructor Summary
DesignerPropertyGroup()
           
 
Method Summary
static Url[] getDesignTimeClassPath()
          Retrieves the application root file path.
 PropertyPageFactory getPageFactory(java.lang.Object topic)
          Retrieves the PropertyPageFactory instance capable of describing and creating the necessary PropertyPage.
static java.lang.String getProxy(java.lang.String className)
          Retrieves the proxy class to instantiate in place of the class with the given className.
 void initializeProperties()
          Initializes the properties group.
static void initOpenTool(byte majorVersion, byte minorVersion)
          Registers this property group with the properties system manager.
static int pmeOption(java.lang.String val)
          Translates a PME description string into its corresponding PME index.
static void registerPropertyEditors()
          Registers editors for this property group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CATEGORY

public static final java.lang.String CATEGORY

PME_OPT_NEVER

public static final java.lang.String PME_OPT_NEVER

PME_OPT_IFBEANINFO

public static final java.lang.String PME_OPT_IFBEANINFO

PME_OPT_IFNOBEANINFO

public static final java.lang.String PME_OPT_IFNOBEANINFO

PME_OPT_ALWAYS

public static final java.lang.String PME_OPT_ALWAYS

PME_NEVER

public static final int PME_NEVER

PME_IFBEANINFO

public static final int PME_IFBEANINFO

PME_IFNOBEANINFO

public static final int PME_IFNOBEANINFO

PME_ALWAYS

public static final int PME_ALWAYS

PREFERRED_RESOURCE_STATE

public static final GlobalBooleanProperty PREFERRED_RESOURCE_STATE

INSTANTIATE_THIS

public static final GlobalBooleanProperty INSTANTIATE_THIS

PME_READ

public static final GlobalProperty PME_READ

PME_WRITE

public static final GlobalProperty PME_WRITE

DESIGN_TIME_CLASS_PATH

public static final GlobalProperty DESIGN_TIME_CLASS_PATH
Constructor Detail

DesignerPropertyGroup

public DesignerPropertyGroup()
Method Detail

initOpenTool

public static void initOpenTool(byte majorVersion,
                                byte minorVersion)
Registers this property group with the properties system manager.

Parameters:
majorVersion - the major version of the OpenTools
minorVersion - the minor version of the OpenTools

getPageFactory

public PropertyPageFactory getPageFactory(java.lang.Object topic)

Retrieves the PropertyPageFactory instance capable of describing and creating the necessary PropertyPage.

Returns null in this implementation.

Specified by:
getPageFactory in interface PropertyGroup
Parameters:
topic - topic for property dialog, or null if global property settings are being displayed.
Returns:
null in this class implementation

initializeProperties

public void initializeProperties()

Initializes the properties group. This method just calls DesignerManager.getInstance() to make sure that an instance of DesignerManager is created.

This method will only be called if this DesignerPropertyGroup was registered during OpenTool initialization.

Specified by:
initializeProperties in interface PropertyGroup

getProxy

public static java.lang.String getProxy(java.lang.String className)

Retrieves the proxy class to instantiate in place of the class with the given className.

Parameters:
className - name of class for which the proxy is to be instantiated
Returns:
the proxy class to instantiate in place of the given class name, if the className is defined. Otherwise, returns null.

getDesignTimeClassPath

public static Url[] getDesignTimeClassPath()

Retrieves the application root file path.

Returns:
root file path in an Url array

registerPropertyEditors

public static void registerPropertyEditors()

Registers editors for this property group.


pmeOption

public static int pmeOption(java.lang.String val)

Translates a PME description string into its corresponding PME index.

Parameters:
val - PME description string
Returns:
integer index for given description string