com.plumtree.portalpages.browsing.editors.sitemap.sitemapfolderplugin
Class SiteMapFolderPlugInView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.browsing.editors.sitemap.sitemapfolderplugin.SiteMapFolderPlugInView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class SiteMapFolderPlugInView
extends EditorView

This Section contains the HTML for the plug-in section. PAI - DO NOT make calls to m_asOwner in this class. Use GetASOwner().

Author:
John Hogan

Field Summary
static java.lang.String COMMPAGE_TREE_SUBSPACE
          Subspace key for Community Page tree popup
static java.lang.String DOCUMENT_TREE_SUBSPACE
          Subspace key for Expert tree popup
static java.lang.String EXPERT_TREE_SUBSPACE
          Subspace key for Expert tree popup
static java.lang.String HTMLBUTTON_LOCALIZE_NAME
          Button to add localized names
static java.lang.String HTMLBUTTON_REPOST
          Repost button
static java.lang.String HTMLCHECKBOX_CHECKALL
          Check all checkbox
static java.lang.String HTMLCHECKBOX_DELROW
          Checkbox marking rows to delete
static java.lang.String HTMLHIDDEN_COMMPAGE_SPACE
          Hidden element for community page space ID
static java.lang.String HTMLHIDDEN_DOCUMENT_SPACE
          Hidden element for document space ID
static java.lang.String HTMLHIDDEN_EXPERT_SPACE
          Hidden element for expert space ID
static java.lang.String HTMLINPUT_FOLDERNAME
          Input box for the name of the Navigation Links folder
static java.lang.String HTMLINPUT_SMFOLDER_DESCRIPTION
          Folder description input box
static java.lang.String HTMLINPUT_SMFOLDER_NAME
          Folder name input box
static java.lang.String JAVASCRIPT_CHECK_OBJECTS_SELECTED
          Javascript function name - checkObjectsSelected
static java.lang.String JAVASCRIPT_CHECKNAVLINKNAME
          Javascript function to validate the Navigation Link's Name
static java.lang.String JAVASCRIPT_DELETE
          Javascript function name - onDelete
static java.lang.String STR_MVC_CLASS_NAME
          The unique name for the class
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
SiteMapFolderPlugInView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          Returns the HTML for the Section.
 HTMLScript DisplayDeleteJavascript()
          Returns Java Script for the Delete Section.
 HTMLScript DisplayJavascript()
          Returns Java Script for that Section.
 HTMLTable GetHTMLForActionBar(int nRowCount)
           
protected  HTMLTableCell GetHTMLForAddCommPageAction()
          Returns the HTML for the add cell in the action bar.
protected  HTMLTableCell GetHTMLForAddDocumentAction()
          Returns the HTML for the add cell in the action bar.
protected  HTMLTableCell GetHTMLForAddExpertAction()
          Returns the HTML for the add cell in the action bar.
protected  HTMLTableCell GetHTMLForAddLocalizedNameAction()
          Returns the HTML for the add cell in the action bar.
protected  HTMLTableCell GetHTMLForAddWebLinkAction()
          Returns the HTML for the add cell in the action bar.
protected  HTMLTableCell GetHTMLForCheckBox(PTLink link)
          Returns the HTML for the checkbox on row _nRowIndex.
protected  HTMLTableCell GetHTMLForDeleteAction()
          Returns the HTML for the delete cell in the action bar.
protected  HTMLTableCell GetHTMLForDetachAction()
           
protected  HTMLTableCell GetHTMLForEmptyCellInActionBar()
          Helper method for empty cell between actions in the action bar.
 HTMLTableRow GetHTMLForNameRow()
          Returns the HTML for the sub header.
 HTMLElement GetHTMLForRow(PTSortedArrayWrapper _arrLinks, int _nRowIndex)
          GetHTMLForRow
protected  HTMLTableRow GetHTMLForSubHeader()
          Returns the HTML for the sub header.
 java.lang.String GetName()
          Returns the Class name.
 void Init(IModelRO model, AActivitySpace parent)
          Inits the View with the read-only Model and the Activity Space.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable
 
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
The unique name for the class

See Also:
Constant Field Values

EXPERT_TREE_SUBSPACE

public static final java.lang.String EXPERT_TREE_SUBSPACE
Subspace key for Expert tree popup

See Also:
Constant Field Values

COMMPAGE_TREE_SUBSPACE

public static final java.lang.String COMMPAGE_TREE_SUBSPACE
Subspace key for Community Page tree popup

See Also:
Constant Field Values

DOCUMENT_TREE_SUBSPACE

public static final java.lang.String DOCUMENT_TREE_SUBSPACE
Subspace key for Expert tree popup

See Also:
Constant Field Values

JAVASCRIPT_CHECKNAVLINKNAME

public static final java.lang.String JAVASCRIPT_CHECKNAVLINKNAME
Javascript function to validate the Navigation Link's Name

See Also:
Constant Field Values

JAVASCRIPT_DELETE

public static final java.lang.String JAVASCRIPT_DELETE
Javascript function name - onDelete

See Also:
Constant Field Values

JAVASCRIPT_CHECK_OBJECTS_SELECTED

public static final java.lang.String JAVASCRIPT_CHECK_OBJECTS_SELECTED
Javascript function name - checkObjectsSelected

See Also:
Constant Field Values

HTMLHIDDEN_EXPERT_SPACE

public static final java.lang.String HTMLHIDDEN_EXPERT_SPACE
Hidden element for expert space ID

See Also:
Constant Field Values

HTMLHIDDEN_DOCUMENT_SPACE

public static final java.lang.String HTMLHIDDEN_DOCUMENT_SPACE
Hidden element for document space ID

See Also:
Constant Field Values

HTMLHIDDEN_COMMPAGE_SPACE

public static final java.lang.String HTMLHIDDEN_COMMPAGE_SPACE
Hidden element for community page space ID

See Also:
Constant Field Values

HTMLINPUT_SMFOLDER_NAME

public static final java.lang.String HTMLINPUT_SMFOLDER_NAME
Folder name input box

See Also:
Constant Field Values

HTMLINPUT_SMFOLDER_DESCRIPTION

public static final java.lang.String HTMLINPUT_SMFOLDER_DESCRIPTION
Folder description input box

See Also:
Constant Field Values

HTMLBUTTON_REPOST

public static final java.lang.String HTMLBUTTON_REPOST
Repost button

See Also:
Constant Field Values

HTMLCHECKBOX_CHECKALL

public static final java.lang.String HTMLCHECKBOX_CHECKALL
Check all checkbox

See Also:
Constant Field Values

HTMLCHECKBOX_DELROW

public static final java.lang.String HTMLCHECKBOX_DELROW
Checkbox marking rows to delete

See Also:
Constant Field Values

HTMLINPUT_FOLDERNAME

public static final java.lang.String HTMLINPUT_FOLDERNAME
Input box for the name of the Navigation Links folder

See Also:
Constant Field Values

HTMLBUTTON_LOCALIZE_NAME

public static final java.lang.String HTMLBUTTON_LOCALIZE_NAME
Button to add localized names

See Also:
Constant Field Values
Constructor Detail

SiteMapFolderPlugInView

public SiteMapFolderPlugInView()
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
Specified by:
Create in class EditorView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from class: EditorView
Inits the View with the read-only Model and the Activity Space.

Specified by:
Init in interface IView
Overrides:
Init in class EditorView
See Also:
IView.Init(IModelRO, AActivitySpace)

Display

public HTMLElement Display()
Returns the HTML for the Section.

Specified by:
Display in interface IView
Specified by:
Display in class EditorView
Returns:
HTMLElement

DisplayJavascript

public HTMLScript DisplayJavascript()
Returns Java Script for that Section.

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

DisplayDeleteJavascript

public HTMLScript DisplayDeleteJavascript()
Returns Java Script for the Delete Section. This method should be called if the GetHTMLForDeleteAction() is shown.

Returns:
HTMLScript

GetHTMLForRow

public HTMLElement GetHTMLForRow(PTSortedArrayWrapper _arrLinks,
                                 int _nRowIndex)
GetHTMLForRow

Parameters:
_qrData -
_nRowIndex -
Returns:
HTMLElement

GetName

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

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String

GetHTMLForActionBar

public HTMLTable GetHTMLForActionBar(int nRowCount)
Returns:
HTMLTable
Throws:
java.lang.Exception

GetHTMLForDetachAction

protected HTMLTableCell GetHTMLForDetachAction()

GetHTMLForAddWebLinkAction

protected HTMLTableCell GetHTMLForAddWebLinkAction()
Returns the HTML for the add cell in the action bar.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForAddExpertAction

protected HTMLTableCell GetHTMLForAddExpertAction()
Returns the HTML for the add cell in the action bar.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForAddDocumentAction

protected HTMLTableCell GetHTMLForAddDocumentAction()
Returns the HTML for the add cell in the action bar.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForAddCommPageAction

protected HTMLTableCell GetHTMLForAddCommPageAction()
Returns the HTML for the add cell in the action bar.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForAddLocalizedNameAction

protected HTMLTableCell GetHTMLForAddLocalizedNameAction()
Returns the HTML for the add cell in the action bar.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForCheckBox

protected HTMLTableCell GetHTMLForCheckBox(PTLink link)
Returns the HTML for the checkbox on row _nRowIndex.

Parameters:
_nRowIndex -
Returns:
HTMLTableCell
Throws:
HTMLException

GetHTMLForDeleteAction

protected HTMLTableCell GetHTMLForDeleteAction()
Returns the HTML for the delete cell in the action bar. If you call this method, it is necessary to add DisplayDeleteJavascript() to the DP.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForEmptyCellInActionBar

protected HTMLTableCell GetHTMLForEmptyCellInActionBar()
Helper method for empty cell between actions in the action bar.

Returns:
HTMLTableCell
Throws:
java.lang.Exception

GetHTMLForNameRow

public HTMLTableRow GetHTMLForNameRow()
Returns the HTML for the sub header.

Returns:
HTMLTableRow
Throws:
java.lang.Exception

GetHTMLForSubHeader

protected HTMLTableRow GetHTMLForSubHeader()
Returns the HTML for the sub header.

Returns:
HTMLTableRow
Throws:
java.lang.Exception



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