com.plumtree.uiinfrastructure.tips
Class TipsControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperRepostControl
      extended by com.plumtree.uiinfrastructure.tips.TipsControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class TipsControl
extends EditorHelperRepostControl

This control provides control functionality for views and models responsible for displaying error messages.

Author:
BenG

Field Summary
protected  TipsModel m_model
           
static java.lang.String PARAM_CLOSE
           
static int POSTTOSELF_ACTION_TOGGLE_TIP
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperRepostControl
m_asOwner
 
Constructor Summary
TipsControl()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Returns the Class name.
protected  void PerformReadOnlyAction(int _nAction)
          Performs repost actions in Read-Only mode.
 void PerformRepostAction(int _nAction, XPHashtable _htFormData)
          Calls the method associated to the repost action.
 void PerformToggleTipAction()
           
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperRepostControl
CheckActionSecurityAndExecute, 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
See Also:
Constant Field Values

PARAM_CLOSE

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

POSTTOSELF_ACTION_TOGGLE_TIP

public static final int POSTTOSELF_ACTION_TOGGLE_TIP
See Also:
Constant Field Values

m_model

protected TipsModel m_model
Constructor Detail

TipsControl

public TipsControl()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorHelperRepostControl
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 EditorHelperRepostControl
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
Specified by:
GetName in class EditorHelperRepostControl
Returns:
String

PerformRepostAction

public void PerformRepostAction(int _nAction,
                                XPHashtable _htFormData)
Calls the method associated to the repost action. Editors using this framework need to call that method from the PerformRepostAction method of the main RepostControl.

Specified by:
PerformRepostAction in class EditorHelperRepostControl
Parameters:
_nAction -
_htFormData -

PerformReadOnlyAction

protected void PerformReadOnlyAction(int _nAction)
Performs repost actions in Read-Only mode.

Parameters:
_nAction -

PerformToggleTipAction

public void PerformToggleTipAction()



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