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. |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.