JST Library Provider Framework [message #484670] |
Tue, 08 September 2009 13:03  |
Eclipse User |
|
|
|
Hi,
I want to be able to listen to selection events on InstallLibraryPanel's
"Include libraries with this application" option.
I am looking to integrate a WTP 3.0 based facet to Library Provider
Framework in WTP 3.2 (similar to what was done for JPA & JSF facet- e.g.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=250208).
One of the requirements of the WTP 3.2 facet is to provide shared library
support- if the user selects "User Library" as the facets Implementation
library, user is able to define options to both "Include libraries with
this application", as well as a related option provided by our facet to
add the library as a "Shared Library" (if the projects targeted EAR/server
supports shared libraries). So, our facet needs to detect if option
"Include libraries with this application" has been selected/deselected and
enable the "User Library" option appropriately.
Idealy the new option would appear as part of the InstallLibraryPanel
right below (and indented) "Include libraries with this application"
option, but we may be able to live with the new option just below the
InstallLibraryPanel if we can listen for selection/deselection events.
Further, we would like to disable the actions of "Include libraries with
this application" option when "Shared Library" is also selected (the
alternative would be to remove the classpath entries added by the action
which is not as nice).
Can I get this working in WTP 3.2? Can you please point me to API I can
use?
I looked at API's and classes below and did not see anything useful (I was
looking at WTP 3.1 but WTP 3.2 would be fine).
-org.eclipse.jst.common.project.facet.ui.libprov.LibraryProv iderFrameworkUi.createInstallLibraryPanel(Composite,
LibraryInstallDelegate, String)
-org.eclipse.jst.common.project.facet.core.libprov.LibraryPr oviderFramework
-org.eclipse.jst.common.project.facet.core.libprov.ILibraryP rovider
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04572 seconds