Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359211 - [ModelExplorer] The delete action should be disabled for the root of the Model
Summary: [ModelExplorer] The delete action should be disabled for the root of the Model
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: SR2   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 07:37 EDT by Vincent Lorenzo CLA
Modified: 2011-09-28 07:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2011-09-28 07:37:57 EDT
Steps to reproduce : 
	1/Create a new project
	2/Go into the ModelExplorer View
	3/Select the Root of the Model
	4/Delete it!
	
The root of the model can be deleted (and if we do it, we get the following exception : org.eclipse.papyrus.resource.NotFoundException: No root defined in the model).

We should manage this case of selection.
Comment 1 Vincent Lorenzo CLA 2011-09-28 07:45:01 EDT
Done in R5607 for trunk and branch