Getting Baselines from a component.
I have IComponentHandle and IComponent class for a component.
I can get the initial baseline using IComponent getInitialBaseline().
How do I retrieve the rest of the baselines?
If the compenents are in streams I have no problem
I use:
List stream = wm.findWorkspaces(crit, 1, MONITOR);
Iterator it = stream.iterator();
IWorkspaceHandle element = (IWorkspaceHandle) it.next();
IWorkspaceConnection wc = wm.getWorkspaceConnection(element, null);
wc.getBaselinesInHistory()
I can get the initial baseline using IComponent getInitialBaseline().
How do I retrieve the rest of the baselines?
If the compenents are in streams I have no problem
I use:
List stream = wm.findWorkspaces(crit, 1, MONITOR);
Iterator it = stream.iterator();
IWorkspaceHandle element = (IWorkspaceHandle) it.next();
IWorkspaceConnection wc = wm.getWorkspaceConnection(element, null);
wc.getBaselinesInHistory()