com.plumtree.portalpages.admin.editors.savedsearch
Class PortletSelectView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
              extended by com.plumtree.portalpages.admin.editors.savedsearch.PortletSelectView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class PortletSelectView
extends SelectPTObjectView

Author:
joseq The purpose of this class is to simply extend SelectPTObjectView to remove the delete button and use a different javascript when creating our objects -portlets. our portlets are auto-magically created and added to the list. Then portlet can then be edited via the edit links.

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
HTMLINPUT_TREEASID
 
Fields inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
HTMLBUTTON_DELETE, HTMLCHECKBOX_CHECKALL, HTMLCHECKBOX_DELROW, HTMLHIDDEN_COLUMNID, HTMLHIDDEN_MOVEACTION, HTMLHIDDEN_ROWINDEX, HTMLID_EXPLIST, m_nLastVisibleRow
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
PortletSelectView()
           
 
Method Summary
protected  void AddHTMLToActionBar(HTMLTableRow _myRow)
          Empty method that sub classes can averride to add actions to the action bar (like a create object action).
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
protected  HTMLTableCell GetHTMLForDeleteAction()
          Returns the HTML for the delete cell in the action bar.
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
GetAnchorForAddAction, GetHTMLForAddAction, GetHTMLForCheckBox, GetHTMLForNameColumn, GetHTMLForRow, GetIcon
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
CheckRowIsVisible, Display, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForEmptyCellInActionBar, GetHTMLForEmptyList, GetHTMLForMoveRowActions, GetHTMLForPaginationLinks, GetHTMLForSubHeader, GetJavaScriptsForPagination, SetRowStyle
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable, Init
 
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
Class name for the activity space

See Also:
Constant Field Values
Constructor Detail

PortletSelectView

public PortletSelectView()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorView
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Overrides:
Create in class SelectPTObjectView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

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

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class SelectPTObjectView
Returns:
String

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from class: SelectPTObjectView
This method returns the HTMLScript that encompasses the Javascript on the page.

Specified by:
DisplayJavascript in interface IView
Overrides:
DisplayJavascript in class SelectPTObjectView
Returns:
HTMLScript
See Also:
IView.DisplayJavascript()

GetHTMLForDeleteAction

protected HTMLTableCell GetHTMLForDeleteAction()
Description copied from class: ExpListView
Returns the HTML for the delete cell in the action bar.

Overrides:
GetHTMLForDeleteAction in class ExpListView
Returns:
HTMLTableCell

AddHTMLToActionBar

protected void AddHTMLToActionBar(HTMLTableRow _myRow)
Description copied from class: SelectPTObjectView
Empty method that sub classes can averride to add actions to the action bar (like a create object action).

Overrides:
AddHTMLToActionBar in class SelectPTObjectView
Parameters:
_myRow - Action bar row object.



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