public class TableOperations extends Extension implements ExpressionListener
Constructor and Description |
---|
TableOperations() |
Modifier and Type | Method and Description |
---|---|
void |
addToSet(String expression) |
void |
execute(String actionCommand)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
fromSet(String expression) |
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.
|
void |
newSet(String expression) |
String |
sanitizeFieldName(String fieldName)
Ensure that field name only has 'safe' characters
(no spaces, special characters, etc).
|
public void execute(String actionCommand)
IExtension
execute
in interface IExtension
actionCommand
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void newSet(String expression) throws DataException
newSet
in interface ExpressionListener
DataException
ExpressionListener.newSet(java.lang.String)
public void addToSet(String expression) throws DataException
addToSet
in interface ExpressionListener
DataException
ExpressionListener.addToSet(java.lang.String)
public void fromSet(String expression) throws DataException
fromSet
in interface ExpressionListener
DataException
ExpressionListener.fromSet(java.lang.String)
public boolean isVisible()
IExtension
isVisible
in interface IExtension
com.iver.mdiApp.plugins.IExtension#isVisible()
public void initialize()
IExtension
initialize
in interface IExtension
IExtension.initialize()
public boolean isEnabled()
IExtension
isEnabled
in interface IExtension
IExtension.isEnabled()