Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » QuickAssist for editors other than the Java Editor
QuickAssist for editors other than the Java Editor [message #753481] Thu, 27 October 2011 12:42 Go to next message
Eclipse UserFriend
Hi,
as I found out the QuickAssist feature is only available and extendible
for the Java Editor. So select some piece of code and press Ctrl+1 then
the QuickAssist pop-up pops up. Now my question is if it is possible to
implement such quick assists for other editors, too. Consider, e.g.,
some implemented refactorings for instances of a EMF metamodel. It would
be nice to provide them as quick assists depending in the selection, let
it be in a textual editor or the generated tree editor. Imaginable would
also be to provide quick assists for any selection of the workbench,
just depending what exactly was selected. Can you give me some pointers?

best regards,
Gilbert
Re: QuickAssist for editors other than the Java Editor [message #753493 is a reply to message #753481] Thu, 27 October 2011 13:33 Go to previous messageGo to next message
Lubos Pochman is currently offline Lubos PochmanFriend
Messages: 29
Registered: July 2009
Junior Member
I agree, I would also be interested in such a solution, especially for default text editor.
Re: QuickAssist for editors other than the Java Editor [message #754208 is a reply to message #753481] Tue, 01 November 2011 12:32 Go to previous messageGo to next message
Eclipse UserFriend
Does somepne have an idea? Or is it not the right newsgroup here?
Re: QuickAssist for editors other than the Java Editor [message #754228 is a reply to message #754208] Tue, 01 November 2011 13:57 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin SkorskyFriend
Messages: 112
Registered: July 2009
Senior Member
Extend the class org.eclipse.ui.editors.text.TextEditorActionContributor.
Specify the subclass in the contributorClass of the extension point="org.eclipse.ui.editors"

Re: QuickAssist for editors other than the Java Editor [message #754264 is a reply to message #754228] Tue, 01 November 2011 17:01 Go to previous message
Curtis Windatt is currently offline Curtis WindattFriend
Messages: 166
Registered: July 2009
Senior Member
You can contribute IMarkerResolution that will be provided as quick fixes for markers (in the problems view and editors that display them if set up correctly). Other then that, each text editor may have its own support (as JDT does).
Previous Topic:Hide files based on project nature.
Next Topic:launching external app when plugin button is pressed
Goto Forum:
  


Current Time: Fri Mar 29 12:32:29 GMT 2024

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

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

Back to the top