Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JST Library Provider Framework
JST Library Provider Framework [message #484670] Tue, 08 September 2009 17:03 Go to next message
Eric Peters is currently offline Eric PetersFriend
Messages: 27
Registered: July 2009
Junior Member
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
Re: JST Library Provider Framework [message #484704 is a reply to message #484670] Tue, 08 September 2009 19:57 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Could you re-post this question on the Faceted Project Framework forum? I am trying to consolidate all of the discussion about this framework in one place so that it is easier for people to follow and search.

http://www.eclipse.org/forums/index.php?t=thread&frm_id= 50&S=d5873469d6115d4dc93f79b9ade753be

Thanks,

- Konstantin
Re: JST Library Provider Framework [message #484828 is a reply to message #484704] Wed, 09 September 2009 12:56 Go to previous message
Eric Peters is currently offline Eric PetersFriend
Messages: 27
Registered: July 2009
Junior Member
Done, thanks.
Previous Topic:Galileo Workspace Corruption
Next Topic:Re: XML validation via RCP
Goto Forum:
  


Current Time: Thu Apr 25 08:44:23 GMT 2024

Powered by FUDForum. Page generated in 0.03267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top