Bug 242918 - Zest does not permit subclassing GraphLabel
Summary: Zest does not permit subclassing GraphLabel
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Zest (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 15:59 EDT by Stefan Tucker CLA
Modified: 2015-01-22 02:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Tucker CLA 2008-08-01 15:59:20 EDT
Build ID: I20080617-2000
Similar to bug 154579

Steps To Reproduce:
1. Decide to implement custom figure (such as an oval) in a Zest graph.

2. Since an oval is only slightly different from the default GraphLabel's rounded rectangle, you want to subclass it and override paint() and adjustBoundsToFit().

3. Unfortunately, GraphLabel is in the zest.core.widgets.internal package, which isn't exported from the Zest core JAR.

I think Zest not only needs the ability to implement custom figures easily, but it should also be easy to modify the existing figures so that we don't need to implement all the common internal chores.
Comment 1 Alexander Nyßen CLA 2015-01-22 02:44:18 EST
Re-assigning back to inbox, as Ian is no longer active committer.