"Getting" a plug-in with no dockable window
Submitted by Monday, 19 January, 2004 - 22:28
on
Hi,
The plug-in tutorial presents an example of associating actions with a plug-in in which each action retrieves its plug-in like this:
view.getDockableWindowManager().getDockable(QuickNotepadPlugin.NAME).chooseFile();
That is, it assumes you want to create a plug-in with a dockable window. If I don't want to create a dockable window, how do I create an instance of my plug-in and what code would I put in my actions.xml file to retrieve it? Is there something like:
view.getPlugin(QuickNotepadPlugin.NAME).chooseFile()
??
Please send responses to this forum (which I'm monitoring) and/or Ken Anderson at "kena at cs.colorado.edu".
Thanks!
Ken Anderson
The plug-in tutorial presents an example of associating actions with a plug-in in which each action retrieves its plug-in like this:
view.getDockableWindowManager().getDockable(QuickNotepadPlugin.NAME).chooseFile();
That is, it assumes you want to create a plug-in with a dockable window. If I don't want to create a dockable window, how do I create an instance of my plug-in and what code would I put in my actions.xml file to retrieve it? Is there something like:
view.getPlugin(QuickNotepadPlugin.NAME).chooseFile()
??
Please send responses to this forum (which I'm monitoring) and/or Ken Anderson at "kena at cs.colorado.edu".
Thanks!
Ken Anderson