eclipse-rap / org.eclipse.rap

Eclipse RAP Runtime (Remote Application Platform)
https://www.eclipse.org/rap/
Eclipse Public License 1.0
17 stars 19 forks source link

Part Name is not updated #201

Open phermsdorf opened 1 month ago

phermsdorf commented 1 month ago

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