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

java.lang.Object
  extended by com.ibm.designer.domino.xsp.api.panels.PanelExtraData
All Implemented Interfaces:
IPanelExtraData

public class PanelExtraData
extends java.lang.Object
implements IPanelExtraData

A basic implementation of com.ibm.designer.domino.xsp.api.panels.IPanelExtraData


Constructor Summary
PanelExtraData()
           
 
Method Summary
 DesignerProject getDesignerProject()
          Returns the designer project for this panel.
 org.w3c.dom.Document getDocument()
          Return the document.
 org.eclipse.ui.IWorkbenchPart getHostWorkbenchPart()
          Returns the current properties view.
 org.w3c.dom.Node getNode()
          Returns the dom node representing this selection.
 org.eclipse.ui.IWorkbenchPart getWorkbenchPart()
          Return the workbench part.
 void setDesignerProject(DesignerProject proj)
          The DesignerProject that the current XPage belongs to.
 void setDocument(org.w3c.dom.Document doc)
          Sets the DOM Document that is currently being edited in the XPages editor.
 void setHostWorkbenchPart(org.eclipse.ui.IWorkbenchPart part)
          Sets the host workbench part (typically the properties view).
 void setNode(org.w3c.dom.Node node)
          Sets the currently selected node in the XPages Editor.
 void setWorkbenchPart(org.eclipse.ui.IWorkbenchPart part)
          Typically the same as the host workbench part..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelExtraData

public PanelExtraData()
Method Detail

getNode

public org.w3c.dom.Node getNode()
Description copied from interface: IPanelExtraData
Returns the dom node representing this selection.

Specified by:
getNode in interface IPanelExtraData
Returns:
returns a DOM node

setNode

public void setNode(org.w3c.dom.Node node)
Sets the currently selected node in the XPages Editor.

Parameters:
node -

setDocument

public void setDocument(org.w3c.dom.Document doc)
Sets the DOM Document that is currently being edited in the XPages editor.

Parameters:
doc -

setWorkbenchPart

public void setWorkbenchPart(org.eclipse.ui.IWorkbenchPart part)
Typically the same as the host workbench part..

Parameters:
part -

setDesignerProject

public void setDesignerProject(DesignerProject proj)
The DesignerProject that the current XPage belongs to.

Parameters:
proj -

getDesignerProject

public DesignerProject getDesignerProject()
Description copied from interface: IPanelExtraData
Returns the designer project for this panel.

Specified by:
getDesignerProject in interface IPanelExtraData
Returns:
returns an object that describes the current db

getDocument

public org.w3c.dom.Document getDocument()
Description copied from interface: IPanelExtraData
Return the document.

Specified by:
getDocument in interface IPanelExtraData
Returns:
returns the DOM Document that represents the current page

getWorkbenchPart

public org.eclipse.ui.IWorkbenchPart getWorkbenchPart()
Description copied from interface: IPanelExtraData
Return the workbench part.

Specified by:
getWorkbenchPart in interface IPanelExtraData
Returns:
Returns either the current properties view or current XPage editor depending on the implementation

getHostWorkbenchPart

public org.eclipse.ui.IWorkbenchPart getHostWorkbenchPart()
Description copied from interface: IPanelExtraData
Returns the current properties view.

Specified by:
getHostWorkbenchPart in interface IPanelExtraData
Returns:
the workbench part that host this panel

setHostWorkbenchPart

public void setHostWorkbenchPart(org.eclipse.ui.IWorkbenchPart part)
Sets the host workbench part (typically the properties view).

Parameters:
part -