Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Selection synchronizing in two Editors
icon4.gif  Selection synchronizing in two Editors [message #997181] Fri, 04 January 2013 04:56 Go to previous message
Tim E. is currently offline Tim E.
Messages: 56
Registered: November 2012
Member
Hi,

I've a problem and don't have a clue how to solve it Smile

The problem is, that I've two editors.
1) Textual Editor (not mine)
2) Graphical Editor (mine)

I want to display the textual model of the first editor
in the second editor. The second editor is based on GEF.

At the moment I'm thinking of one requirement I have,
but no idea how to solve it.

A selection mechanism:
Whenever something is selected in one of the editors,
it should also be selected in the other one.

So I don't know how to achieve this
and would really appreciate some help.

Some more informations/constraints:

- the graphical editor can also be used without the textual editor!
- not sure if this information is helpful:
-- the input of the graphical editor is the text of the file
-- but it is parsed and represented as a AST (Abstract Syntax Tree)
-- which is the model for the graphical Editor

Thanks in advance,
Tim
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:performance issues on GEF
Next Topic:SWT.TAB key
Goto Forum:
  


Current Time: Thu May 23 16:50:38 EDT 2013

Powered by FUDForum. Page generated in 0.04436 seconds