Bug 244496 - refreshing labels of node does not work
Summary: refreshing labels of node does not work
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Zest (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 23:42 EDT by Lars Grammel CLA
Modified: 2015-01-22 02:44 EST (History)
1 user (show)

See Also:


Attachments
patch that adds internalRefresh(Object element, boolean updateLabels) to AbstractStructuredGraphViewer (1.16 KB, patch)
2008-08-18 23:43 EDT, Lars Grammel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Grammel CLA 2008-08-18 23:42:57 EDT
Calling refresh(Object,boolean) on a GraphViewer does not refresh the labels, because the method internalRefresh(Object, boolean) was not overridden. The attached patch fixed that problem.
Comment 1 Lars Grammel CLA 2008-08-18 23:43:50 EDT
Created attachment 110310 [details]
patch that adds internalRefresh(Object element, boolean updateLabels) to AbstractStructuredGraphViewer
Comment 2 Victor Kirhenshtein CLA 2010-12-02 09:31:21 EST
In addition, if GraphViewer set to use IFigureProvider, it does not update figure, because GraphItemStyler.styleItem does not have check for label provider implementing IFigureProvider.
Comment 3 Alexander Nyßen CLA 2015-01-22 02:44:47 EST
Re-assigning back to inbox, as Ian is no longer active committer.