Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] How to use package org.eclipse.draw2d.text to implement the WYSIWYG documents

Alan,

Firstly, since you have found this list, I take it that you are familiar with the existence of GEF as a companion to Draw2d. GEF provides a Model/View/Controller editing framework for figures.

Take a look at GEF, in particular the Logic Editor example and its class LogicLabelEditManager (extends DirectEditManager) and associated EditParts and Policies. This should provide you with a good introduction on how text can be directly edited.

HTH

Brett Randall

From: "alan" <chaochuny@xxxxxxxxxxx>
Reply-To: gef-dev@xxxxxxxxxxx
To: <gef-dev@xxxxxxxxxxx>
Subject: [gef-dev] How to use package org.eclipse.draw2d.text to implement the WYSIWYG documents
Date: Tue, 18 Nov 2003 09:29:25 +0800

Dear friend:
I want to use package org.eclipse.draw2d.text to implement the WYSIWYG documents ,I have seen some letters about using the draw2d to realize the WYSIWYG documents,but I still don't know how to do it. I know the StyleText of SWT who can't using many styles of the font in a line,but the TextFlow of org.eclipse.draw2d.text can realize it .but I don't know how to make the TextFlow become Editable,,I can imput some letters by keyboard in StyleText ,but I can't do it in TextFlow ,How can I do using TextFlow
   If you have some other methods,I'm very happy to hear.

your friend:
   alan
03.11.18

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp



Back to the top