It's all about the answers!

Ask a question

How do i identify the currently selected workspace from the team artifacts view.

Madhu Revankar (122) | asked Jan 09 '14, 11:37 a.m.

I want to get the currently selected repository workspace name from the Team artifacts view.

IWorkspaceSearchCriteria wsSearchCriteria = IWorkspaceSearchCriteria.FACTORY.newInstance();
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!

Register or to post your answer.

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.