public class StopEditing extends Extension implements IExtensionExecuteWithArgs
| Constructor and Description |
|---|
StopEditing() |
| Modifier and Type | Method and Description |
|---|---|
int |
confirmStop(FLyrVect layer,
MapControl mapControl)
DOCUMENT ME!
|
void |
execute(String s)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
execute(String s,
Object[] args) |
boolean |
executeSaveLayer(FLyrVect layer)
Show the dialogs to save the layer without ask if don't like to save.
|
IExtensionStatus |
getStatus()
Gets the status of the extension, which may be queried to check
if the extension has some unsaved data or some associated background
tasks.
|
void |
initialize()
Extension's initialization code should be here.
|
boolean |
isEnabled()
This method is invoked by Andami to check whether the extension
(and its associated controls) is enabled or disabled.
|
boolean |
isVisible()
This method is invoked by Andami to check whether the extension
(and its associated controls) is visible or hidden.
|
canQueryByAction, getPlugin, getStatus, getText, isEnabled, isVisible, postInitialize, setPlugin, terminatepublic void initialize()
IExtensioninitialize in interface IExtensionIExtension.initialize()public void execute(String s)
IExtensionexecute in interface IExtensions - An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void execute(String s, Object[] args)
execute in interface IExtensionExecuteWithArgsexecute in class Extensionpublic boolean isEnabled()
IExtensionisEnabled in interface IExtensionIExtension.isEnabled()public int confirmStop(FLyrVect layer, MapControl mapControl)
public boolean isVisible()
IExtensionisVisible in interface IExtensionIExtension.isVisible()public IExtensionStatus getStatus()
IExtensiongetStatus in interface IExtensiongetStatus in class ExtensionIExtensionStatuspublic boolean executeSaveLayer(FLyrVect layer)
layer - Layer to save.