[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.emft] Re: properties view tab refresh

Hi, Have discovered from other discussion on this forum that the Properties view tab list is only refreshed when an element is selected!!!!

So as a workaround for this, I listen for the event that I am interested in and then try to force a selection using :

List elements = UMLModeler.getUMLUIHelper().getSelectedElements("org.eclipse.ui.navigator.ProjectExplorer");
if(!elements.isEmpty()){
List selection = new ArrayList();
selection.add(elements.get(0));
UMLModeler.getUMLUIHelper().setSelectedElements("org.eclipse.ui.navigator.ProjectExplorer", selection);


However this still does not trigger a refresh of the Properties view tab list.
Any help would be gratefully received.