How do i identify the currently selected workspace from the team artifacts view.
Hello,
I want to get the currently selected repository workspace name from the Team artifacts view.
IWorkspaceSearchCriteria wsSearchCriteria = IWorkspaceSearchCriteria.FACTORY.newInstance();
wsSearchCriteria.setKind(IWorkspaceSearchCriteria.WORKSPACES);
workspaceMgr.findWorkspaces(wsSearchCriteria, getPageCount(), monitor);
List <IWorkspaceHandle> workspaceHandles = workspaceMgr.findWorkspaces(wsSearchCriteria, Integer.MAX_VALUE, monitor);
With the above mentioned code, i will be able to retrieve all the workspace's i have, but from this list how do i identify the workspace which user has selected currently.
I want to get the currently selected repository workspace name from the Team artifacts view.
IWorkspaceSearchCriteria wsSearchCriteria = IWorkspaceSearchCriteria.FACTORY.newInstance();
wsSearchCriteria.setKind(IWorkspaceSearchCriteria.WORKSPACES);
workspaceMgr.findWorkspaces(wsSearchCriteria, getPageCount(), monitor);
List <IWorkspaceHandle> workspaceHandles = workspaceMgr.findWorkspaces(wsSearchCriteria, Integer.MAX_VALUE, monitor);
With the above mentioned code, i will be able to retrieve all the workspace's i have, but from this list how do i identify the workspace which user has selected currently.