Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF right for block editor?
GEF right for block editor? [message #159579] Mon, 29 November 2004 17:08 Go to next message
Eclipse UserFriend
Originally posted by: sathibault.yahoo.com

Hello,

I need a block editor, and I'm wondering if GEF is the right way to go.

Looking at the examples, I notice that the routing is not that good (or
non-existant) and the display is not that nice. These may be problems
with the exmamples though, and not GEF. So, 1) Does GEF providing any
auto-routing (and specfically 90 degree only routing). 2) Is it easily
possible to improve the display with say thicker lines, anti-aliasing, and
maybe even rounded corners, for example?

The second problem I'm seeing is the eclipse platform itself seems to
support only one window per file. When working on a hierarchy of block
diagrams, one needs to be able to double-click on a block to open up its
sub-block in a second window and be able to alternate between the two
editing both the top block and sub-block. Is this possible? The only
solution I see is to used a tabbed widget in a single window, but I think
this would be really non-standard for a hierarchical block editor and not
well liked by the user.

Also, please let me know if there are any other frameworks that maybe I
should be considering as alternatives.

Thanks,
--Scott Thibault
Re: GEF right for block editor? [message #159603 is a reply to message #159579] Mon, 29 November 2004 17:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Scott Thibault" <sathibault@yahoo.com> wrote in message
news:cofl1v$dud$1@www.eclipse.org...
> Hello,
>
> I need a block editor, and I'm wondering if GEF is the right way to go.
>
> Looking at the examples, I notice that the routing is not that good (or
> non-existant) and the display is not that nice. These may be problems
> with the exmamples though, and not GEF. So, 1) Does GEF providing any
> auto-routing (and specfically 90 degree only routing). 2) Is it easily

See ShortestPathRouter. It is NOT orthogonal.

> possible to improve the display with say thicker lines, anti-aliasing, and
> maybe even rounded corners, for example?

We use what SWT gives us.

> The second problem I'm seeing is the eclipse platform itself seems to
> support only one window per file. When working on a hierarchy of block
> diagrams, one needs to be able to double-click on a block to open up its
> sub-block in a second window and be able to alternate between the two
> editing both the top block and sub-block. Is this possible? The only
> solution I see is to used a tabbed widget in a single window, but I think
> this would be really non-standard for a hierarchical block editor and not
> well liked by the user.

You can do tabs or browser-style navigation.

>
> Also, please let me know if there are any other frameworks that maybe I
> should be considering as alternatives.
>
> Thanks,
> --Scott Thibault
>
>
Re: GEF right for block editor? [message #159811 is a reply to message #159603] Tue, 30 November 2004 17:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: notmymail.mail.net

>
> "Scott Thibault" <sathibault@yahoo.com> wrote in message
> news:cofl1v$dud$1@www.eclipse.org...
>> Hello,
>>
>> I need a block editor, and I'm wondering if GEF is the right way to g=
o.
>>
>> Looking at the examples, I notice that the routing is not that good (=
or
>> non-existant) and the display is not that nice. These may be problem=
s
>> with the exmamples though, and not GEF. So, 1) Does GEF providing an=
y
>> auto-routing (and specfically 90 degree only routing). 2) Is it easi=
ly
>
> See ShortestPathRouter. It is NOT orthogonal.
>

Isn=C2=B4t that what the ManhattanRouter is?


>> possible to improve the display with say thicker lines, anti-aliasing=
, =

>> and
>> maybe even rounded corners, for example?
>
> We use what SWT gives us.
>

Check out this site:
http://www.holongate.org/holongate-2.0/gef/dev_docs.html
SCroll down to "Converting GEF applications"


>> The second problem I'm seeing is the eclipse platform itself seems to=

>> support only one window per file. When working on a hierarchy of blo=
ck
>> diagrams, one needs to be able to double-click on a block to open up =
its
>> sub-block in a second window and be able to alternate between the two=

>> editing both the top block and sub-block. Is this possible? The onl=
y
>> solution I see is to used a tabbed widget in a single window, but I =

>> think
>> this would be really non-standard for a hierarchical block editor and=
=

>> not
>> well liked by the user.
>
> You can do tabs or browser-style navigation.
>

Check out the example extension for MultiPageEditor.
In the IBM Webtools Examples.The XSD-Editor is a navigator style gef =

editor,
while the xml editor is tabbed. (as is the plugin maifest editor for =

example)
Re: GEF right for block editor? [message #159871 is a reply to message #159811] Tue, 30 November 2004 20:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

>> Looking at the examples, I notice that the routing is not that good (or
>> non-existant) and the display is not that nice. These may be problems
>> with the exmamples though, and not GEF. So, 1) Does GEF providing any
>> auto-routing (and specfically 90 degree only routing). 2) Is it easily
>
> See ShortestPathRouter. It is NOT orthogonal.
>

Isn
Re: GEF right for block editor? [message #159996 is a reply to message #159811] Wed, 01 December 2004 15:01 Go to previous message
Eclipse UserFriend
Originally posted by: sathibault.yahoo.com

Thanks for the answers. At this point, I'm thinking about trying to port
the Vergil editor from Ptolemy to a plug-in. It is a Swing application,
which I think is okay for eclipse, but can I use Swing with GEF?

My understanding is that it is already set up using a
viewer-controller-model architecture in swing. It's a very nice looking
editor. You can check it out at
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII4.0/ptII4.0.1 /doc/design/usingVergil/index.htm

--Scott

Frank Dyck wrote:

>>
>> "Scott Thibault" <sathibault@yahoo.com> wrote in message
>> news:cofl1v$dud$1@www.eclipse.org...
>>> Hello,
>>>
>>> I need a block editor, and I'm wondering if GEF is the right way to go.
>>>
>>> Looking at the examples, I notice that the routing is not that good (or
>>> non-existant) and the display is not that nice. These may be problems
>>> with the exmamples though, and not GEF. So, 1) Does GEF providing any
>>> auto-routing (and specfically 90 degree only routing). 2) Is it easily
>>
>> See ShortestPathRouter. It is NOT orthogonal.
>>

> IsnÂŽt that what the ManhattanRouter is?


>>> possible to improve the display with say thicker lines, anti-aliasing,
>>> and
>>> maybe even rounded corners, for example?
>>
>> We use what SWT gives us.
>>

> Check out this site:
> http://www.holongate.org/holongate-2.0/gef/dev_docs.html
> SCroll down to "Converting GEF applications"


>>> The second problem I'm seeing is the eclipse platform itself seems to
>>> support only one window per file. When working on a hierarchy of block
>>> diagrams, one needs to be able to double-click on a block to open up its
>>> sub-block in a second window and be able to alternate between the two
>>> editing both the top block and sub-block. Is this possible? The only
>>> solution I see is to used a tabbed widget in a single window, but I
>>> think
>>> this would be really non-standard for a hierarchical block editor and
>>> not
>>> well liked by the user.
>>
>> You can do tabs or browser-style navigation.
>>

> Check out the example extension for MultiPageEditor.
> In the IBM Webtools Examples.The XSD-Editor is a navigator style gef
> editor,
> while the xml editor is tabbed. (as is the plugin maifest editor for
> example)
Previous Topic:How to adapte the size of a figure to the size of its children ?
Next Topic:GEF and RCP - Where do they meet?
Goto Forum:
  


Current Time: Thu Apr 25 20:03:20 GMT 2024

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

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

Back to the top