Paint Figure Option!!! [message #180726] |
Tue, 10 May 2005 05:35 |
Eclipse User |
|
|
|
Originally posted by: gautamn.iitk.ac.in
Hi,
I am making a diagram editor using GEF. I want to add a brush in my
palette which can be used to draw some continous lines as it can be done
in mspaint,paintviewer,etc. How can I do it in my editor?? Also I want to
fill colors different figures(rectangle,circle,ellipse) using various
colors. How can I do it using GEF?
Regards,
Nitin Gautam.
|
|
|
|
Re: Paint Figure Option!!! [message #181070 is a reply to message #181045] |
Thu, 12 May 2005 04:07 |
Eclipse User |
|
|
|
Originally posted by: gautamn.iitk.ac.in
Hi,
if I want to add specified color to my different figures and want to
provide user color chooser then what I have to do??
Moreover I want to add pop up windows for various alerts...How to do
it???
Regards,
Nitin Gautam.
|
|
|
Re: Paint Figure Option!!! [message #181093 is a reply to message #181070] |
Thu, 12 May 2005 13:13 |
Eclipse User |
|
|
|
Originally posted by: gslade.no.spam.us.ibm.com
>add specified color to my different figures
As Pratik has already said, set the figure opaque and set its background
color
>provide user color chooser
see org.eclipse.swt.widgets.ColorDialog
>add pop up windows for various alerts
maybe a dialog is what you want to use. See org.eclipse.jface.dialogs.Dialog
Guy
Nitin Gautam wrote:
> Hi,
> if I want to add specified color to my different figures and want to
> provide user color chooser then what I have to do??
> Moreover I want to add pop up windows for various alerts...How to do
> it??? Regards,
> Nitin Gautam.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03093 seconds