Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Adding a toolbar item to an xtext editor (org.eclipse.ui.editorActions is depcreated in 4.2 eclipse
Adding a toolbar item to an xtext editor (org.eclipse.ui.editorActions is depcreated in 4.2 eclipse [message #1014331] Mon, 25 February 2013 15:47 Go to next message
drew frantz is currently offline drew frantz
Messages: 340
Registered: July 2009
Senior Member
What is the URL used for a toolbar menu item in the extension
org.eclipse.ui.menus ? It seems that org.eclipse.ui.editorActions is
depcreated in 4.2 of eclipse and I have noticed that if you use this
extension point in 4.2 it causes exceptions in any editor you use. So it
looks like anyone using org.eclipse.ui.editorActions must port them to
commands in org.eclipse.ui.menus in 4.2.


When I use plugin spy it gives me a path of
toolbar:com.myeditor.MyLang?after=com.myplugin.MyCommandHandler, but when I
add something similar as the URL menu path it does not show anything.
Re: Adding a toolbar item to an xtext editor (org.eclipse.ui.editorActions is depcreated in 4.2 ecl [message #1014384 is a reply to message #1014331] Mon, 25 February 2013 17:55 Go to previous message
drew frantz is currently offline drew frantz
Messages: 340
Registered: July 2009
Senior Member
I decided to just add an entire toolbar at
toolbar:org.eclipse.ui.main.toolbar and impl the visible when.



<toolbar"Drew" <drew@xxxxxxxx> wrote in message
news:kgg12u$aif$1@xxxxxxxxe.org...
> What is the URL used for a toolbar menu item in the extension
> org.eclipse.ui.menus ? It seems that org.eclipse.ui.editorActions is
> depcreated in 4.2 of eclipse and I have noticed that if you use this
> extension point in 4.2 it causes exceptions in any editor you use. So it
> looks like anyone using org.eclipse.ui.editorActions must port them to
> commands in org.eclipse.ui.menus in 4.2.
>
>
> When I use plugin spy it gives me a path of
> toolbar:com.myeditor.MyLang?after=com.myplugin.MyCommandHandler, but when
> I add something similar as the URL menu path it does not show anything.
>
>
Previous Topic:Error when reloading resource from a context menu button before xtend 2 generation
Next Topic:Put error mark at right EStructuralFeature
Goto Forum:
  


Current Time: Sat Sep 20 03:55:34 GMT 2014

Powered by FUDForum. Page generated in 0.02693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software