com.plumtree.portalpages.admin.ptutilities.diagnostic
Class DiagnosticPageEditorAS

java.lang.Object
  extended by com.plumtree.uiinfrastructure.activityspace.AActivitySpace
      extended by com.plumtree.uiinfrastructure.form.AFormAS
          extended by com.plumtree.uiinfrastructure.editor.EditorAS
              extended by com.plumtree.portaluiinfrastructure.editor.PTEditorAS
                  extended by com.plumtree.portalpages.admin.ptutilities.diagnostic.DiagnosticPageEditorAS
All Implemented Interfaces:
IManagedObject, IMVCObject, IFormAS, IEnvironment

public class DiagnosticPageEditorAS
extends PTEditorAS

This Editor displays the plug in administration diagnostic pages.

Author:
DonH

Field Summary
protected  boolean m_bChangePage
          Tells whether or not we are switching pages and should reinitialize the page.
protected  XPHashtable m_DiagnosticPages
          Map of EditorDP names to IDiagnosticPages
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorAS
m_mEditorMenu, m_strModelMVCName, m_strModelName
 
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormAS
JAVASCRIPT_GVAR_PTHELPSVRBASEURL, JAVASCRIPT_GVAR_PTIMGSVRIMGSURL, JAVASCRIPT_GVAR_SHAREDIMGSVRIMGSURL
 
Fields inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace
m_stringReferences
 
Constructor Summary
DiagnosticPageEditorAS()
           
 
Method Summary
protected  void ChangePage(IDiagnosticPage _oDiagnosticPage)
          This helper method handles the actions necessary when changing pages.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetEditorTitle()
          Returns the Editor main title.
 java.lang.String GetName()
          This method is used to identify the type of this space.
 IDisplayPage GetPage(java.lang.String pageName)
          Return the requested DisplayPage.
 EditorHelperRepostControl GetPageHelperRepostControl()
          Helper method to return the helper repost control for this page, if any.
 java.lang.String GetRepostControlName()
          Returns the class name of the Editor Repost Control.
 void Init()
          Registers all the classes of the Activity Space.
 void RefreshCurrentTest()
          Helper method to rerun the current test.
 void SetChangingPage()
          This method tells the editor to (re)initialize the next page, since we are changing pages.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.PTEditorAS
DisplayCommonJavaScript
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorAS
CheckBasicAccess, DeleteSubEditorFromList, GetLeftMenu, GetPreviousPage, GetSubBanner, GoToSubEditor, SetCurrentPage, SetCurrentPage
 
Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace
ChangeSubSpaceKey, CleanupAllData, CleanupTempData, DeleteSubSpace, GetAccessStyle, GetApplication, GetControl, GetControlExists, GetControlsEnumerator, GetCurrentFormData, GetCurrentHTTPRequest, GetCurrentHTTPResponse, GetCurrentNormalizedBaseURL, GetCurrentPage, GetCurrentRequestURL, GetHelpTopic, GetIsAccessStyleNonStandard, GetIsAccessStyleStandard, GetIsInPlaceRefreshDisplayOn, GetIsInPlaceRefreshEnabled, GetIsSecuredSpace, GetLanguage, GetLocale, GetModel, GetModelExists, GetModelsEnumerator, GetPageExists, GetPagesEnumerator, GetParentSpace, GetParentSpaceID, GetParentSpaceName, GetPersistentSubSession, GetResourceManager, GetSpaceID, GetString, GetStyleSheetLinks, GetSubSession, GetSubSpace, GetSubSpaceExists, GetSubSpaceKey, GetSubSpacesEnumerator, GetTimeZone, GetUserSession, GetVarPack, GetView, GetViewExists, GetViewsEnumerator, IsSubSpace, refString, RegisterControl, RegisterControl, RegisterModel, RegisterModel, RegisterPage, RegisterPage, RegisterSubSpace, RegisterView, RegisterView, ReInit, SetApplication, SetCurrentFormData, SetCurrentHTTPRequestResponseObjects, SetCurrentRequestURL, SetHelpTopic, SetIsASSecured, SetIsInPlaceRefreshDisplayOn, SetIsInPlaceRefreshEnabled, SetOverWriteSubSpaces, SetParentSpace, SetPersistentSubSession, SetSpaceID, SetSubSession, SetSubSpaceKey, SetTrackCurrentPage, SetUserSession, unrefString, UnRegisterControl, UnRegisterModel, UnRegisterPage, UnRegisterView
 
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
See Also:
Constant Field Values

m_DiagnosticPages

protected XPHashtable m_DiagnosticPages
Map of EditorDP names to IDiagnosticPages


m_bChangePage

protected boolean m_bChangePage
Tells whether or not we are switching pages and should reinitialize the page.

Constructor Detail

DiagnosticPageEditorAS

public DiagnosticPageEditorAS()
Method Detail

Init

public void Init()
Registers all the classes of the Activity Space.

Overrides:
Init in class EditorAS
See Also:
AActivitySpace.Init()

GetPageHelperRepostControl

public EditorHelperRepostControl GetPageHelperRepostControl()
Helper method to return the helper repost control for this page, if any.

Returns:
The helper repost control, null if there isn't one.

GetPage

public IDisplayPage GetPage(java.lang.String pageName)
Description copied from class: AActivitySpace
Return the requested DisplayPage.

Overrides:
GetPage in class AActivitySpace
Returns:
IDisplayPage the requested page
See Also:
AActivitySpace.GetPage(String)

ChangePage

protected void ChangePage(IDiagnosticPage _oDiagnosticPage)
This helper method handles the actions necessary when changing pages. This includes running tests and setting the help and tips.

Parameters:
_oDiagnosticPage - The new page.

SetChangingPage

public void SetChangingPage()
This method tells the editor to (re)initialize the next page, since we are changing pages.


RefreshCurrentTest

public void RefreshCurrentTest()
Helper method to rerun the current test.


GetEditorTitle

public java.lang.String GetEditorTitle()
Description copied from class: EditorAS
Returns the Editor main title. It will get printed out in EditorHeaderView.

Specified by:
GetEditorTitle in class EditorAS
Returns:
String
See Also:
EditorAS.GetEditorTitle()

GetRepostControlName

public java.lang.String GetRepostControlName()
Description copied from class: PTEditorAS
Returns the class name of the Editor Repost Control. Editors should also implement that method and return the name of their own repost control, unless they don't have any. In that case they don't need to implement the method and EditorRepostControl will be used by default.

Specified by:
GetRepostControlName in interface IFormAS
Overrides:
GetRepostControlName in class PTEditorAS
Returns:
String
See Also:
EditorAS.GetRepostControlName()

GetName

public java.lang.String GetName()
Description copied from class: AActivitySpace
This method is used to identify the type of this space.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class AFormAS
Returns:
String the name of this AActivitySpace
See Also:
IMVCObject.GetName()

Create

public java.lang.Object Create()
Description copied from class: AActivitySpace
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 AActivitySpace
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()



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