com.plumtree.portalpages.browsing.myportal.editpage
Class EditMyPortalPageDP

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.AFormDP
      extended by com.plumtree.uiinfrastructure.editor.EditorDP
          extended by com.plumtree.portalpages.browsing.myportal.editpage.EditMyPortalPageDP
All Implemented Interfaces:
IDisplayPage, IMVCObject

public class EditMyPortalPageDP
extends EditorDP

This is class is used to print out together the Views for the Edit Page Layout page of the Edit Page Editor.

Author:
MichaelD

Field Summary
protected  EditMyPortalPageAS m_asOwner
           
static java.lang.String STR_MVC_CLASS_NAME
          Object Name
 
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
EditMyPortalPageDP()
           
 
Method Summary
 HTMLElementCollection DisplayHTMLAfterForm()
          This is a method that classes extending this one can over write.
protected  HTMLScriptCollection DisplayJavaScriptFromChild()
          This is a helper method that all classes that inherit from PlumtreeDP need to implement.
protected  HTMLElement GetHTMLBelowSubHeader()
          Implement this method to add HTML below the sub header.
static int GetLayoutTableTop(boolean bIsCommunityEditPage, AActivitySpace asOwner)
          Adjust the number of pixels for the drag and drop based on the page type being edited and the language of the user.
 java.lang.String GetLeftNavString()
          Returns the String to display on the left navigation menu, linking to that page.
 java.lang.String GetName()
          Returns the Class name.
 void Init(AActivitySpace parent)
          Inits the class with the associated activity space passed in argument.
 HTMLElement PageDisplay()
          Returns the HTML for that Page.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorDP
AddScriptToHead, CreateContentTable, CreateLeftNavBar, DisplayHTMLBeforeForm, GetEditorHeaderViewName, GetFormTitle, GetOwner, GetPageTitle, SetContentTableCellSpacing
 
Methods inherited from class com.plumtree.uiinfrastructure.form.AFormDP
AddToValidationFunction, Display, DisplayForm, 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
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Object Name

See Also:
Constant Field Values

m_asOwner

protected EditMyPortalPageAS m_asOwner
Constructor Detail

EditMyPortalPageDP

public EditMyPortalPageDP()
Method Detail

GetLeftNavString

public java.lang.String GetLeftNavString()
Returns the String to display on the left navigation menu, linking to that page.

Specified by:
GetLeftNavString in class EditorDP
Returns:
String

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorDP
Returns:
String
See Also:
IMVCObject.GetName()

GetHTMLBelowSubHeader

protected HTMLElement GetHTMLBelowSubHeader()
Implement this method to add HTML below the sub header.

Overrides:
GetHTMLBelowSubHeader in class EditorDP
Returns:
HTMLElement
Throws:
HTMLException

PageDisplay

public HTMLElement PageDisplay()
Returns the HTML for that Page.

Overrides:
PageDisplay in class EditorDP
Returns:
HTMLElement
Throws:
HTMLException
See Also:
com.plumtree.uiinfrastructure.activityspace.AFormDP#PageDisplay()

DisplayJavaScriptFromChild

protected HTMLScriptCollection DisplayJavaScriptFromChild()
This is a helper method that all classes that inherit from PlumtreeDP need to implement. The method should add whatever HTML the child class wants to use the DisplayJavaScript and add it to the head.

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

DisplayHTMLAfterForm

public HTMLElementCollection DisplayHTMLAfterForm()
Description copied from class: AFormDP
This is a method that classes extending this one can over write. The HTML returned by that method will get printed out after the FORM tag E. g.: If you have other forms, like with portlets. Override this method to display HTML after the form.

Overrides:
DisplayHTMLAfterForm in class AFormDP
Returns:
HTMLElement

GetLayoutTableTop

public static int GetLayoutTableTop(boolean bIsCommunityEditPage,
                                    AActivitySpace asOwner)
Adjust the number of pixels for the drag and drop based on the page type being edited and the language of the user.

Parameters:
bIsCommunityEditPage -
asOwner -
Returns:
int

Init

public void Init(AActivitySpace parent)
Inits the class with the associated activity space passed in argument.

Specified by:
Init in interface IDisplayPage
Overrides:
Init in class EditorDP
Parameters:
parent -
See Also:
IDisplayPage.Init(AActivitySpace)



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