It's all about the answers!

Ask a question

How to get Build View refreshed in RTC - plug-in development

Javier Franco Biurrun (2657) | asked Feb 07 '14, 10:29 a.m.
edited Feb 23 '14, 7:50 a.m. by Sreerupa Sen (1.0k4)
 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

permanent link
Javier Franco Biurrun (2657) | answered Feb 25 '14, 4:11 a.m.

This is how finally it was done in my case
  1. go through all the views in the workbench
  2. capture the view intended to be refreshed
  3. run the query again to get the refresh

for(IViewReference view: PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getViewReferences()){
if (view.getId().toString().equals("")) {
BuildQueryView realv = (BuildQueryView) view.getView(true);

Your answer

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.