Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] [Q] How to use the Packages view actions from another plugin?

> Well, then my concern is reasonable.
> Since in the R1.0 release these action classes are in 'internal' packages,
> they are not supposed to be used by plugin developers (i.e. me).
> So, there are no API classes in R1.0 for the Packages view popup actions,
> they are internal classes, so I either use them not knowing if they are
> going to be there (and be the same) in the next build , or I don't use them
> and rewrite all this code in my plugin (very undesirable).
> 
> Am I getting it right? Isn't there something I can do to use them and not
> break the rule "don't use internal classes"?

you're right - if you do not want to break the rules, you should not use these internal classes.
if they were not public in 1.0 it means they were not available for plugin writers to use.
these actions as new 2.0 functionality - simply not there or not available in 1.0.

a.



Back to the top