Method Summary |
|
public static boolean | NodeIsFileType(Context context, String extension) |
public boolean | canShutdown() The AddinManager calls this method to see if this Addin is ready to shut
down before the IDE terminates. |
public void | checkCommands(Context context, Controller activeController) checkCommands() should be called on the controller associated with the
active view whenever the Context changes.
Parameters: context - the current context. |
final public static Icon | doLoadIcon(String gifName) Loads the icon. |
protected int | getLineNumber() |
protected String | getStringFromIDE() |
public boolean | handleEvent(IdeAction action, Context context) We call the PrettyPrinter ...
Parameters: action - action the IdeAction whose command (ID) is to be executed. Parameters: context - the current context under which this action has been invoked. |
public float | ideVersion() The AddinManager calls this method to request the IDE version number for
which this Addin was written and tested against. |
public void | initialize() The AddinManager calls this method at startup time to allow
initialization. |
public static boolean | isMenuAvailable(Context context) This method is called to see if a Menu should be Enabled or Disabled The
code here can be arbitrarily complex to determine the availability. |
protected void | setLineNumber(int iLine) |
protected void | setStringInIDE(String value) |
public void | shutdown() The AddinManager calls this method to allow an Addin to release any
resources held before the IDE shuts down. |
public Controller | supervisor() Gets the supervising controller if any associated with this Controller. |
public boolean | update(IdeAction action, Context context) This method updates the enabled status of the specified action within
the specified context. |
public float | version() The AddinManager calls this method to request the version number of this
addin (1.0f) . |