Home » Modeling » UML2 Tools » Choose target on package double-click + Shortcut use
|
Re: Choose target on package double-click + Shortcut use [message #470880 is a reply to message #470866] |
Mon, 28 May 2007 11:32 |
Michael Golubev Messages: 383 Registered: July 2009 |
Senior Member |
|
|
Hello Philippe,
See comments below:
Regards,
Michael
> I have already some questions :
> - I'd like to have separate files for package diagrams and open them
> when navigating from my root diagram.So is it possible to choose the
> target package of double-click on a package for referencing my diagram
> files?
If it is common use case, than we probably can simply add the popup menu
"Init new diagram" for inner packages.
Do you think it makes sense?
> - About shortcuts
> - shouldn't the option "delete from diagram" enabled and "delete
> from
> model" disabled (BTW it seems that "delete from model" has the "delete
> from diagram" behavior)
Looks like a bug, also it is default GMF behavior. Probably it would be better
to submit the bugzilla directly for GMF.
> - when I delete the original class, the shortcut aren't removed
> from
> others diagrams, is it for an upcoming update?
Probably it is also related to the #189403. If not, I would highly appreciate
the bugzilla for it.
> - could it be possible to add something to mark a class as a
> shortcut, (for example specifying its nestingPackage that would differ
> from the package that the classD represents)
There should be shortcut mark. I agree that FQN for this case instead of
simple name, would make it more visually distinguishable, and it is relatively
easy to fix. Please submit bugzilla for this.
|
|
|
Re: Choose target on package double-click + Shortcut use [message #470996 is a reply to message #470880] |
Tue, 29 May 2007 08:43 |
Philippe Messages: 100 Registered: July 2009 |
Senior Member |
|
|
Hello Michael,
The exact use case for separate diagram files that I thought of is the
following :
When working in a domain definition using class diagrams, the depth
between the root and sub-packages can be important.
I'd like to use the navigation possibility provided by GMF, but offer
also a direct access to a sub-package by putting its diagram in a
separate file.
The mechanism I'd be very glad to have is a sort of
Include/Exclude diagrams in/from the "root" diagram file.
So one can have a single diagram file permitting navigation between
packages,
or one can extract relevant packages in separate files without breaking
the navigation between packages.
Do you understand me ?
I don't know if this can easily be done with GMF, but I hope so.
Some others comments below
>> - About shortcuts
>> - shouldn't the option "delete from diagram" enabled and "delete
>> from
>> model" disabled (BTW it seems that "delete from model" has the "delete
>> from diagram" behavior)
>
> Looks like a bug, also it is default GMF behavior. Probably it would be
> better to submit the bugzilla directly for GMF.
I asked a question on GMF newsgroup and will wait for comments before
posting a bug report.
news://news.eclipse.org:119/f3go6o$mcr$1@build.eclipse.org
>> - when I delete the original class, the shortcut aren't removed
>> from
>> others diagrams, is it for an upcoming update?
>
> Probably it is also related to the #189403. If not, I would highly
> appreciate the bugzilla for it.
I will wait for #189403 resolution to see if this issue still occurs.
>> - could it be possible to add something to mark a class as a
>> shortcut, (for example specifying its nestingPackage that would differ
>> from the package that the classD represents)
>
> There should be shortcut mark. I agree that FQN for this case instead of
> simple name, would make it more visually distinguishable, and it is
> relatively easy to fix. Please submit bugzilla for this.
>
Done
https://bugs.eclipse.org/bugs/show_bug.cgi?id=189608
Regards
Philippe
|
|
|
Re: Choose target on package double-click + Shortcut use [message #594833 is a reply to message #470866] |
Mon, 28 May 2007 11:32 |
Michael Golubev Messages: 383 Registered: July 2009 |
Senior Member |
|
|
Hello Philippe,
See comments below:
Regards,
Michael
> I have already some questions :
> - I'd like to have separate files for package diagrams and open them
> when navigating from my root diagram.So is it possible to choose the
> target package of double-click on a package for referencing my diagram
> files?
If it is common use case, than we probably can simply add the popup menu
"Init new diagram" for inner packages.
Do you think it makes sense?
> - About shortcuts
> - shouldn't the option "delete from diagram" enabled and "delete
> from
> model" disabled (BTW it seems that "delete from model" has the "delete
> from diagram" behavior)
Looks like a bug, also it is default GMF behavior. Probably it would be better
to submit the bugzilla directly for GMF.
> - when I delete the original class, the shortcut aren't removed
> from
> others diagrams, is it for an upcoming update?
Probably it is also related to the #189403. If not, I would highly appreciate
the bugzilla for it.
> - could it be possible to add something to mark a class as a
> shortcut, (for example specifying its nestingPackage that would differ
> from the package that the classD represents)
There should be shortcut mark. I agree that FQN for this case instead of
simple name, would make it more visually distinguishable, and it is relatively
easy to fix. Please submit bugzilla for this.
|
|
|
Re: Choose target on package double-click + Shortcut use [message #594873 is a reply to message #470880] |
Tue, 29 May 2007 08:43 |
Philippe Messages: 100 Registered: July 2009 |
Senior Member |
|
|
Hello Michael,
The exact use case for separate diagram files that I thought of is the
following :
When working in a domain definition using class diagrams, the depth
between the root and sub-packages can be important.
I'd like to use the navigation possibility provided by GMF, but offer
also a direct access to a sub-package by putting its diagram in a
separate file.
The mechanism I'd be very glad to have is a sort of
Include/Exclude diagrams in/from the "root" diagram file.
So one can have a single diagram file permitting navigation between
packages,
or one can extract relevant packages in separate files without breaking
the navigation between packages.
Do you understand me ?
I don't know if this can easily be done with GMF, but I hope so.
Some others comments below
>> - About shortcuts
>> - shouldn't the option "delete from diagram" enabled and "delete
>> from
>> model" disabled (BTW it seems that "delete from model" has the "delete
>> from diagram" behavior)
>
> Looks like a bug, also it is default GMF behavior. Probably it would be
> better to submit the bugzilla directly for GMF.
I asked a question on GMF newsgroup and will wait for comments before
posting a bug report.
news://news.eclipse.org:119/f3go6o$mcr$1@build.eclipse.org
>> - when I delete the original class, the shortcut aren't removed
>> from
>> others diagrams, is it for an upcoming update?
>
> Probably it is also related to the #189403. If not, I would highly
> appreciate the bugzilla for it.
I will wait for #189403 resolution to see if this issue still occurs.
>> - could it be possible to add something to mark a class as a
>> shortcut, (for example specifying its nestingPackage that would differ
>> from the package that the classD represents)
>
> There should be shortcut mark. I agree that FQN for this case instead of
> simple name, would make it more visually distinguishable, and it is
> relatively easy to fix. Please submit bugzilla for this.
>
Done
https://bugs.eclipse.org/bugs/show_bug.cgi?id=189608
Regards
Philippe
|
|
|
Goto Forum:
Current Time: Tue Sep 24 10:57:05 GMT 2024
Powered by FUDForum. Page generated in 0.04125 seconds
|