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

Bug 349768

Summary: How to handle the update of type (selection of a new type) when the currently edited type is a restriction of another type
Product: z_Archived Reporter: Stanislav Nichev <stanislav.nichev>
Component: WTP IncubatorAssignee: Dimitar Tenev <dimitar.tenev>
Status: NEW --- QA Contact: Dimitar Tenev <dimitar.tenev>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
reproduce data none

Description Stanislav Nichev CLA 2011-06-19 09:28:46 EDT
Build Identifier: 

Hi Colleagues,

We should decide what to do in the following case:

In DTE the following scenario fails:
1) Open the attached document (labels_all.xsd)
2) Go to Element6 / string
3) The type editor is shown. This editor changes the type of the element and does not update the restricted type.

Perhaps we should consider using the base type editor in this case - in order to edit the restricted element.
Or provide some feature to choose between both use cases.

Please note that type link will be enabled after bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=337840 has been submitted.

Regards,
Stanislav

Reproducible: Always
Comment 1 Stanislav Nichev CLA 2011-06-19 09:29:06 EDT
Created attachment 198230 [details]
reproduce data