Community
Participate
Working Groups
Build ID: I20061214-1445 Steps To Reproduce: CElementLabels is in a UI package, but may be used in non-UI code, and outside CDT. More information:
Created attachment 60202 [details] A patch splitting UI and non-UI parts of CElementLabels The patch is against 4.0 HEAD as of 2007-03-02. It can be applied as it is, however in a next step, warnings of client code must be fixed (static methods and fields of CElementBaseLabels must be accessed directly).
Created attachment 60206 [details] A patch against HEAD, including client code fixes
Could you rework the patch so that only the minimal set of methods is exposed as public API (basically only getElementLabel())? And please add/fix javadoc of the remaining public methods/fields. Thanks!
Created attachment 64420 [details] A patch against HEAD, including javadoc for public methods, and client code changes
Applied to HEAD. I removed method CElementBaseLabels.getTextLabel(Object, int). It does not look like good API. Hope that's OK.