Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » The outline should reflect the whole model
The outline should reflect the whole model [message #64387] Tue, 17 October 2006 15:31 Go to next message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
Hi again,

my last post for the day ! Is there any plan to improve the outline that
is generated with an editor ?

1. Currently only top level elements are displayed, this is quite
restrictive, almost when model elements are contained into others. It
would be nice to a view of the model structure you are editing : like
this is done in EMF.

2. Then, I think that the outline should reflect only the model, and not
elements that are only graphical. For example, the "Note" element should
not be displayed into the outline view.

Any comment would be appreciated.


--
Jacques
Re: The outline should reflect the whole model [message #64989 is a reply to message #64387] Wed, 18 October 2006 11:37 Go to previous messageGo to next message
Artem Tikhomirov is currently offline Artem TikhomirovFriend
Messages: 222
Registered: July 2009
Senior Member
Perhaps, you should reopen
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136305


"Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
news:eh2t0f$2k4$1@utils.eclipse.org...
> Hi again,
>
> my last post for the day ! Is there any plan to improve the outline that
> is generated with an editor ?
>
> 1. Currently only top level elements are displayed, this is quite
> restrictive, almost when model elements are contained into others. It
> would be nice to a view of the model structure you are editing : like this
> is done in EMF.
>
> 2. Then, I think that the outline should reflect only the model, and not
> elements that are only graphical. For example, the "Note" element should
> not be displayed into the outline view.
>
> Any comment would be appreciated.
>
>
> --
> Jacques
Re: The outline should reflect the whole model [message #65293 is a reply to message #64989] Wed, 18 October 2006 14:15 Go to previous messageGo to next message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
It seems that I have not the permission to reopen that bug. Thus, I
wonder why that bug was resolved as "WONTFIX" ? Is there a particular
reason not to improve the outline ?

Jacques

Artem Tikhomirov a écrit :
> Perhaps, you should reopen
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=136305
>
>
> "Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
> news:eh2t0f$2k4$1@utils.eclipse.org...
>> Hi again,
>>
>> my last post for the day ! Is there any plan to improve the outline that
>> is generated with an editor ?
>>
>> 1. Currently only top level elements are displayed, this is quite
>> restrictive, almost when model elements are contained into others. It
>> would be nice to a view of the model structure you are editing : like this
>> is done in EMF.
>>
>> 2. Then, I think that the outline should reflect only the model, and not
>> elements that are only graphical. For example, the "Note" element should
>> not be displayed into the outline view.
>>
>> Any comment would be appreciated.
>>
>>
>> --
>> Jacques
>
>
Re: The outline should reflect the whole model [message #65635 is a reply to message #65293] Thu, 19 October 2006 14:44 Go to previous messageGo to next message
Cherie Revells is currently offline Cherie RevellsFriend
Messages: 299
Registered: July 2009
Senior Member
Jacques,

The Outline View contains an outline of the currently open editor. The
editor is a diagram so the outline view will show an outline of the
diagram not the model. I don't think it makes sense to show an outline
of the model because the diagram may be a picture of just *some* model
elements.

I think what you want is a model explorer view, but this is not the
intent of the outline view in GMF (at least not when it was developed,
but that could always change).

If we were to expand into top-level shapes in the outline view, what
would you use it for? I have a feeling the next request would be to be
able to manipulate the model from the outline view, but this isn't the
intent of the outline view. It's not a model explorer. Maybe we need a
model explorer? Maybe the outline tree view isn't useful as it is so we
should make it into something else?

Regards,
Cherie

Jacques LESCOT wrote:
> It seems that I have not the permission to reopen that bug. Thus, I
> wonder why that bug was resolved as "WONTFIX" ? Is there a particular
> reason not to improve the outline ?
>
> Jacques
>
> Artem Tikhomirov a écrit :
>> Perhaps, you should reopen
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=136305
>>
>>
>> "Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
>> news:eh2t0f$2k4$1@utils.eclipse.org...
>>> Hi again,
>>>
>>> my last post for the day ! Is there any plan to improve the outline
>>> that is generated with an editor ?
>>>
>>> 1. Currently only top level elements are displayed, this is quite
>>> restrictive, almost when model elements are contained into others. It
>>> would be nice to a view of the model structure you are editing : like
>>> this is done in EMF.
>>>
>>> 2. Then, I think that the outline should reflect only the model, and
>>> not elements that are only graphical. For example, the "Note" element
>>> should not be displayed into the outline view.
>>>
>>> Any comment would be appreciated.
>>>
>>>
>>> --
>>> Jacques
>>
>>
Re: The outline should reflect the whole model [message #65678 is a reply to message #65635] Thu, 19 October 2006 15:34 Go to previous messageGo to next message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
Cherie,

Thanks for your response.

Indeed, I think the outline tree view is not useful IF it is used to
show only diagram elements. In my opinion, there is a better place for
that : the editor.

However, it would be a good thing to show model objects to restore a
diagram from existing elements by drag'n'drop from this view. And I
believe that a model explorer view is quite adapted. Then as you guess,
it could be a way to manipulate the model (this could be disabled to
prevent the user from doing bad actions). Another good point would be
that when an object is selected in the outline, the graphical part can
be selected in the editor and its properties are displayed in the
Properties View.

Regards,

--
Jacques

Cherie Revells a écrit :
> Jacques,
>
> The Outline View contains an outline of the currently open editor. The
> editor is a diagram so the outline view will show an outline of the
> diagram not the model. I don't think it makes sense to show an outline
> of the model because the diagram may be a picture of just *some* model
> elements.
>
> I think what you want is a model explorer view, but this is not the
> intent of the outline view in GMF (at least not when it was developed,
> but that could always change).
>
> If we were to expand into top-level shapes in the outline view, what
> would you use it for? I have a feeling the next request would be to be
> able to manipulate the model from the outline view, but this isn't the
> intent of the outline view. It's not a model explorer. Maybe we need a
> model explorer? Maybe the outline tree view isn't useful as it is so we
> should make it into something else?
>
> Regards,
> Cherie
>
> Jacques LESCOT wrote:
>> It seems that I have not the permission to reopen that bug. Thus, I
>> wonder why that bug was resolved as "WONTFIX" ? Is there a particular
>> reason not to improve the outline ?
>>
>> Jacques
>>
>> Artem Tikhomirov a écrit :
>>> Perhaps, you should reopen
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=136305
>>>
>>>
>>> "Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
>>> news:eh2t0f$2k4$1@utils.eclipse.org...
>>>> Hi again,
>>>>
>>>> my last post for the day ! Is there any plan to improve the outline
>>>> that is generated with an editor ?
>>>>
>>>> 1. Currently only top level elements are displayed, this is quite
>>>> restrictive, almost when model elements are contained into others.
>>>> It would be nice to a view of the model structure you are editing :
>>>> like this is done in EMF.
>>>>
>>>> 2. Then, I think that the outline should reflect only the model, and
>>>> not elements that are only graphical. For example, the "Note"
>>>> element should not be displayed into the outline view.
>>>>
>>>> Any comment would be appreciated.
>>>>
>>>>
>>>> --
>>>> Jacques
>>>
>>>
Re: The outline should reflect the whole model [message #82202 is a reply to message #65678] Sat, 02 December 2006 09:42 Go to previous messageGo to next message
Wiktor is currently offline WiktorFriend
Messages: 55
Registered: July 2009
Member
Hi Jacques,

Did you manage to solve this problem?
I think that I need exactly what you needed - EMF editor(outline view)
instead of GMF tree, which is also useless in my opinion.

Thanx
Wiktor
Re: The outline should reflect the whole model [message #84811 is a reply to message #82202] Tue, 12 December 2006 16:13 Go to previous message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
Hi Wiktor,

This was not really a problem for me, I was just testing the GMF
functionalities and trying to see advantages and inconvenients with the
project I am working on. And I notice these problems with the outline.
I am working on the Topcased project and in our case, we have
implemented such an outline that shows the model elements and the
available diagrams. We are also handling EMF model and editing them with
a GEF editor. Perhaps you could have a look to our project and
particularly to way we have implemented the outline.
In the next future, we are planning to "merge" some of our
functionalities into the GMF project to avoid making twice the same work.

Regards,
Jacques

Wiktor a écrit :
> Hi Jacques,
>
> Did you manage to solve this problem?
> I think that I need exactly what you needed - EMF editor(outline view)
> instead of GMF tree, which is also useless in my opinion.
>
> Thanx
> Wiktor


--
Jacques LESCOT
Solutions et Technologies
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 06 60
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com
Previous Topic:Lite RCP not working
Next Topic:SnapTo : How to find nearest snap to point
Goto Forum:
  


Current Time: Sat Jul 27 18:31:19 GMT 2024

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

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

Back to the top