An "Export Package" action needed on Packages in NetBeans modules.
Requires a new SPI, since the action itself would live in java.project.
At the same time, it would be good to extend the API & SPI to permit listening for changes. While apisupport.ant normally recreates the logical view in response to any change to project.xml, thus refreshing the badges, maven.apisupport and maven.osgi can only inject an AQI into project lookup (and maven does not refresh the logical view in general when pom.xml has been modified).
*** Bug 202096 has been marked as a duplicate of this bug. ***
An "Export Package" action needed on Packages in NetBeans modules. +1
Created attachment 133418 [details]
apisupport ant patch
Created attachment 133419 [details]
java api patch
Integrated into 'main-golden', will be available in build *201304272301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Martin Kozeny <email@example.com>
Log: #200833: "Export Package" action is now provided on Packages in NetBeans modules. When selecting set of packages where is at least one not public, then action "Export Package" is enabled, otherwise is enabled action "Unexport Package" (this is the case that all relevant packages in set are exported).
Where should this action appear? I am not seeing it in build 201304272301 for Ant or Maven based module projects...
(In reply to comment #9)
> Where should this action appear? I am not seeing it in build 201304272301 for
> Ant or Maven based module projects...
maven ones are not done yet. (i'm working on it)
Thanks for the info! I will wait for that before checking both again. :)
There should be implementation for ant projects but for sure I am going to check it. But yes, better is to wait when both ant and maven implementations will be done.
FYI: I've tried build 201304282301 and it's there for ant NBM projects.
Integrated into 'main-golden', will be available in build *201305082300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Milos Kleint <firstname.lastname@example.org>
Log: #200833 package modification implementation for maven nbm projects, simplified api, base export action enablement/title on AccessibilityQuery result.
Verified with build 201305212300 for both Ant and Maven projects. Thanks Martin and Milos!
(In reply to comment #15)
> Verified with build 201305212300 for both Ant and Maven projects. Thanks Martin
> and Milos!
@Martin/Milos: So this issue can be resolved as fixed? An entry in the Noteworthy page would also be useful.