com.plumtree.uiinfrastructure.tips
Class TipsControl
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorHelperRepostControl
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TipsControl
public TipsControl()
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()