|Open Editor with particular resource, e.g. 'plugin.xml' [message #452607]
||Wed, 23 March 2005 11:55
Registered: July 2009
I have created a new perspective and project creator. When a new project
of this type is created, certain folders and files are automaticlly placed
in the project folder.
What I now want to do is create an Editor, not one that is linked to a
certain file extension, but one that can only be accessed from one place
and can appear only once in the context of the project.
This will be similar to the plugin.xml file in a Plug-in project. Is it
possible to create one file at creation time, e.g. "resource.bla", such
that not every file with ".bla" extension will link to this Editor?
I was also thinking to maybe use an action instead of a file. i.e. in my
new perspective have a workbence action, that opens the editor when
Is there any examples out there of
IWorkbenchPage.openEditor(IEditorInput input, String editorId)
where the IEditorInput is not an IFile?
Thanks for any suggestions,
Powered by FUDForum
. Page generated in 0.01855 seconds