Open
Description
Hi,
i have a problem programatically updating a part name. Depending on the active editor we update the part name of a view.
We do that by calling setPartName on the ViewPart class.
Which then calls
org.eclipse.ui.part.WorkbenchPart.firePropertyChange(IWorkbenchPartConstants.PROP_PART_NAME)
-> org.eclipse.ui.internal.WorkbenchPartReference.partPropertyChanged(Object, int)
-> org.eclipse.ui.internal.WorkbenchPartReference.refreshFromPart()
the actual value for the part name are produced correctly, it just seems that the ui is not updated by refreshFromPart().
Only closing and reopening the view shows the correct part name.
Any ideas?
Thanks, bye Peter
Metadata
Metadata
Assignees
Labels
No labels