Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366194

Summary: Renaming a bpmn file in Package Explorer doesn't change the tab title
Product: [SOA] BPMN2Modeler Reporter: Toni Rikkola <toni>
Component: ToolsAssignee: Robert Brodt <bbrodt>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jomarko
Version: unspecified   
Target Milestone: future   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Fix proposal none

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