Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » MultiPageEditor and IMarker
MultiPageEditor and IMarker [message #636329] Sat, 30 October 2010 23:09 Go to next message
Dmitry  is currently offline Dmitry Friend
Messages: 5
Registered: October 2010
Junior Member
I create MultiPageEditor with 2 pages. I want to add markers to second page of my editor. But i can't find any solution for this. I try to study PDE code but it is very big O_O. Please, advise me.
Re: MultiPageEditor and IMarker [message #636345 is a reply to message #636329] Sun, 31 October 2010 09:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Dmitry,

IMarkers are things associated with IResources so I don't see any
relation between IMarkers and how many pages your editor has...


Dmitry wrote:
> I create MultiPageEditor with 2 pages. I want to add markers to second
> page of my editor. But i can't find any solution for this. I try to
> study PDE code but it is very big O_O. Please, advise me.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: MultiPageEditor and IMarker [message #636365 is a reply to message #636329] Sun, 31 October 2010 17:06 Go to previous messageGo to next message
Dmitry  is currently offline Dmitry Friend
Messages: 5
Registered: October 2010
Junior Member
That's right. Model don't depend upon view.
But i can't find mechanism which shows markers in editors UI.
Re: MultiPageEditor and IMarker [message #636387 is a reply to message #636365] Sun, 31 October 2010 22:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Dmitry,

What is your editor page displaying?


Dmitry wrote:
> That's right. Model don't depend upon view. But i can't find mechanism
> which shows markers in editors UI.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: MultiPageEditor and IMarker [message #636397 is a reply to message #636329] Mon, 01 November 2010 01:04 Go to previous message
Dmitry  is currently offline Dmitry Friend
Messages: 5
Registered: October 2010
Junior Member
Eeeee, i found solution.
My second page uses new IEditorInput and its AnnotationModel, but i want to mix it with another AnnotationModel. I subclass FileDocumentProvider and override createAnnotationModel.
Previous Topic:Removing updatesite fix
Next Topic:Misplaced view toolbar
Goto Forum:
  


Current Time: Thu Apr 25 01:07:53 GMT 2024

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

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

Back to the top