|
SL-GMS Enterprise RTView Customization | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.sl.gmsjrtview.GmsRtViewCustomCommandHandler
public abstract class GmsRtViewCustomCommandHandler
The GmsRtViewCustomCommandHandler provides a way to implement custom commands.
Subclasses should override the initialize() and invokeCommand() methods.
| Constructor Summary | |
|---|---|
GmsRtViewCustomCommandHandler()
Create a new GmsRtViewCustomCommandHandler. |
|
| Method Summary | |
|---|---|
com.sl.gmsjrtview.GmsRtViewAppManager |
getAppManager()
Returns the application's RTView Application Manager. |
com.sl.gmsjnet.GmsNetObject |
getCurrentNetObject()
Returns the currently selected object. |
com.sl.gmsjrtview.GmsRtViewDsManager |
getDsManager()
Returns the application's Datasource Manager. |
java.lang.String |
getRtViewName(com.sl.gmsjrtview.GmsRtViewPanel rtvPanel)
Returns the name of the display in the specified GmsRtViewPanel. |
com.sl.gmsjnetrun.GmsNetRunPanel |
getRunPanelByName(java.lang.String name)
Returns the GmsNetRunPanel with the specified name. |
void |
initialize()
Initialize this GmsRtViewCustomCommandHandler. |
com.sl.gmsjrtview.GmsRtViewCommandStatus |
invokeCommand(com.sl.gmsjrtview.GmsRtViewCommand cmd)
Invoke a command. |
boolean |
invokeCommand(java.lang.String commandString,
java.lang.Object value)
Invoke a command. |
boolean |
isEditMode()
Returns true if the application is running in edit mode. |
void |
setCurrentNetObject(com.sl.gmsjnet.GmsNetObject object)
Sets the currently selected object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GmsRtViewCustomCommandHandler()
| Method Detail |
|---|
public com.sl.gmsjrtview.GmsRtViewAppManager getAppManager()
public com.sl.gmsjnet.GmsNetObject getCurrentNetObject()
public com.sl.gmsjrtview.GmsRtViewDsManager getDsManager()
public java.lang.String getRtViewName(com.sl.gmsjrtview.GmsRtViewPanel rtvPanel)
public com.sl.gmsjnetrun.GmsNetRunPanel getRunPanelByName(java.lang.String name)
name - the name of the GmsRtViewPanelpublic void initialize()
public com.sl.gmsjrtview.GmsRtViewCommandStatus invokeCommand(com.sl.gmsjrtview.GmsRtViewCommand cmd)
The default implementation simply calls
invokeCommand(cmd.commandString, cmd.commandArg) and returns
a status object with a value of OK and a null message.
cmd - the command to be executed.
public boolean invokeCommand(java.lang.String commandString,
java.lang.Object value)
GmsRtViewCustomCommandHandler.invokeCommand(GmsRtViewCommand) instead.
The default implementation does nothing and returns false.
commandString - the command to executevalue - the argument string for the commandpublic boolean isEditMode()
public void setCurrentNetObject(com.sl.gmsjnet.GmsNetObject object)
object - the object to select
|
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||