com.ibm.designer.domino.xsp.api.panels
Class XPagesAVPage

java.lang.Object
  extended by com.ibm.etools.attrview.sdk.AVPage
      extended by com.ibm.etools.xve.attrview.XVEAVPage
          extended by com.ibm.designer.domino.xsp.api.panels.XPagesAVPage

public abstract class XPagesAVPage
extends com.ibm.etools.xve.attrview.XVEAVPage

A single 'tab' in the Attributes View. Clients should not need to extends this class. Creation of new instances of this class are typically taken care of internally by the com.ibm.designer.domino.xsp.api.panels.AbstractPanelsFactory.


Constructor Summary
XPagesAVPage(com.ibm.etools.attrview.sdk.AVFolder folder)
          Creates a new instance of this class.
XPagesAVPage(com.ibm.etools.attrview.sdk.AVFolder folder, java.lang.String name)
          Creates a new instance of this class with the given tab name.
XPagesAVPage(com.ibm.etools.attrview.sdk.AVFolder folder, java.lang.String name, org.eclipse.swt.graphics.Image image)
          Creates a new instance of this class with the given tab name and image.
 
Method Summary
protected  void create()
           
protected abstract  org.eclipse.swt.widgets.Control createPanelContents(org.eclipse.swt.widgets.Composite parent)
          Creates the contents of the attributes view page.
 void dispose()
           
protected  DesignerProject getDesignerProject()
          Returns an object which describes the current database (Application).
protected  org.w3c.dom.Node getFacesNode()
           
protected  FacesRegistry getFacesRegistry()
           
 java.lang.String getHelpId()
           
 boolean isIndented()
           
 boolean isLazyCreated()
          Returns whether or not the page is to be lazy loaded.
 void setHelpId(java.lang.String contextId)
           
 void setIndented(boolean indented)
           
 void setLazyCreated(boolean lazyCreated)
          Sets whether ot not the page is to be lazy loaded.
 void setNode(org.w3c.dom.Node node)
          Sets the node upon which the property panel will operate.
 
Methods inherited from class com.ibm.etools.xve.attrview.XVEAVPage
addDataComponent, addPairComponent, addPartComponent, alignWidth, alignWidth, dispose, getDataList, getEditorContext, getNodeListPicker, getNodeListPicker, getPageDescriptor, getPairList, getPartList, getSelection, launchCommand, reset, setEditorContext, setPageDescriptor, updateControl, updateData
 
Methods inherited from class com.ibm.etools.attrview.sdk.AVPage
alignWidth, createComposite, createComposite, createComposite, createComposite, createContents, dispose, dispose, dispose, fireValueChange, getAttributesView, getFolder, getImage, getModel, getName, getPageContainer, getRootContainer, getStatusReporter, getWidgetFactory, postCreate, preCreate, setFolder, setHorizontalIndent, setImage, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPagesAVPage

public XPagesAVPage(com.ibm.etools.attrview.sdk.AVFolder folder)
Creates a new instance of this class.

Parameters:
folder - the parent attributes view folder

XPagesAVPage

public XPagesAVPage(com.ibm.etools.attrview.sdk.AVFolder folder,
                    java.lang.String name)
Creates a new instance of this class with the given tab name.

Parameters:
folder - the parent attributes view folder
name - the name of the page that is to appear in the tab in the attributes view

XPagesAVPage

public XPagesAVPage(com.ibm.etools.attrview.sdk.AVFolder folder,
                    java.lang.String name,
                    org.eclipse.swt.graphics.Image image)
Creates a new instance of this class with the given tab name and image.

Parameters:
folder - the parent attributes view folder
name - the name of the page that is to appear in the tab in the attributes view
image - the image that is to appear with this tab
Method Detail

setNode

public void setNode(org.w3c.dom.Node node)
Sets the node upon which the property panel will operate.

Parameters:
node -

dispose

public void dispose()
Overrides:
dispose in class com.ibm.etools.xve.attrview.XVEAVPage

getDesignerProject

protected DesignerProject getDesignerProject()
Returns an object which describes the current database (Application).

Returns:
returns the current db

getFacesRegistry

protected FacesRegistry getFacesRegistry()

create

protected final void create()
Specified by:
create in class com.ibm.etools.attrview.sdk.AVPage

createPanelContents

protected abstract org.eclipse.swt.widgets.Control createPanelContents(org.eclipse.swt.widgets.Composite parent)
Creates the contents of the attributes view page.

Parameters:
parent - a parent composite
Returns:
a control which will be set as the contents of the page

getFacesNode

protected org.w3c.dom.Node getFacesNode()

isIndented

public boolean isIndented()
Overrides:
isIndented in class com.ibm.etools.attrview.sdk.AVPage
Returns:
returns the indented flag.

setIndented

public void setIndented(boolean indented)
Parameters:
indented - Sets whether or not this AVPage should be indented.

isLazyCreated

public boolean isLazyCreated()
Returns whether or not the page is to be lazy loaded. Defaults to true.

Returns:
true if the page is to be lazy loaded

setLazyCreated

public void setLazyCreated(boolean lazyCreated)
Sets whether ot not the page is to be lazy loaded.

Parameters:
lazyCreated -

setHelpId

public void setHelpId(java.lang.String contextId)

getHelpId

public java.lang.String getHelpId()
Overrides:
getHelpId in class com.ibm.etools.attrview.sdk.AVPage