com.plumtree.portalpages.admin.editors.portlet
Class PPluginDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.uiinfrastructure.editor.EditorDP
          extended by com.plumtree.portalpages.admin.editors.portlet.PPluginDP
All Implemented Interfaces:
IDisplayPage, IMVCObject
Direct Known Subclasses:
MainDP, PreCreateDP

public abstract class PPluginDP
extends EditorDP

Author:
adolfoc This class is used to automatically identify and display the appropriate views based on the list of views in the PortletData This should help avoid mistakes with forgetting to display javascript and missing spacers, etc.

Field Summary
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
m_asOwner
 
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormDP
GET, HTMLFORM_NAME, JAVASCRIPT_SETUP_FOR_SUBMIT_TO_CONTROL, JAVASCRIPT_SUBMIT_FORM, JAVASCRIPT_SUBMIT_TO_CONTROL, MULTIPART_ENCODING, POST
 
Constructor Summary
PPluginDP()
           
 
Method Summary
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          Display the Javascripts for the Views.
abstract  XPArrayList GetOrderedViewList(int nPMode)
          Returns an ordered list of the views for this page, in this mode.
abstract  java.lang.String GetPluginHelpTopic()
          Returns the name of the Help Topic to be used for this page.
 boolean IsEnabled(int nPMode, java.lang.String strViewName)
          Determines whether a specific view is enabled in the suggested mode.
 HTMLElement PageDisplay()
          Returns the HTML for that Page.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
AddScriptToHead, CreateContentTable, CreateLeftNavBar, DisplayHTMLBeforeForm, GetEditorHeaderViewName, GetFormTitle, GetHTMLBelowSubHeader, GetLeftNavString, GetName, GetOwner, GetPageTitle, Init, SetContentTableCellSpacing
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, Display, DisplayForm, DisplayHTMLAfterForm, DisplayHTMLinHEAD, DisplayJavascript, Get508RepostURL, GetCloseOnCancel, GetFormPageType, GetOnLoad, GetRepostControlName, GetRepostTypeIsPost, GetStatusViewEnabled, GetStatusViewRepostValues, GetUseJavascript, GetWindowFocusEnabled, InsertJavascriptBeforeFormSubmit, PartialContentDisplay, RemoveFromValidationFunction, SetMultiPartEncoding, SetShow508FormFooter, SetStatusViewEnabled, SetStatusViewRepostValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PPluginDP

public PPluginDP()
Method Detail

GetPluginHelpTopic

public abstract java.lang.String GetPluginHelpTopic()
Returns the name of the Help Topic to be used for this page.

Returns:

GetOrderedViewList

public abstract XPArrayList GetOrderedViewList(int nPMode)
Returns an ordered list of the views for this page, in this mode.


IsEnabled

public boolean IsEnabled(int nPMode,
                         java.lang.String strViewName)
Determines whether a specific view is enabled in the suggested mode.


PageDisplay

public HTMLElement PageDisplay()
Description copied from class: EditorDP
Returns the HTML for that Page.

Overrides:
PageDisplay in class EditorDP
Returns:
HTMLElement
See Also:
AFormDP.PageDisplay()

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
Description copied from class: EditorDP
Display the Javascripts for the Views.

Overrides:
DisplayJavaScriptFromChild in class EditorDP
Returns:
HTMLScriptCollection
See Also:
AFormDP.DisplayJavaScriptFromChild()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.