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 11:31  |
Eclipse User |
|
|
|
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 10:44   |
Eclipse User |
|
|
|
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 11:34   |
Eclipse User |
|
|
|
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 #84811 is a reply to message #82202] |
Tue, 12 December 2006 11:13  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Sun May 04 04:55:31 EDT 2025
Powered by FUDForum. Page generated in 0.05269 seconds
|