public class ChartExtension extends Extension implements ExclusiveUIExtension
Constructor and Description |
---|
ChartExtension() |
Modifier and Type | Method and Description |
---|---|
void |
execute(String actionCommand)
Execute the actions associated to this extension.
|
void |
initialize()
Extension's initialization code should be here.
|
boolean |
isEnabled()
Check if tools of this extension are enabled.
|
boolean |
isEnabled(IExtension extension)
Check if an extension is enabled.
|
boolean |
isVisible()
Check if tools of this extension are visible.
|
boolean |
isVisible(IExtension extension)
Check if an extension is visible.
|
void |
postInitialize()
Extension's post-initialization code should be here.
|
void |
writeImage(BufferedImage image,
String fileName) |
canQueryByAction, execute, getPlugin, getStatus, getStatus, getText, isEnabled, isVisible, setPlugin, terminate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus, getStatus, terminate
public void initialize()
IExtension
initialize
in interface IExtension
public void postInitialize()
IExtension
initialize()
has been called for ALL the extensions.postInitialize
in interface IExtension
postInitialize
in class Extension
public void execute(String actionCommand)
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 writeImage(BufferedImage image, String fileName)
public boolean isEnabled()
isEnabled
in interface IExtension
public boolean isVisible()
isVisible
in interface IExtension
public boolean isEnabled(IExtension extension)
isEnabled
in interface ExclusiveUIExtension
public boolean isVisible(IExtension extension)
isVisible
in interface ExclusiveUIExtension