[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: plugin editor help

LA wrote:
Hi,

Have recently started looking into plug-in development for eclipse 3.1 but I'm stuck with a problem. Trying to move on from the hello world example but wonder how I can access the editor within the workspace. My plugin has the IWorkbenchWindow variable set correctly but I'm unsure how to access the editor from there on. There are two thing I'd like to do with the editor, one is to add text to the currently active page and secondly to add a new "untitled text file" (I know that already exists) to the editor.

Appreciate any help\advice.

Cheers.


Dear LA,

if u started the project with new Plugin-Project , then u find a plugin.xml in your project's folder.

open that one .

it'll show 2 links in the overview tab where u can decide if u'd like to run ur plugin in debug or in normal mode.

HTH
kind regards
Astrid