}
}
viewer.setInput(rootElements);
- refreshTree();
+ refreshTree(false);
previousCdmEntitySession.bind();
}
}
* Refreshes the derivate hierarchy tree
*/
public void refreshTree(){
+ refreshTree(true);
+ }
+
+ /**
+ * Refreshes the derivate hierarchy tree
+ * @param refreshViewer if <code>true</code> then also the
+ * viewer will be refreshed. This was implemented due to
+ * performance reasons. If passing <code>false</code>
+ * does what was expected use <code>false</code> preferably.
+ */
+ public void refreshTree(boolean refreshViewer){
//refresh typedesignations
labelProvider.refresh();
- viewer.refresh();
+ if(refreshViewer){
+ viewer.refresh();
+ }
}
//FIXME:Remoting hack to make this work for remoting