|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.designer.domino.xsp.api.panels.XPagesAttributesProvider
public class XPagesAttributesProvider
A provider class that gets called each time selection changes within the XPages
editor. Once selection is changed the XPages attributes view framework queries
a registry for a AttributesProvider for the current selection. If a custom provider
is not provided a new instance of com.ibm.designer.domino.xsp.api.panels.XPagesAttributesProvider
will be provided as the AttributeProvider.
The AttributesProvider is responsible for returning an array of XPagesAVPage for
the given selection.
Constructor Summary | |
---|---|
XPagesAttributesProvider()
|
Method Summary | |
---|---|
protected XPagesAVPage[] |
doGetAVPagesForTag(XPagesKey key,
XPagesAVFolder folder)
Uses the XPages property panel infrastructure to load the properties panels for a given XPages tag (key). Clients intending on providing their own XPagesAttributesProvider should override this method in order to get properties panels to load dynamically based on the contents of a tag rather than the tag name. |
protected XPagesAVPage |
getAllPropertiesTab(XPagesAVFolder folder)
Creates a new instance of the All Properties tab. |
java.lang.String |
getCategoryID()
Returns the category id for the current properties panels |
org.w3c.dom.Node |
getNode()
Returns the currently selected Node. |
XPagesAVPage[] |
getXPagesAVPages(XPagesAVFolder folder)
Returns an array of pages that are to be used as tabs in the properties view for XPages. |
void |
setIsCustomControl(boolean b)
Sets whether or not the current selection is on a Custom Control. |
void |
setIsMultiSelect(boolean b)
Sets whether or not the current selection contains multiple items. |
void |
setNode(org.w3c.dom.Node n)
Sets the current node that is being selected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPagesAttributesProvider()
Method Detail |
---|
public void setIsCustomControl(boolean b)
b
- true if a custom control is currently selectedpublic void setIsMultiSelect(boolean b)
b
- true if more than one item is selected.public void setNode(org.w3c.dom.Node n)
n
- the currently selected nodepublic java.lang.String getCategoryID()
getCategoryID
in interface com.ibm.designer.domino.xsp.internal.panels.attrview.IXFacesAttributesProvider
public org.w3c.dom.Node getNode()
getNode
in interface com.ibm.designer.domino.xsp.internal.panels.attrview.IXFacesAttributesProvider
public XPagesAVPage[] getXPagesAVPages(XPagesAVFolder folder)
getXPagesAVPages
in interface com.ibm.designer.domino.xsp.internal.panels.attrview.IXFacesAttributesProvider
folder
- the XPagesAVFolder object that will be used as a parent for the returned XPagesAVPages
protected XPagesAVPage getAllPropertiesTab(XPagesAVFolder folder)
folder
- the attributes folder in which the All Properties tab is to appear.
protected XPagesAVPage[] doGetAVPagesForTag(XPagesKey key, XPagesAVFolder folder)
key
- the XPages tag that the user wishes to loadfolder
- the parent folder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |