|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.designer.domino.xsp.registry.DesignerExtensionUtil
public class DesignerExtensionUtil
A utility class that allows Domino Designer to retrieve component/property information from the FacesRegistry.
Constructor Summary | |
---|---|
DesignerExtensionUtil()
|
Method Summary | |
---|---|
static void |
dump(DesignerExtension ext,
java.lang.StringBuffer buf,
int level)
Debug method - not part of the official API. |
static java.lang.String |
findPropertyCategoryLabelFromId(java.lang.String categoryId)
This should only be used by the parser for the property designer-extension. |
java.lang.String |
getComplexCategory(FacesDefinition def)
If the argument is a FacesComplexDefinition and its ComplexDesignerExtension is not null , returns its categoryId, else returns null . |
static ComplexDesignerExtension |
getComplexExtension(FacesComplexDefinition node)
Returns the design time information relating to the provided FacesComplexDefinition (e.g. |
static ComponentDesignerExtension |
getComponentExtension(FacesComponentDefinition node)
Returns the design time information relating to the provided FacesComponentDefinition (custom control). |
static CompositeComponentDesignerExtension |
getCompositeComponentExtension(FacesCompositeComponentDefinition node)
|
static DefinitionDesignerExtension |
getDefinitionExtension(FacesDefinition node)
Returns the design time information relating to the provided FacesDefinition (component). |
static DesignerExtension |
getExtension(FacesExtensibleNode node)
Returns the basic DesignerExtension information relating to the specified registry node. |
static java.lang.String |
getPropertyCategoryId(FacesDefinition def,
FacesProperty property)
The unlocalized category ID. |
static java.lang.String |
getPropertyCategoryLabel(FacesDefinition def,
FacesProperty property)
Provides the localized property category. |
static PropertyDesignerExtension |
getPropertyExtension(FacesProperty property)
Returns the design time information relating to the provided FacesProperty (property). |
static java.lang.String |
getSelectedEvent(FacesDefinition node)
Returns the name of event associated with the provided component that should be selected by defualt in the Events view in Domino Designer. |
static java.lang.String |
getSinceVersion(FacesDefinition def,
FacesProperty prop)
Returns when the property or tag was introduced. |
static boolean |
isInPalette(FacesComponentDefinition def)
Returns whether or not the provided component should be visible in the XPages editor's palette. |
static boolean |
isVisible(FacesDefinition node)
Returns whether or not the provided component should be visible within the tooling. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DesignerExtensionUtil()
Method Detail |
---|
public static PropertyDesignerExtension getPropertyExtension(FacesProperty property)
property
- the FacesProperty that is being inspected
FacesProperty
public static DefinitionDesignerExtension getDefinitionExtension(FacesDefinition node)
node
- the FacesDefinition that is being inspected
FacesDefinition
public static ComponentDesignerExtension getComponentExtension(FacesComponentDefinition node)
node
- the FacesComponentDefinition that is being inspected
public static CompositeComponentDesignerExtension getCompositeComponentExtension(FacesCompositeComponentDefinition node)
node
-
public static ComplexDesignerExtension getComplexExtension(FacesComplexDefinition node)
node
- the FacesComplexDefinition that is being inspected.
public static DesignerExtension getExtension(FacesExtensibleNode node)
node
- the FacesExtensibleNode that is being inspected.
public static void dump(DesignerExtension ext, java.lang.StringBuffer buf, int level)
ext
- buf
- level
- public static java.lang.String getPropertyCategoryLabel(FacesDefinition def, FacesProperty property)
PropertyDesignerExtension.getCategoryLabel()
because it provides a default category for composite-component properties.
def
- if a category is not provided for the property, then the component's category will be returnedproperty
- if a category is not provided for the property, then the component's category will be returned
public static java.lang.String getPropertyCategoryId(FacesDefinition def, FacesProperty property)
PropertyDesignerExtension.getCategoryId()
because it provides a default category for composite-component properties.
def
- if a category is not provided for the property, then the component's category will be returnedproperty
- if a category is not provided for the property, then the component's category will be returned
public static java.lang.String findPropertyCategoryLabelFromId(java.lang.String categoryId)
categoryId
-
public static boolean isVisible(FacesDefinition node)
node
- the component whose visibility is being tested
public static boolean isInPalette(FacesComponentDefinition def)
def
- the component whose palette visibility is being sought
public java.lang.String getComplexCategory(FacesDefinition def)
null
, returns its categoryId, else returns null
.
def
- a definition of a faces component
public static java.lang.String getSelectedEvent(FacesDefinition node)
node
- the node whose events are being inspected
public static java.lang.String getSinceVersion(FacesDefinition def, FacesProperty prop)
def
- the tag whose since verion will be returned if a since version does not exist for the
propertyprop
- the property whose 'since' version is being sought
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |