com.plumtree.portalpages.common.search
Class EditorLikeView

java.lang.Object
  extended by com.plumtree.portalpages.common.search.EditorLikeView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView
Direct Known Subclasses:
CardLanguagePlugInView, FilterView, FolderSelectorView, SimpleSelectorView, TypeSelectorView

public abstract class EditorLikeView
extends java.lang.Object
implements IView

Author:
CraigS This is an abstract superclass for a view that looks like an EditorView, i.e. has the same blue striped title across the top, but may be used in any ActivitySpace, not just EditorAS subclasses.

Field Summary
protected  AActivitySpace m_asOwner
           
protected  IModelRO m_model
           
static java.lang.String SPACE
           
 
Constructor Summary
EditorLikeView()
           
 
Method Summary
abstract  java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
abstract  HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 HTMLElement GetHeaderView(java.lang.String _sHeaderTitle, boolean addSpacer)
           
abstract  java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModelRO model, AActivitySpace parent)
          This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPACE

public static final java.lang.String SPACE
See Also:
Constant Field Values

m_asOwner

protected AActivitySpace m_asOwner

m_model

protected IModelRO m_model
Constructor Detail

EditorLikeView

public EditorLikeView()
Method Detail

Create

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

Specified by:
Create in interface IManagedObject
Returns:

Display

public abstract HTMLElement Display()
Description copied from interface: IView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
Returns:

GetName

public abstract java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Returns:

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from interface: IView
This method returns the HTMLScript that encompasses the Javascript on the page. This method should be called by IDisplayPages and the resulting Javascript should be put in the HTMLHead element. This can return null.

Specified by:
DisplayJavascript in interface IView
Returns:

GetHeaderView

public HTMLElement GetHeaderView(java.lang.String _sHeaderTitle,
                                 boolean addSpacer)
Parameters:
_sHeaderTitle -
Returns:

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from interface: IView
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).

Specified by:
Init in interface IView
Parameters:
model -
parent -



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