Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ide4edu-dev] Discouraged Access

Hello Nil,
Yes, You cannot access those packages simply because they are not meant to be extended by other classes. Sadly many of these classes just does the work that we need, but we are not supposed (or allowed) to use it. I'm pretty sure there are other APi's which would support what you are tryin to do ATM. If there is any better workaround for this, I'd love to hear it

Regs
Souvik

On Thu, Oct 1, 2009 at 10:01 PM, Nil Goyette <nilgoyette@xxxxxxxxx> wrote:
Hi,

Peter Lorimer and I were working on the assignment view which use the cheatsheet classes. I was intriged to see a lot of warning that say :
"Discouraged access : The type ### is not accessible due to restriction on required library ###.jar"

So, I red the page http://www.eclipse.org/articles/article.php?file=Article-API-Use/index.html who gives some information about what we can use and what we should never use if we want our program to work on the next version of Eclipse. I want to draw your attention to the part that say : 

"org.eclipse.foo.internal.* - not API; internal implementation packages"

So, are we supposed to fallow that rule? If I can't use "internal" classes, I don't see how can I can use/extends the cheatsheet classes...

Thanks.

_______________________________________________
ide4edu-dev mailing list
ide4edu-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ide4edu-dev



Back to the top