How to get Build View refreshed in RTC - plug-in development
![]()
Javier Franco Biurrun (26●5●7)
| asked Feb 07 '14, 10:29 a.m.
edited Feb 23 '14, 7:50 a.m. by Sreerupa Sen (1.0k●4)
Hi, I'm creating a plug-in to manipulate/delete build results from the Build View. I d like to get the View updated right after the builds are removed. Any idea/example how to go approach this task?
|
One answer
![]() This is how finally it was done in my case
for(IViewReference view: PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getViewReferences()){
if (view.getId().toString().equals("com.ibm.team.build.internal.ui.views.query.BuildQueryView")) {
BuildQueryView realv = (BuildQueryView) view.getView(true);
realv.runQuery(realv.getCurrentQuery());
}
}
|
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.