public abstract class CommandFactoryBase extends Object implements ICommandFactory, com.extjs.gxt.ui.client.data.BeanModelTag
Constructor and Description |
---|
CommandFactoryBase() |
Modifier and Type | Method and Description |
---|---|
String |
getStatus()
Returns the status to display in the status line in
the command factory toolbar
|
void |
start(Object requester)
Invoked when the user selects this command factory (through
the command toolbar, the context menu, or implicitely by editing
a field in the inspector).
|
void |
stop()
Invoked when this command factory terminates its lifecycle (on
its own accord or because or because another command factory
preempts it, or because the end-user terminates it)
|
void |
updateStatus(String status) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstantiator
protected String status
public String getStatus()
ICommandFactory
getStatus
in interface ICommandFactory
public void start(Object requester)
ICommandFactory
start
in interface ICommandFactory
requester
- The object requesting this command to startpublic void stop()
ICommandFactory
stop
in interface ICommandFactory
public void updateStatus(String status)
Copyright © 2018. All Rights Reserved.