Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylar-dev] Internal Code

Is there a policy on the use of internal code in Mylar Components? I am currently investigating the Time-Line view (Bug #109457 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=109457>), and during our initial development, we are making use of internal GEF code. There are several GEF Ruler classes that need to be extended, however, these classes are all marked internal. I will work with the GEF team to get these classes out of the internal packages, and into the stable API, but this may take time. In the meantime we have several warnings because of this. I currently see three solutions.

1) Leave the warnings
2) Disable "internal code warnings"
3) Copy the GEF code we need to our project.

I have also thought about using the "suppress warnings" annotation, but this doesn't seem to work for access rule warnings. (Plus we are trying to keep this component available to Java1.4 users too).

Cheers,
Ian


Back to the top