Skip to main content



      Home
Home » Eclipse Projects » GEF » draw2D as WYSIWYG editor
draw2D as WYSIWYG editor [message #69134] Mon, 10 March 2003 20:42 Go to next message
Eclipse UserFriend
Originally posted by: oro7d3.netscape.net

Hi,
Can I use draw2D/GEF to implement a WYSIWYG editor?
I know draw2D/GEF supports direct edit, but can I implement a WYSIWYG editor
using draw2d/GEF? In direct edit, it popups a cell editor for editing, but
what I would like is it actually edit on the diagram? and I can highlight
certain text and change the color/size of the font.

Thank you.
Re: draw2D as WYSIWYG editor [message #69174 is a reply to message #69134] Tue, 11 March 2003 10:08 Go to previous messageGo to next message
Eclipse UserFriend
oro wrote:
> Hi,
> Can I use draw2D/GEF to implement a WYSIWYG editor?

Yes. Check out the org.eclipse.draw2d.text package.

> I know draw2D/GEF supports direct edit, but can I implement a WYSIWYG editor
> using draw2d/GEF? In direct edit, it popups a cell editor for editing, but
> what I would like is it actually edit on the diagram? and I can highlight
> certain text and change the color/size of the font.
>
> Thank you.
>
>
Re: draw2D as WYSIWYG editor [message #69194 is a reply to message #69134] Tue, 11 March 2003 10:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Websphere's Page Designer has managed to do exactly this. In order to do
this, they had to extend the notion of selection, and create Tools that
managed a Caret. It is definitely a lot of work, but I believe that
draw2d's layout, paint, and coordinate systems helped the Page Designer team
a lot. The GEF MVC architecture also helps map the HTML DOM into the
necessary figures.

"oro" <oro7d3@netscape.net> wrote in message
news:b4jfc7$ug6$1@rogue.oti.com...
> Hi,
> Can I use draw2D/GEF to implement a WYSIWYG editor?
> I know draw2D/GEF supports direct edit, but can I implement a WYSIWYG
editor
> using draw2d/GEF? In direct edit, it popups a cell editor for editing,
but
> what I would like is it actually edit on the diagram? and I can highlight
> certain text and change the color/size of the font.
>
> Thank you.
>
>
Re: draw2D as WYSIWYG editor [message #69214 is a reply to message #69194] Tue, 11 March 2003 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oro7d3.netscape.net

Thanks for all the response.

Will draw2d provide some of this enhancement in the future?
E.g extend the notion of selection, and create Tools that managed a Caret?

Thanks.

"Randy Hudson" <none@us.ibm.com> wrote in message
news:b4l0em$vjj$1@rogue.oti.com...
> Websphere's Page Designer has managed to do exactly this. In order to do
> this, they had to extend the notion of selection, and create Tools that
> managed a Caret. It is definitely a lot of work, but I believe that
> draw2d's layout, paint, and coordinate systems helped the Page Designer
team
> a lot. The GEF MVC architecture also helps map the HTML DOM into the
> necessary figures.
>
> "oro" <oro7d3@netscape.net> wrote in message
> news:b4jfc7$ug6$1@rogue.oti.com...
> > Hi,
> > Can I use draw2D/GEF to implement a WYSIWYG editor?
> > I know draw2D/GEF supports direct edit, but can I implement a WYSIWYG
> editor
> > using draw2d/GEF? In direct edit, it popups a cell editor for editing,
> but
> > what I would like is it actually edit on the diagram? and I can
highlight
> > certain text and change the color/size of the font.
> >
> > Thank you.
> >
> >
>
>
Re: draw2D as WYSIWYG editor [message #69233 is a reply to message #69214] Tue, 11 March 2003 11:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oro7d3.netscape.net

I am interesed in how to create tools to manage a Caret?
1. when I click somewhere on the diagram, it will show me a cursor and it
blinks.
2. and as I type a key, the character appears on the diagram and teh cursor
moves.

So do I create a Big TextFlow control in my diagram and I insert text as I
type in a key?
But how can I insert image to the diagram? or add a "button" in the diagram?
like what I can do in a WYSIWYG HTML editor?

Thanks for any tips.

"oro" <oro7d3@netscape.net> wrote in message
news:b4l1p3$16c$1@rogue.oti.com...
>
> Thanks for all the response.
>
> Will draw2d provide some of this enhancement in the future?
> E.g extend the notion of selection, and create Tools that managed a
Caret?
>
> Thanks.
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b4l0em$vjj$1@rogue.oti.com...
> > Websphere's Page Designer has managed to do exactly this. In order to
do
> > this, they had to extend the notion of selection, and create Tools that
> > managed a Caret. It is definitely a lot of work, but I believe that
> > draw2d's layout, paint, and coordinate systems helped the Page Designer
> team
> > a lot. The GEF MVC architecture also helps map the HTML DOM into the
> > necessary figures.
> >
> > "oro" <oro7d3@netscape.net> wrote in message
> > news:b4jfc7$ug6$1@rogue.oti.com...
> > > Hi,
> > > Can I use draw2D/GEF to implement a WYSIWYG editor?
> > > I know draw2D/GEF supports direct edit, but can I implement a WYSIWYG
> > editor
> > > using draw2d/GEF? In direct edit, it popups a cell editor for
editing,
> > but
> > > what I would like is it actually edit on the diagram? and I can
> highlight
> > > certain text and change the color/size of the font.
> > >
> > > Thank you.
> > >
> > >
> >
> >
>
>
Re: draw2D as WYSIWYG editor [message #90109 is a reply to message #69233] Fri, 08 August 2003 11:33 Go to previous message
Eclipse UserFriend
Originally posted by: rajujacob_c.yahoo.com

Hi,
did you manage to get a solution for this, me too very much
interested on same...

thanks
Raju

oro wrote:
> I am interesed in how to create tools to manage a Caret?
> 1. when I click somewhere on the diagram, it will show me a cursor and it
> blinks.
> 2. and as I type a key, the character appears on the diagram and teh cursor
> moves.
>
> So do I create a Big TextFlow control in my diagram and I insert text as I
> type in a key?
> But how can I insert image to the diagram? or add a "button" in the diagram?
> like what I can do in a WYSIWYG HTML editor?
>
> Thanks for any tips.
>
> "oro" <oro7d3@netscape.net> wrote in message
> news:b4l1p3$16c$1@rogue.oti.com...
>
>>Thanks for all the response.
>>
>>Will draw2d provide some of this enhancement in the future?
>>E.g extend the notion of selection, and create Tools that managed a
>
> Caret?
>
>>Thanks.
>>
>>"Randy Hudson" <none@us.ibm.com> wrote in message
>>news:b4l0em$vjj$1@rogue.oti.com...
>>
>>>Websphere's Page Designer has managed to do exactly this. In order to
>
> do
>
>>>this, they had to extend the notion of selection, and create Tools that
>>>managed a Caret. It is definitely a lot of work, but I believe that
>>>draw2d's layout, paint, and coordinate systems helped the Page Designer
>>
>>team
>>
>>>a lot. The GEF MVC architecture also helps map the HTML DOM into the
>>>necessary figures.
>>>
>>>"oro" <oro7d3@netscape.net> wrote in message
>>>news:b4jfc7$ug6$1@rogue.oti.com...
>>>
>>>>Hi,
>>>>Can I use draw2D/GEF to implement a WYSIWYG editor?
>>>>I know draw2D/GEF supports direct edit, but can I implement a WYSIWYG
>>>
>>>editor
>>>
>>>>using draw2d/GEF? In direct edit, it popups a cell editor for
>
> editing,
>
>>>but
>>>
>>>>what I would like is it actually edit on the diagram? and I can
>>
>>highlight
>>
>>>>certain text and change the color/size of the font.
>>>>
>>>>Thank you.
>>>>
>>>>
>>>
>>>
>>
>
>
Previous Topic:Scaling to viewport?
Next Topic:Draw2d in ViewPart
Goto Forum:
  


Current Time: Sat May 10 09:14:20 EDT 2025

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

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

Back to the top