Skip to main content



      Home
Home » Eclipse Projects » GEF » Please tell me if this is doable
Please tell me if this is doable [message #60116] Thu, 30 January 2003 10:34 Go to next message
Eclipse UserFriend
Originally posted by: jim.azeltine.indus.com

Here is the challenge:
1. Create a Palette with Group, Text, Label, and Table widgets.
2. Build a display of sets of these widgets from a serialized
representation
of a screen layout, including the text values for the Labels and Table

Column headings, rows and columns.
3. Be able to manipulate the size and screen position of the widgets (by
dragging), change the text content of the Labels.
4. Be able to add new Labels and Texts, to include the text content of the
Labels.
5. Be able to delete Labels and Texts.
6. The size of a containing Group would either be dynamic based on the
movement of the child widgets, or by dragging the boundary.

If this is doable using the existing GEF version, any hints on where to
start
would be appreciated.

Jim
Re: Please tell me if this is doable [message #60140 is a reply to message #60116] Thu, 30 January 2003 11:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

GUI builders are sometimes implemented by building the real "widgets"
offscreen, and taking a capture of their appearance. See WSAD 5.0 Swing/AWT
builder for an example of this, built on GEF.

When you say Table widget, if you are referring to the SWT Table, this might
be difficult. I'm not sure if "screen scraping" works for those widgets
when they are offscreen.

"Jim Azeltine" <jim.azeltine@indus.com> wrote in message
news:b1bglq$vb0$1@rogue.oti.com...
> Here is the challenge:
> 1. Create a Palette with Group, Text, Label, and Table widgets.
> 2. Build a display of sets of these widgets from a serialized
> representation
> of a screen layout, including the text values for the Labels and Table
>
> Column headings, rows and columns.
> 3. Be able to manipulate the size and screen position of the widgets (by
> dragging), change the text content of the Labels.
> 4. Be able to add new Labels and Texts, to include the text content of the
> Labels.
> 5. Be able to delete Labels and Texts.
> 6. The size of a containing Group would either be dynamic based on the
> movement of the child widgets, or by dragging the boundary.
>
> If this is doable using the existing GEF version, any hints on where to
> start
> would be appreciated.
>
> Jim
>
Re: Please tell me if this is doable [message #60187 is a reply to message #60140] Thu, 30 January 2003 11:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jim.azeltine.indus.com

You did not address the question of text manipulation. I get the
impression that GEF does not deal with a real widget, in the case of a
Label or Text, it would just be a Rectangle, and not be able to contain
any text. This would mean that there would have to be 2 separate steps to
performing an edit, one graphical one, and another to manage the text, is
this the case?

Randy Hudson wrote:

> GUI builders are sometimes implemented by building the real "widgets"
> offscreen, and taking a capture of their appearance. See WSAD 5.0 Swing/AWT
> builder for an example of this, built on GEF.

> When you say Table widget, if you are referring to the SWT Table, this might
> be difficult. I'm not sure if "screen scraping" works for those widgets
> when they are offscreen.

> "Jim Azeltine" <jim.azeltine@indus.com> wrote in message
> news:b1bglq$vb0$1@rogue.oti.com...
> > Here is the challenge:
> > 1. Create a Palette with Group, Text, Label, and Table widgets.
> > 2. Build a display of sets of these widgets from a serialized
> > representation
> > of a screen layout, including the text values for the Labels and Table
> >
> > Column headings, rows and columns.
> > 3. Be able to manipulate the size and screen position of the widgets (by
> > dragging), change the text content of the Labels.
> > 4. Be able to add new Labels and Texts, to include the text content of the
> > Labels.
> > 5. Be able to delete Labels and Texts.
> > 6. The size of a containing Group would either be dynamic based on the
> > movement of the child widgets, or by dragging the boundary.
> >
> > If this is doable using the existing GEF version, any hints on where to
> > start
> > would be appreciated.
> >
> > Jim
> >
Re: Please tell me if this is doable [message #60284 is a reply to message #60187] Thu, 30 January 2003 14:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You can edit text in the same way that you can edit text in a Tree. Via
CellEditor. GEF lets you overlay a CellEditor on top of a figure in your
diagram.

"Jim Azeltine" <jim.azeltine@indus.com> wrote in message
news:b1blg4$407$1@rogue.oti.com...
> You did not address the question of text manipulation. I get the
> impression that GEF does not deal with a real widget, in the case of a
> Label or Text, it would just be a Rectangle, and not be able to contain
> any text. This would mean that there would have to be 2 separate steps to
> performing an edit, one graphical one, and another to manage the text, is
> this the case?
>
> Randy Hudson wrote:
>
> > GUI builders are sometimes implemented by building the real "widgets"
> > offscreen, and taking a capture of their appearance. See WSAD 5.0
Swing/AWT
> > builder for an example of this, built on GEF.
>
> > When you say Table widget, if you are referring to the SWT Table, this
might
> > be difficult. I'm not sure if "screen scraping" works for those widgets
> > when they are offscreen.
>
> > "Jim Azeltine" <jim.azeltine@indus.com> wrote in message
> > news:b1bglq$vb0$1@rogue.oti.com...
> > > Here is the challenge:
> > > 1. Create a Palette with Group, Text, Label, and Table widgets.
> > > 2. Build a display of sets of these widgets from a serialized
> > > representation
> > > of a screen layout, including the text values for the Labels and
Table
> > >
> > > Column headings, rows and columns.
> > > 3. Be able to manipulate the size and screen position of the widgets
(by
> > > dragging), change the text content of the Labels.
> > > 4. Be able to add new Labels and Texts, to include the text content of
the
> > > Labels.
> > > 5. Be able to delete Labels and Texts.
> > > 6. The size of a containing Group would either be dynamic based on the
> > > movement of the child widgets, or by dragging the boundary.
> > >
> > > If this is doable using the existing GEF version, any hints on where
to
> > > start
> > > would be appreciated.
> > >
> > > Jim
> > >
>
>
>
>
>
Re: Please tell me if this is doable [message #61007 is a reply to message #60284] Fri, 31 January 2003 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jim.azeltine.indus.com

Since I cannot find the method to implement the overlay of a CellEditor on
top of a figure, could you direct me to where I can look this up, or give
direction?

Randy Hudson wrote:

> You can edit text in the same way that you can edit text in a Tree. Via
> CellEditor. GEF lets you overlay a CellEditor on top of a figure in your
> diagram.

> \"Jim Azeltine\" <jim.azeltine@indus.com> wrote in message
> news:b1blg4$407$1@rogue.oti.com...
> > You did not address the question of text manipulation. I get the
> > impression that GEF does not deal with a real widget, in the case of a
> > Label or Text, it would just be a Rectangle, and not be able to contain
> > any text. This would mean that there would have to be 2 separate steps to
> > performing an edit, one graphical one, and another to manage the text, is
> > this the case?
> >
> > Randy Hudson wrote:
> >
> > > GUI builders are sometimes implemented by building the real \"widgets\"
> > > offscreen, and taking a capture of their appearance. See WSAD 5.0
> Swing/AWT
> > > builder for an example of this, built on GEF.
> >
> > > When you say Table widget, if you are referring to the SWT Table, this
> might
> > > be difficult. I\'m not sure if \"screen scraping\" works for those
widgets
> > > when they are offscreen.
> >
> > > \"Jim Azeltine\" <jim.azeltine@indus.com> wrote in message
> > > news:b1bglq$vb0$1@rogue.oti.com...
> > > > Here is the challenge:
> > > > 1. Create a Palette with Group, Text, Label, and Table widgets.
> > > > 2. Build a display of sets of these widgets from a serialized
> > > > representation
> > > > of a screen layout, including the text values for the Labels and
> Table
> > > >
> > > > Column headings, rows and columns.
> > > > 3. Be able to manipulate the size and screen position of the widgets
> (by
> > > > dragging), change the text content of the Labels.
> > > > 4. Be able to add new Labels and Texts, to include the text content of
> the
> > > > Labels.
> > > > 5. Be able to delete Labels and Texts.
> > > > 6. The size of a containing Group would either be dynamic based on the
> > > > movement of the child widgets, or by dragging the boundary.
> > > >
> > > > If this is doable using the existing GEF version, any hints on where
> to
> > > > start
> > > > would be appreciated.
> > > >
> > > > Jim
> > > >
> >
> >
> >
> >
> >
Re: Please tell me if this is doable [message #61026 is a reply to message #61007] Fri, 31 January 2003 11:06 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Please see the Logic example's Label. Double-click on a label in the
example.

in code: LabelEditPart.performDirectEdit()

"Jim Azeltine" <jim.azeltine@indus.com> wrote in message
news:b1e5ka$peh$1@rogue.oti.com...
> Since I cannot find the method to implement the overlay of a CellEditor on
> top of a figure, could you direct me to where I can look this up, or give
> direction?
>
> Randy Hudson wrote:
>
> > You can edit text in the same way that you can edit text in a Tree. Via
> > CellEditor. GEF lets you overlay a CellEditor on top of a figure in
your
> > diagram.
>
> > \"Jim Azeltine\" <jim.azeltine@indus.com> wrote in message
> > news:b1blg4$407$1@rogue.oti.com...
> > > You did not address the question of text manipulation. I get the
> > > impression that GEF does not deal with a real widget, in the case of a
> > > Label or Text, it would just be a Rectangle, and not be able to
contain
> > > any text. This would mean that there would have to be 2 separate steps
to
> > > performing an edit, one graphical one, and another to manage the text,
is
> > > this the case?
> > >
> > > Randy Hudson wrote:
> > >
> > > > GUI builders are sometimes implemented by building the real
\"widgets\"
> > > > offscreen, and taking a capture of their appearance. See WSAD 5.0
> > Swing/AWT
> > > > builder for an example of this, built on GEF.
> > >
> > > > When you say Table widget, if you are referring to the SWT Table,
this
> > might
> > > > be difficult. I\'m not sure if \"screen scraping\" works for those
> widgets
> > > > when they are offscreen.
> > >
> > > > \"Jim Azeltine\" <jim.azeltine@indus.com> wrote in message
> > > > news:b1bglq$vb0$1@rogue.oti.com...
> > > > > Here is the challenge:
> > > > > 1. Create a Palette with Group, Text, Label, and Table widgets.
> > > > > 2. Build a display of sets of these widgets from a serialized
> > > > > representation
> > > > > of a screen layout, including the text values for the Labels
and
> > Table
> > > > >
> > > > > Column headings, rows and columns.
> > > > > 3. Be able to manipulate the size and screen position of the
widgets
> > (by
> > > > > dragging), change the text content of the Labels.
> > > > > 4. Be able to add new Labels and Texts, to include the text
content of
> > the
> > > > > Labels.
> > > > > 5. Be able to delete Labels and Texts.
> > > > > 6. The size of a containing Group would either be dynamic based on
the
> > > > > movement of the child widgets, or by dragging the boundary.
> > > > >
> > > > > If this is doable using the existing GEF version, any hints on
where
> > to
> > > > > start
> > > > > would be appreciated.
> > > > >
> > > > > Jim
> > > > >
> > >
> > >
> > >
> > >
> > >
>
>
>
>
>
Previous Topic:figure in eclipse view
Next Topic:Standard actions problem
Goto Forum:
  


Current Time: Sun Jun 01 01:21:42 EDT 2025

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

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

Back to the top