Skip to content

Part Name is not updated #201

Open
Open
@phermsdorf

Description

@phermsdorf

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions