Bug 7283 - History View - "Add to workspace" required
Summary: History View - "Add to workspace" required
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: James Moody CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-04 16:11 EST by Kevin McGuire CLA
Modified: 2002-01-07 12:01 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 Kevin McGuire CLA 2002-01-04 16:11:04 EST
We need an "Add to workspace" menu item in the history view for a given 
revision.

This should scheduled for week of Jan 7th.
Comment 1 James Moody CLA 2002-01-07 11:29:04 EST
We are in a situation now where a file from the repository might exist in more 
than one workspace location. If the history view was seeded from an IResource, 
then we know where to add it to. If, however, the history view was seeded from 
an IRemoteResource, e.g. from the Repositories View, we have no reasonable way 
to determine if the item can be added to the workspace, or if so, where. In 
this case we should disable the action. Kevin, your thoughts?
Comment 2 James Moody CLA 2002-01-07 12:01:15 EST
Implemented as described below. If the resource history comes from a remote 
file (i.e. from the repo view), the Add action is not present. If it comes from 
a local file (i.e. from the navigator), the Add action is there. Doesn't work 
due to bug 7247, but will work fine when that is fixed. Closing PR.