Skip to main content



      Home
Home » Eclipse Projects » GEF » Selection box customization.
Selection box customization. [message #194765] Mon, 05 September 2005 17:17 Go to next message
Eclipse UserFriend
Originally posted by: kevin.cs.washington.edu

I'm trying to make a XML/DOM-based editor that supports both text and
images.

How do you make the EditPart selection look like a text input cursor
when you are using the keyboard to move the cursor next to an image, and
make it look like the normal selection box when you click the image?

I'm actually not sure how I'm going to implement the cursor (any hints
would be appreciated), but my first guess is to use an integer index
that maps to the DOM objects, and increment/decrement the cursor's
integer position according to keyboard/mouse navigation input.
Re: Selection box customization. [message #194773 is a reply to message #194765] Mon, 05 September 2005 17:19 Go to previous message
Eclipse UserFriend
Originally posted by: kevin.cs.washington.edu

Kevin Chiu wrote:
> I'm trying to make a XML/DOM-based editor that supports both text and
> images.
>
> How do you make the EditPart selection look like a text input cursor
> when you are using the keyboard to move the cursor next to an image, and
> make it look like the normal selection box when you click the image?
>
> I'm actually not sure how I'm going to implement the cursor (any hints
> would be appreciated), but my first guess is to use an integer index
> that maps to the DOM objects, and increment/decrement the cursor's
> integer position according to keyboard/mouse navigation input.

Gah, nevermind, stupid oversight.
Previous Topic:Copy,Paste Facility!!!
Next Topic:Moving a child part
Goto Forum:
  


Current Time: Sun Jun 08 15:55:08 EDT 2025

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

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

Back to the top