Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to access the ProjectionViewer of a JavaEditor ...
How to access the ProjectionViewer of a JavaEditor ... [message #500940] Mon, 30 November 2009 06:59 Go to previous message
LoÃ?¯c QuÃ?©ran is currently offline LoÃ?¯c QuÃ?©ran
Messages: 45
Registered: July 2009
Member
.... without using the internal class JavaEditor ?

The following code

JavaEditor javaEditor = (JavaEditor)
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().getActiveEditor();
ProjectionViewer projectionViewer = (ProjectionViewer)
javaEditor.getViewer();

raises a warning I would like to get rid of.

Thanks in advance for any help.
 
Read Message
Read Message
Read Message
Previous Topic:problem with platform filters
Next Topic:AssertionFailedException in EditorAreaDropAdapter
Goto Forum:
  


Current Time: Sun May 19 02:43:14 EDT 2013

Powered by FUDForum. Page generated in 0.01630 seconds