Bug 290514 - [Model explorer] Command to rename an element
Summary: [Model explorer] Command to rename an element
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.7.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan, usability
: 267011 (view as bug list)
Depends on: 281208
Blocks:
  Show dependency tree
 
Reported: 2009-09-25 07:23 EDT by Sébastien Gérard CLA
Modified: 2011-02-08 07:43 EST (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (1.00 KB, application/octet-stream)
2010-06-17 05:04 EDT, Patrick Tessier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Gérard CLA 2009-09-25 07:23:22 EDT
It would be very helpfull to be able to rename an element directly from the model explorer. Proposition to add an action "Rename" (also activable using F2) when lefk clicking on an element in the model explorer.
Comment 1 Sébastien Gérard CLA 2009-10-01 09:11:03 EDT
*** Bug 267011 has been marked as a duplicate of this bug. ***
Comment 2 Sébastien Gérard CLA 2009-10-01 10:25:05 EDT
A command does exist in the model explorer but if the diagram is still open, the name of the diagram in the tab of the open editor is not refreshed according to the new name.
Comment 3 Francisco Javier Cano CLA 2009-10-02 06:15:16 EDT
Fixed.
UML2 NamedElements have a "Rename..." action that is also available via the "F2" key.
Comment 4 Yann Tanguy CLA 2010-03-03 12:02:40 EST
"F2" does not seem to work to rename a diagram selected in the ModelExplorer.

"F2" work on NamedElement but the dialog windows is titled : "Rename an existing diagram".
Comment 5 Remi Schnekenburger CLA 2010-06-09 06:17:36 EDT
This seems to be a bug. The named element can be renamed by the "Rename an existing diagram" dialog.

Updated target milestone to 0.7.0
Comment 6 Patrick Tessier CLA 2010-06-17 05:04:11 EDT
Created attachment 172099 [details]
mylyn/context/zip

impacted classes
Comment 7 Patrick Tessier CLA 2010-06-17 05:05:55 EDT
A bad message was associated to this command.
I have also install the internationalization of constants in this package.
Comment 8 Yann Tanguy CLA 2010-07-21 17:11:54 EDT
(In reply to comment #4)
> "F2" does not seem to work to rename a diagram selected in the ModelExplorer.
> 
> "F2" work on NamedElement but the dialog windows is titled : "Rename an existing
> diagram".

"F2" shortcut still does not work for diagram renaming.
Comment 9 Patrick Tessier CLA 2011-02-08 07:43:53 EST
Done  in the revision 3942