Bug 195836

Summary: [api] push getSubSystem() up into IRemoteObjectIdentifier
Product: [Tools] Target Management Reporter: Martin Oberhuber <mober.at+eclipse>
Component: RSEAssignee: dsdp.tm.rse-inbox <tm.rse-inbox>
Status: NEW --- QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: enhancement    
Priority: P3 Keywords: api
Version: 2.0   
Target Milestone: Future   
Hardware: All   
OS: All   
Whiteboard:

Description Martin Oberhuber CLA 2007-07-09 10:49:51 EDT
When fixing bug 194838, utility code for comparing remote objects had to work on ISystemDragDropAdapter according to bug 194838 comment 8.

This does not make sense. IRemoteObjectIdentifier should be able to identify remote objects uniquely, and therefore it should also provide a method for getting the ISubSystem associated with a remote object.

We should use the TM 3.0 API change window to push getSubSystem() up from ISystemDragDropAdapter into IRemoteObjectIdentifier. I do not think there are too many migration issues to be expected, because client code typically implements ISystemViewElementAdapter, which extends ISystemDragDropAdapter anyways -- no client code is currently known to implement IRemoteObjectIdentifier directly.