|
| virtual SPPluginRef | spPluginRef () const |
| | Gets the plugin ref around which the target object is wrapped.
|
| |
| PlatformPluginPtr | platformPlugin () const |
| | Gets a pointer to the platform object representing the current Plugin instance.
|
| |
| virtual std::string | filePath () const |
| | Gets the full path of the plugin file at runtime.
|
| |
| virtual std::string | fileName () const |
| | Gets the name of the plugin file at runtime.
|
| |
| virtual std::string | name () const |
| | Gets the plugin name.
|
| |
| virtual void | setName (const std::string &name_) |
| | Sets the plugin name.
|
| |
| virtual Options | options () const |
| | Gets the plugin's options.
|
| |
| virtual void | setOptions (const Options options_) |
| | Sets the plugin's options.
|
| |
| virtual Dispatcher *const | dispatcher () const |
| | Convenience method to return the Dispatcher instance.
|
| |
| virtual Tool *const | currentTool () const |
| | Gets a pointer to the currently selected tool.
|
| |
| virtual void | undo () const |
| | Undoes the last set of artwork changes by this specific plugin.
|
| |
| virtual bool | setUndoKind (const UndoContext uc_) |
| | Changes the undo context to another type.
|
| |
| virtual void | setUndoRedoNames (const std::string &undo_, const std::string &redo_) |
| | Sets the text for the Undo and Redo menu items, which Illustrator uses as needed.
|
| |
| virtual bool | resourceData (const int32_t type_, const int16_t id_, ByteVector &data__) const |
| | Acquires a byte vector for a given resource.
|
| |
| virtual bool | resourceData (const int32_t type_, const std::string &name_, ByteVector &data__) const |
| | Acquires a byte vector for a given resource.
|
| |
| virtual bool | toolsSnapToArt () const |
| | Gets whether tools belonging to this plugin should snap the cursor to artwork.
|
| |
| virtual void | setToolsSnapToArt (const bool snap_) |
| | Sets whether tools belonging to this plugin should snap the cursor to artwork.
|
| |
| virtual bool | toolsSnapToArtBounds () const |
| | Gets whether tools belonging to this plugin should snap the cursor to artwork bounds.
|
| |
| virtual void | setToolsSnapToArtBounds (const bool snap_) |
| | Sets whether tools belonging to this plugin should snap the cursor to artwork bounds.
|
| |
| virtual bool | toolsSnapToArtboard () const |
| | Gets whether tools belonging to this plugin should snap the cursor to the artboard edges.
|
| |
| virtual void | setToolsSnapToArtboard (const bool snap_) |
| | Sets whether tools belonging to this plugin should snap the cursor to the artboard edges.
|
| |
| virtual bool | toolsSnapToGrids () const |
| | Gets whether tools belonging to this plugin should snap the cursor to the Illustrator gridlines.
|
| |
| virtual void | setToolsSnapToGrids (const bool snap_) |
| | Sets whether tools belonging to this plugin should snap the cursor to the Illustrator gridlines.
|
| |
| virtual bool | startingUp () const |
| | Gets whether the plugin is in the process of starting up.
|
| |
| virtual bool | hasStartedUp () const |
| | Gets whether the plugin has already completed starting up.
|
| |
| virtual bool | postStartingUp () const |
| | Gets whether the plugin is in the process of post-starting up.
|
| |
| virtual bool | hasPostStartedUp () const |
| | Gets whether the plugin has already completed post-starting up.
|
| |
| virtual bool | preShuttingDown () const |
| | Gets whether the plugin is in the process of pre-shutting down.
|
| |
| virtual bool | hasPreShutdown () const |
| | Gets whether the plugin has already completed pre-shutting down.
|
| |
| virtual bool | shuttingDown () const |
| | Gets whether the plugin is in the process of shutting down.
|
| |
| virtual bool | hasShutdown () const |
| | Gets whether the plugin has already completed shutting down.
|
| |
| virtual std::ostream *const | loggingStream (const std::string &name_) const |
| | Gets a logging stream, by name, for debugging output for the plugin.
|
| |
| virtual void | setLoggingStream (const std::string &name_, std::ostream *const str_) |
| | Sets the logging stream, by name, for debugging output for the plugin.
|
| |
| virtual Callback *const | startupCallback () const |
| | Gets the callback that's called when the plugin is starting up.
|
| |
| virtual void | setStartupCallback (const Callback &cb_) |
| | Sets the callback that's called when the plugin is starting up.
|
| |
| virtual Callback *const | postStartupCallback () const |
| | Gets the callback that's called just after the plugin has started up.
|
| |
| virtual void | setPostStartupCallback (const Callback &cb_) |
| | Sets the callback that's called just after the plugin has started up.
|
| |
| virtual Callback *const | preShutdownCallback () const |
| | Gets the callback that's called just before the plugin will shutdown.
|
| |
| virtual void | setPreShutdownCallback (const Callback &cb_) |
| | Sets the callback that's called just before the plugin will shutdown.
|
| |
| virtual Callback *const | shutdownCallback () const |
| | Gets the callback that's called when the plugin is shutting down.
|
| |
| virtual void | setShutdownCallback (const Callback &cb_) |
| | Sets the callback that's called when the plugin is shutting down.
|
| |
| virtual Callback *const | menuItemSelectedCallback () const |
| | Gets the callback that's called when a user selects one of the plugin's menu items.
|
| |
| virtual void | setMenuItemSelectedCallback (const Callback &cb_) |
| | Sets the callback that's called when a user selects one of the plugin's menu items.
|
| |
| virtual Callback *const | menuItemsUpdateCallback () const |
| | Gets the callback that's called when a user hovers over menu groups that will show this plugin's menu items.
|
| |
| virtual void | setMenuItemsUpdateCallback (const Callback &cb_) |
| | Sets the callback that's called when a user hovers over menu groups that will show this plugin's menu items.
|
| |
| virtual Callback *const | brightnessAdjustedCallback () const |
| | Gets the callback that's called when the brightness of the app UI is changed via the app preference dialog.
|
| |
| virtual void | setBrightnessAdjustedCallback (const Callback &cb_) |
| | Sets the callback that's called when the brightness of the app UI is changed via the app preference dialog.
|
| |
| virtual Callback *const | toolPreSelectedCallback () const |
| | Gets the callback that's called just before a tool is selected from the toolbar (i.e. the tool's selection callback has not been called)
|
| |
| virtual void | setToolPreSelectedCallback (const Callback &cb_) |
| | Sets the callback that's called just before a tool is selected from the toolbar (i.e. the tool's selection callback has not been called)
|
| |
| virtual Callback *const | toolPostSelectedCallback () const |
| | Gets the callback that's called just after a tool is selected from the toolbar (i.e. the tool's selection callback has already been called)
|
| |
| virtual void | setToolPostSelectedCallback (const Callback &cb_) |
| | Sets the callback that's called just after a tool is selected from the toolbar (i.e. the tool's selection callback has already been called)
|
| |
| virtual Callback *const | toolPreDeselectedCallback () const |
| | Gets the callback that's called just before a tool is deselected (i.e. the tool's deselection callback has not been called)
|
| |
| virtual void | setToolPreDeselectedCallback (const Callback &cb_) |
| | Sets the callback that's called just before a tool is deselected (i.e. the tool's deselection callback has not been called)
|
| |
| virtual Callback *const | toolPostDeselectedCallback () const |
| | Gets the callback that's called just after a tool is deselected (i.e. the tool's deselection callback has already been called)
|
| |
| virtual void | setToolPostDeselectedCallback (const Callback &cb_) |
| | Sets the callback that's called just after a tool is deselected (i.e. the tool's deselection callback has already been called)
|
| |
| virtual Callback *const | toolPreReselectedCallback () const |
| | Gets the callback that's called just before a tool is reselected (i.e. the tool's reselection callback has not been called)
|
| |
| virtual void | setToolPreReselectedCallback (const Callback &cb_) |
| | Sets the callback that's called just before a tool is reselected (i.e. the tool's reselection callback has not been called)
|
| |
| virtual Callback *const | toolPostReselectedCallback () const |
| | Gets the callback that's called just after a tool is reselected (i.e. the tool's reselection callback has already been called)
|
| |
| virtual void | setToolPostReselectedCallback (const Callback &cb_) |
| | Sets the callback that's called just after a tool is reselected (i.e. the tool's reselection callback has already been called)
|
| |
| virtual Callback *const | toolPreTrackedCallback () const |
| | Gets the callback that's called just before the cursor moves (with the mouse button released; i.e. the tool's track callback has not been called)
|
| |
| virtual void | setToolPreTrackedCallback (const Callback &cb_) |
| | Sets the callback that's called just before the cursor moves (with the mouse button released; i.e. the tool's track callback has not been called)
|
| |
| virtual Callback *const | toolPostTrackedCallback () const |
| | Gets the callback that's called just after the cursor moves (with the mouse button released; i.e. the tool's track callback has already been called)
|
| |
| virtual void | setToolPostTrackedCallback (const Callback &cb_) |
| | Sets the callback that's called just after the cursor moves (with the mouse button released; i.e. the tool's track callback has already been called)
|
| |
| virtual Callback *const | toolPreMouseDownCallback () const |
| | Gets the callback that's called just before the mouse button goes down (i.e. the tool's mouse down callback has not been called)
|
| |
| virtual void | setToolPreMouseDownCallback (const Callback &cb_) |
| | Sets the callback that's called just before the mouse button goes down (i.e. the tool's mouse down callback has not been called)
|
| |
| virtual Callback *const | toolPostMouseDownCallback () const |
| | Gets the callback that's called just after the mouse button goes down (i.e. the tool's mouse down callback has already been called)
|
| |
| virtual void | setToolPostMouseDownCallback (const Callback &cb_) |
| | Sets the callback that's called just after the mouse button goes down (i.e. the tool's mouse down callback has already been called)
|
| |
| virtual Callback *const | toolPreDraggedCallback () const |
| | Gets the callback that's called just before the mouse button is down and the cursor moves (i.e. the tool's drag callback has not been called)
|
| |
| virtual void | setToolPreDraggedCallback (const Callback &cb_) |
| | Sets the callback that's called just before the mouse button is down and the cursor moves (i.e. the tool's drag callback has not been called)
|
| |
| virtual Callback *const | toolPostDraggedCallback () const |
| | Gets the callback that's called just after the mouse button is down and the cursor moves (i.e. the tool's drag callback has already been called)
|
| |
| virtual void | setToolPostDraggedCallback (const Callback &cb_) |
| | Sets the callback that's called just after the mouse button is down and the cursor moves (i.e. the tool's drag callback has already been called)
|
| |
| virtual Callback *const | toolPreMouseUpCallback () const |
| | Gets the callback that's called just before the mouse button comes up (i.e. the tool's mouse up callback has not been called)
|
| |
| virtual void | setToolPreMouseUpCallback (const Callback &cb_) |
| | Sets the callback that's called just before the mouse button comes up (i.e. the tool's mouse up callback has not been called)
|
| |
| virtual Callback *const | toolPostMouseUpCallback () const |
| | Gets the callback that's called just after the mouse button comes up (i.e. the tool's mouse up callback has already been called)
|
| |
| virtual void | setToolPostMouseUpCallback (const Callback &cb_) |
| | Sets the callback that's called just after the mouse button comes up (i.e. the tool's mouse up callback has already been called)
|
| |
| virtual Callback *const | toolPreDiameterDecreasedCallback () const |
| | Gets the callback that's called just before the '[' key is hit while a tool is selected (i.e. the tool's diameter decrease callback has not been called)
|
| |
| virtual void | setToolPreDiameterDecreasedCallback (const Callback &cb_) |
| | Sets the callback that's called just before the '[' key is hit while a tool is selected (i.e. the tool's diameter decrease callback has not been called)
|
| |
| virtual Callback *const | toolPostDiameterDecreasedCallback () const |
| | Gets the callback that's called just after the '[' key is hit while a tool is selected (i.e. the tool's diameter decrease callback has already been called)
|
| |
| virtual void | setToolPostDiameterDecreasedCallback (const Callback &cb_) |
| | Sets the callback that's called just after the '[' key is hit while a tool is selected (i.e. the tool's diameter decrease callback has already been called)
|
| |
| virtual Callback *const | toolPreDiameterIncreasedCallback () const |
| | Gets the callback that's called just before the ']' key is hit while a tool is selected (i.e. the tool's diameter increase callback has not been called)
|
| |
| virtual void | setToolPreDiameterIncreasedCallback (const Callback &cb_) |
| | Sets the callback that's called just before the ']' key is hit while a tool is selected (i.e. the tool's diameter increase callback has not been called)
|
| |
| virtual Callback *const | toolPostDiameterIncreasedCallback () const |
| | Gets the callback that's called just after the ']' key is hit while a tool is selected (i.e. the tool's diameter increase callback has already been called)
|
| |
| virtual void | setToolPostDiameterIncreasedCallback (const Callback &cb_) |
| | Sets the callback that's called just after the ']' key is hit while a tool is selected (i.e. the tool's diameter increase callback has already been called)
|
| |
| virtual Callback *const | toolPreEditedCallback () const |
| | Gets the callback that's called just before a tool is double-clicked in the toolbar (i.e. the tool's edit callback has not been called)
|
| |
| virtual void | setToolPreEditedCallback (const Callback &cb_) |
| | Sets the callback that's called just before a tool is double-clicked in the toolbar (i.e. the tool's edit callback has not been called)
|
| |
| virtual Callback *const | toolPostEditedCallback () const |
| | Gets the callback that's called just after a tool is double-clicked in the toolbar (i.e. the tool's edit callback has already been called)
|
| |
| virtual void | setToolPostEditedCallback (const Callback &cb_) |
| | Sets the callback that's called just after a tool is double-clicked in the toolbar (i.e. the tool's edit callback has already been called)
|
| |
| virtual ModalDialog *const | aboutBox () const |
| | Gets the about box modal dialog for the plugin.
|
| |
| virtual void | setAboutBox (const ModalDialog &dialog_) |
| | Sets the about box modal dialog for the plugin.
|
| |
| virtual ModalDialog *const | prefsDialog () const |
| | Gets the global prefs modal dialog for the plugin.
|
| |
| virtual void | setPrefsDialog (const ModalDialog &dialog_) |
| | Sets the global prefs modal dialog for the plugin.
|
| |
| virtual MenuItem *const | aboutMenuItem () const |
| | Gets the about box menu item for the plugin.
|
| |
| virtual void | setAboutMenuItem (const MenuItem &mi_) |
| | Sets the about box menu item for the plugin.
|
| |
| virtual MenuItem *const | prefsMenuItem () const |
| | Gets the global prefs menu item for the plugin.
|
| |
| virtual void | setPrefsMenuItem (const MenuItem &mi_) |
| | Sets the global prefs menu item for the plugin.
|
| |
Base plugin class; the heart of any plugin project.
Receives startup/shutdown messages, tool messages, menu messages, etc.; allows for preference access, registration access, etc.