Summary: | Editor's name bug on Logic Example | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] GEF | Reporter: | zhang wei <zhang-wei> | ||||||||
Component: | GEF-Legacy GEF (MVC) | Assignee: | gef-inbox <gef-inbox> | ||||||||
Status: | NEW --- | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | ahunter.eclipse, krzysztof.daniel, nyssen | ||||||||
Version: | 3.1 | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 2000 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
zhang wei
2005-04-14 01:32:25 EDT
Created attachment 19896 [details]
this pic show the right tooltips(contain file path and file name)
this pic show the right tooltips(contain file path and file name)
Created attachment 19897 [details]
this pic show the error tooltips(file path is error)
this pic show the error tooltips(file path is error)
this problem also shown in eclipse 3.0.1 & GEF 3.0.1 & GEF Example 3.0.1 LogicEditor#ResourceTracker ignores resource change events which are not on the logic file. It should take this case into account. This shouldn't be too difficult to fix. Zhang Wei, do you care to submit a patch? I fixed the code in LogicEditor. But I do not know I fixed properly. I modified org.eclipse.gef.examples.logicdesigner. LogicEditor#superSetInput(IEditorInput) method. add the follow line behind setTitle(file.getName());(line:797) ------------------------------------------------- setTitleToolTip(file.getFullPath().toString()); ------------------------------------------------- Is this OK? I also do not know how to create patch. 8-; Created attachment 58840 [details]
Zhang Wei suggestion patch
I want to look how the tooltip for other editors in Eclipse before committing the patch. Unset target milestone as the specified one is already passed. |