[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
Re: adding an action to the java editor
|
- From: martin@xxxxxxxxx (martin)
- Date: Wed, 14 Aug 2002 07:48:31 +0000 (UTC)
- Newsgroups: eclipse.tools
- Organization: http://www.eclipse.org
- User-agent: NewsPortal 0.23
Thanks
That's exactly what I was looking for.
Martin
Darin Swanson wrote:
> Have a look at the plugin.xml for the org.eclipse.jdt.debug.ui plugin
> The JDT debug ui contributes actions as viewer contributions to the
> context/popup menu of the Java editor using the org.eclipse.ui.popupMenus
> extension point.
> (see where the RunToLine action is contributed to the
> targetID=#CompilationUnitEditorContext for a specific example)
> It also contributes actions as editor contributions to the ruler of the Java
> editor using the org.eclipse.ui.editorActions extension point.
> (see where the ManageBreakpointRulerAction is contributed to the
> targetID=#org.eclipse.jdt.ui.CompilationUnitEditor)
> HTH
> Darins
> "martin" <martin@xxxxxxxxx> wrote in message
> news:ajacce$iae$1@xxxxxxxxxxxxxxxx
> > Hi
> >
> > in the article "Contributing Actions to the Eclipse Workbench" is
> > described how to add an action to the default text editor. How can I add
> > an action to the java editor
> >
> > Martin
> >