Bug 208803 - [api] add a ISystemViewElementAdapter.exists() method
Summary: [api] add a ISystemViewElementAdapter.exists() method
Status: VERIFIED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.0 M3   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2007-11-05 14:48 EST by David McKnight CLA
Modified: 2007-11-27 15:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David McKnight CLA 2007-11-05 14:48:37 EST
RSE should add a ISystemViewElementAdapter.exists(Object element) method so that views can determine whether a particular object should be shown.  I'm thinking that the exists() method will not be responsible for querying the system but will rather just determine whether the model object indicates that the remote object exists.
Comment 1 David McKnight CLA 2007-11-05 15:30:13 EST
I've added the code to cvs.  By default AbstractSystemViewElementAdapter.exists() returns true.  SystemViewFileElementAdapter.exists() returns IRemoteFile.exists().