Home » Modeling » GMF (Graphical Modeling Framework) » The outline should reflect the whole model
| | |
Re: The outline should reflect the whole model [message #65635 is a reply to message #65293] |
Thu, 19 October 2006 14:44 |
Cherie Revells 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 |
Jacques LESCOT 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
>>>
>>>
|
|
| | |
Goto Forum:
Current Time: Sat Jul 27 18:37:42 GMT 2024
Powered by FUDForum. Page generated in 0.02807 seconds
|