Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366194 - Renaming a bpmn file in Package Explorer doesn't change the tab title
Summary: Renaming a bpmn file in Package Explorer doesn't change the tab title
Status: CLOSED FIXED
Alias: None
Product: BPMN2Modeler
Classification: SOA
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: future   Edit
Assignee: Robert Brodt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 09:39 EST by Toni Rikkola CLA
Modified: 2016-09-16 08:27 EDT (History)
1 user (show)

See Also:


Attachments
Fix proposal (6.64 KB, application/x-zip-compressed)
2012-08-07 03:19 EDT, Deepak G CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Rikkola CLA 2011-12-09 09:39:48 EST
Build Identifier: M20110210-1200

Can get confusing if the Package Explorer and the tab titles are not in sync.

Reproducible: Always

Steps to Reproduce:
1. Create a bpmn file
2. Open the file if it isn't already
3. Rename in Project Explorer
-> Name in the tab does not change
Comment 1 Deepak G CLA 2012-08-07 03:19:46 EDT
Created attachment 219609 [details]
Fix proposal

Hi,
I have attached fix proposal (have a look at the Readme.txt file as well :) ).
Let me know your feedback.

Thanks
Deepak
Comment 2 Robert Brodt CLA 2012-08-08 16:34:23 EDT
Thanks for the patch, but I've decided to use a WorkspaceSynchronizer instead.
Comment 3 Robert Brodt CLA 2012-08-09 10:12:03 EDT
Correction: the WorkspaceSynchronizer only works with Graphiti 0.9.0 (eclipse indigo) because of the UpdateBehavior class that was added. For eclipse helios (Graphiti 0.8.2) I have had to revert back to the close/reopen strategy that Deepak suggests here.
Comment 4 Jozef Marko CLA 2016-09-16 08:27:01 EDT
No more reproducible with  BPMN2 Modeler - 1.2.5.Final-v20160831-1132-B114