|
|
|
|
|
Re: Using SWT control as figure in GEF editor [message #212997 is a reply to message #212974] |
Fri, 31 March 2006 13:38   |
Eclipse User |
|
|
|
Originally posted by: adisesha.j.gmail.com
Sebastián Gurin wrote:
> Hi,
>
> First of all, excuse me for my bad english.
>
> Well, I'm also interested in putting GUI Widgets in the canvas of the
> editor. I'm not concerned if they are swing or swt widgets. I looked in VE
> source but couldn't find anything. Also, I don't want to ask this in the VE
> newsgroup, since this is not a VE topic.
>
> somebody has some idea/tips/docs/anything on how to do this?
>
> Thanks on advance.
>
> "exquisitus" <mateu.yabar@justinmind.com> wrote in news:e0g66i$b9$1
> @utils.eclipse.org:
>
>> Hi,
>>
>> I'm also interested in this topic, but I've been looking at VE, but I
>> haven't found how it is done. Could any one be more specific?
>>
>> Thanks
>>
>>
>> "Sunil Kamath" <sunil_kamath@nohotspammail.com> escribió en el mensaje
>> news:e01cco$6bf$1@utils.eclipse.org...
>>> George Meringov <gflower@bk.ru> wrote:
>>>> Hi,
>>>>
>>>> How to paint a figure containing SWT control (for example button) for
>>>> using in graphical editor based on GEF?
>>>>
>>> See how VE does it.
>>>
>>> --
>>> Sunil
>>>
>>
>
Have you looked at draw2d figures?. It has figures like 'Button' etc
which can be drawn on GEF editor.
regards,
Adi.
|
|
|
|
|
|
|
|
|
|
Re: Using SWT control as figure in GEF editor [message #215273 is a reply to message #215170] |
Fri, 28 April 2006 13:10  |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
exquisitus <mateu.yabar@justinmind.com> wrote:
> I don't know the diference between hevy and light, sorry. But the
> widgets are live, exaclty as I wanted! If you only want the image,
> make a snapshot! If you want the whole functionality this is a way.
>
What "whole functionality" do you get by adding heavyweight widgets to your
figure canvas?
The widgets don't actually do anything, do they?
Also, GEF will not be able to draw on top of the heavyweight widgets.
e.g., if there is a guide line, it will pass behind the widget.
When you are dragging a figure and it passes over a heavywieght widget, the
selection feedback will not be seen.
If that's what you want, then you have the right strategy.
Excuse me for thinking that it defeats the whole purpose of a graphical
editing environment.
--
Sunil
|
|
|
Powered by
FUDForum. Page generated in 0.04694 seconds