Skip to main content



      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 08: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 09:33 Go to previous messageGo to next message
Eclipse UserFriend
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 08: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 09:57 Go to previous messageGo to next message
Eclipse UserFriend
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 13:01 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 07:21:00 EDT 2025

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

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

Back to the top