Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359211

Summary: [ModelExplorer] The delete action should be disabled for the root of the Model
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Patrick.Tessier
Version: 0.8.1   
Target Milestone: SR2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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