org.eclipse.rap icon indicating copy to clipboard operation
org.eclipse.rap copied to clipboard

Part Name is not updated

Open phermsdorf opened this issue 7 months ago • 0 comments

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

phermsdorf avatar Jul 17 '24 08:07 phermsdorf