Skip to main content



      Home
Home » Eclipse Projects » GEF » Cursor implementation
Cursor implementation [message #84803] Mon, 23 June 2003 13:08 Go to next message
Eclipse UserFriend
Originally posted by: kmn.elewise.com

We are working on creation of GEF-based xhtml-like wysiwyg editor.
On the current stage there is version
one of the most difficult issue is cursor implementation (something close
to dreamweaver).
AFAIR, there are no (and likely will not be in the future) cursor support
for such tasks in GEF.

Problem 1. How to represent styled text (we are using 1:1 tag:class
hierarchy in the Model level),
and the most simpliest way from that point of view
- to represent each character as a separate EditPart. Thus we could traverse
through and select any
range of characters, change style individually or whole range. But as a
price - a tremendous overhead
as we need 3 objects for each character (model+figure+editpart).

Problem 2.
Re: Cursor implementation [message #84818 is a reply to message #84803] Mon, 23 June 2003 13:26 Go to previous message
Eclipse UserFriend
Originally posted by: kmn.elewise.com

Sorry, ingore this message for this moment...
I will write it later...

"Michael Korotaev" <kmn@elewise.com> wrote in message
news:bd78v4$n34$1@rogue.oti.com...
> We are working on creation of GEF-based xhtml-like wysiwyg editor.
> On the current stage there is version
> one of the most difficult issue is cursor implementation (something close
> to dreamweaver).
> AFAIR, there are no (and likely will not be in the future) cursor support
> for such tasks in GEF.
>
> Problem 1. How to represent styled text (we are using 1:1 tag:class
> hierarchy in the Model level),
> and the most simpliest way from that point of view
> - to represent each character as a separate EditPart. Thus we could
traverse
> through and select any
> range of characters, change style individually or whole range. But as a
> price - a tremendous overhead
> as we need 3 objects for each character (model+figure+editpart).
>
> Problem 2.
>
>
Previous Topic:How to let GEF run outside Eclipse platform?
Next Topic:Executing Commands
Goto Forum:
  


Current Time: Wed Apr 30 08:56:24 EDT 2025

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

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

Back to the top