Skip to main content



      Home
Home » Eclipse Projects » GEF » SWT widgets as children of an IFigure object...
SWT widgets as children of an IFigure object... [message #107484] Mon, 01 December 2003 13:00 Go to next message
Eclipse UserFriend
Hi!

I have a requirement to be able to nest SWT Widgets as children of figures.
I think this will require me to extend IFigure to something like ISWTFigure
and allow for SWT widgets to be children of IFigures and also allow for
mouse and keyboard messages to be forwarded to the SWT widgets when needed.
Is this something anyone else has come upon and dealt with already?

Shankar
Re: SWT widgets as children of an IFigure object... [message #107583 is a reply to message #107484] Mon, 01 December 2003 22:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Search (http://www.eclipse.org/search/search.cgi) newsgroup for "figure swt
control"
"Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in message
news:bqfvej$e7j$1@eclipse.org...
> Hi!
>
> I have a requirement to be able to nest SWT Widgets as children of
figures.
> I think this will require me to extend IFigure to something like
ISWTFigure
> and allow for SWT widgets to be children of IFigures and also allow for
> mouse and keyboard messages to be forwarded to the SWT widgets when
needed.
> Is this something anyone else has come upon and dealt with already?
>
> Shankar
>
>
Re: SWT widgets as children of an IFigure object... [message #107624 is a reply to message #107583] Tue, 02 December 2003 12:39 Go to previous messageGo to next message
Eclipse UserFriend
Randy,

Thanks for the pointer. I have a more fundamental question too..

I have been creating a graphical IDE for enabling painting of forms and
widgets for my company's products in Eclipse. These forms had to do some
significant amount of work to ensure that the widgets display in their true
form, but do not respond to keyboard events (since one should not be able to
"use" the widgets in design mode). Now that VE is released, I am wondering
if I should actually be building this on the VE SDK or continue on this
route. I am actually very impressed with the additional flexibility provided
by the VE model due to the fact that it runs the controls in a seperate VM
and draws them on the IDE. This would really help make application
development for our platform a lot more quicker, since it would allow us to
truly show nesting of forms, instead of showing them as a big slot.

Would really appreciate your thoughts / suggestions / opinions on this. It
would help us make the right decision going forward.

Shankar

"Randy Hudson" <none@us.ibm.com> wrote in message
news:bqgva3$ked$1@eclipse.org...
> Search (http://www.eclipse.org/search/search.cgi) newsgroup for "figure
swt
> control"
> "Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in
message
> news:bqfvej$e7j$1@eclipse.org...
> > Hi!
> >
> > I have a requirement to be able to nest SWT Widgets as children of
> figures.
> > I think this will require me to extend IFigure to something like
> ISWTFigure
> > and allow for SWT widgets to be children of IFigures and also allow for
> > mouse and keyboard messages to be forwarded to the SWT widgets when
> needed.
> > Is this something anyone else has come upon and dealt with already?
> >
> > Shankar
> >
> >
>
>
Re: SWT widgets as children of an IFigure object... [message #107657 is a reply to message #107624] Tue, 02 December 2003 13:11 Go to previous messageGo to next message
Eclipse UserFriend
And one more thing.. This is actually for a web application, hence I am
using a GridLayout to simulate the table based structure of our HTML. Would
really love to see a HTML Layout sometime in the future!

Shankar

"Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in message
news:bqiije$hej$1@eclipse.org...
> Randy,
>
> Thanks for the pointer. I have a more fundamental question too..
>
> I have been creating a graphical IDE for enabling painting of forms and
> widgets for my company's products in Eclipse. These forms had to do some
> significant amount of work to ensure that the widgets display in their
true
> form, but do not respond to keyboard events (since one should not be able
to
> "use" the widgets in design mode). Now that VE is released, I am wondering
> if I should actually be building this on the VE SDK or continue on this
> route. I am actually very impressed with the additional flexibility
provided
> by the VE model due to the fact that it runs the controls in a seperate VM
> and draws them on the IDE. This would really help make application
> development for our platform a lot more quicker, since it would allow us
to
> truly show nesting of forms, instead of showing them as a big slot.
>
> Would really appreciate your thoughts / suggestions / opinions on this. It
> would help us make the right decision going forward.
>
> Shankar
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:bqgva3$ked$1@eclipse.org...
> > Search (http://www.eclipse.org/search/search.cgi) newsgroup for "figure
> swt
> > control"
> > "Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in
> message
> > news:bqfvej$e7j$1@eclipse.org...
> > > Hi!
> > >
> > > I have a requirement to be able to nest SWT Widgets as children of
> > figures.
> > > I think this will require me to extend IFigure to something like
> > ISWTFigure
> > > and allow for SWT widgets to be children of IFigures and also allow
for
> > > mouse and keyboard messages to be forwarded to the SWT widgets when
> > needed.
> > > Is this something anyone else has come upon and dealt with already?
> > >
> > > Shankar
> > >
> > >
> >
> >
>
>
Re: SWT widgets as children of an IFigure object... [message #107670 is a reply to message #107624] Tue, 02 December 2003 13:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I'm not sure why you would want to suffer the overhead of starting up
another process when you can create the same controls already. Not to
mention all the dependencies which would be introduced. To make them not
enabled, use Control.setEnabled(false). Sometimes calling setEnabled will
change the appearance of the control, but, if you call setEnabled on the
control's parent, its appearance is not changed.

There is an HTML editor based on GEF available in WSAD. It is an extremely
large amount of work to render HTML. There are no plans at this point to
recreate or redistribute this code.

"Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in message
news:bqiije$hej$1@eclipse.org...
> Randy,
>
> Thanks for the pointer. I have a more fundamental question too..
>
> I have been creating a graphical IDE for enabling painting of forms and
> widgets for my company's products in Eclipse. These forms had to do some
> significant amount of work to ensure that the widgets display in their
true
> form, but do not respond to keyboard events (since one should not be able
to
> "use" the widgets in design mode). Now that VE is released, I am wondering
> if I should actually be building this on the VE SDK or continue on this
> route. I am actually very impressed with the additional flexibility
provided
> by the VE model due to the fact that it runs the controls in a seperate VM
> and draws them on the IDE. This would really help make application
> development for our platform a lot more quicker, since it would allow us
to
> truly show nesting of forms, instead of showing them as a big slot.
>
> Would really appreciate your thoughts / suggestions / opinions on this. It
> would help us make the right decision going forward.
>
> Shankar
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:bqgva3$ked$1@eclipse.org...
> > Search (http://www.eclipse.org/search/search.cgi) newsgroup for "figure
> swt
> > control"
> > "Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in
> message
> > news:bqfvej$e7j$1@eclipse.org...
> > > Hi!
> > >
> > > I have a requirement to be able to nest SWT Widgets as children of
> > figures.
> > > I think this will require me to extend IFigure to something like
> > ISWTFigure
> > > and allow for SWT widgets to be children of IFigures and also allow
for
> > > mouse and keyboard messages to be forwarded to the SWT widgets when
> > needed.
> > > Is this something anyone else has come upon and dealt with already?
> > >
> > > Shankar
> > >
> > >
> >
> >
>
>
Re: SWT widgets as children of an IFigure object... [message #107710 is a reply to message #107670] Tue, 02 December 2003 15:05 Go to previous message
Eclipse UserFriend
Thank you very much for your suggestions. We have been toying around (in the
last few hours!) with the idea of doing the VE style piece for a preview
mode on our editor, when we get around to doing the preview mode. For now, I
am going to stick with the direction we are going in.

Shankar


"Randy Hudson" <none@us.ibm.com> wrote in message
news:bqikv2$l12$1@eclipse.org...
> I'm not sure why you would want to suffer the overhead of starting up
> another process when you can create the same controls already. Not to
> mention all the dependencies which would be introduced. To make them not
> enabled, use Control.setEnabled(false). Sometimes calling setEnabled will
> change the appearance of the control, but, if you call setEnabled on the
> control's parent, its appearance is not changed.
>
> There is an HTML editor based on GEF available in WSAD. It is an
extremely
> large amount of work to render HTML. There are no plans at this point to
> recreate or redistribute this code.
>
> "Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in
message
> news:bqiije$hej$1@eclipse.org...
> > Randy,
> >
> > Thanks for the pointer. I have a more fundamental question too..
> >
> > I have been creating a graphical IDE for enabling painting of forms and
> > widgets for my company's products in Eclipse. These forms had to do some
> > significant amount of work to ensure that the widgets display in their
> true
> > form, but do not respond to keyboard events (since one should not be
able
> to
> > "use" the widgets in design mode). Now that VE is released, I am
wondering
> > if I should actually be building this on the VE SDK or continue on this
> > route. I am actually very impressed with the additional flexibility
> provided
> > by the VE model due to the fact that it runs the controls in a seperate
VM
> > and draws them on the IDE. This would really help make application
> > development for our platform a lot more quicker, since it would allow us
> to
> > truly show nesting of forms, instead of showing them as a big slot.
> >
> > Would really appreciate your thoughts / suggestions / opinions on this.
It
> > would help us make the right decision going forward.
> >
> > Shankar
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:bqgva3$ked$1@eclipse.org...
> > > Search (http://www.eclipse.org/search/search.cgi) newsgroup for
"figure
> > swt
> > > control"
> > > "Shankar Venkataraman" <shankar.venkataraman@epiphany.com> wrote in
> > message
> > > news:bqfvej$e7j$1@eclipse.org...
> > > > Hi!
> > > >
> > > > I have a requirement to be able to nest SWT Widgets as children of
> > > figures.
> > > > I think this will require me to extend IFigure to something like
> > > ISWTFigure
> > > > and allow for SWT widgets to be children of IFigures and also allow
> for
> > > > mouse and keyboard messages to be forwarded to the SWT widgets when
> > > needed.
> > > > Is this something anyone else has come upon and dealt with already?
> > > >
> > > > Shankar
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Previous Topic:Package Private methods in AbstractTool
Next Topic:Border with shapes
Goto Forum:
  


Current Time: Sun May 11 13:17:36 EDT 2025

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

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

Back to the top