I think we could benefit from removing the details of this discussion
and dealing with a more abstract case. The real question seems to be
centered on the inclusion of third party libraries required to run a
plug-in.

I think a simple solution, already pointed out to me by Paul, is this:

Plug-In developers keep third-party libraries requried by their
plug-in in a sub-folder of the OpenJUMP lib folder that is specific to
their plug-in. (In my case I will also have a folder for libraries,
like Jakarta Commons, that are used by more than one of my plug-ins.)
This allows the user to decide if the benefit of a plug-in is worth
the size of a required library. We don't restrict library usage by
plug-in developers, and we don't bloat the size of OpenJUMP's lib
folder.

I only see the above policy being a problem in the following two (2) situations:

[1] A plug-in developer wants to use a library that is also used by
another plug-in developer.

We don't want to store the same library twice, do we? That would be
just silly, unless the two libraries were of incompatible versions. In
this scenario I think we could create a /lib/common folder. We could
keep libraries used by more than one third-party plug-in here. The
/lib folder can be kept only for libraries used in the core.

[2] We decide to integrate a plug-in into the core.

I don't personally see the benefit of doing this, but I know others
don't agree with me on this point. If we do decide to include a
third-party plug-in in the core we have to weigh the cost of any
third-party libraries that plug-in uses. I think this would have to be
reviewed on a case-by-case basis.

The Sunburned Surveyor

On 11/2/07, Michaël Michaud <[EMAIL PROTECTED]> wrote:
> Hi,
>
> As I am the one who used buoy in a plugin (simple query, which has been
> introduced in the core distribution at some point), I'll give again my
> feeling :
> Buoy is a great UI toolkit. I'm not an expert who will assure it is
> better than all other ones, but as far as I can remember, it offers a
> clear interface, a clever way to manage events, and last but not least,
> the author of buoy built AOI on top of buoy, a great desktop application
> (rank 37 on sourceforge) which is somehow comparable to OpenJUMP, with a
> very nice user interface.
> That's why I encourage people interested in UI design to experiment this
> library.
>
> That said, I agree with Paul. Using third party libraries for OJ plugins
> should be avoided as much as possible.
> Such a UI toolkit is worthwhile if it is used from the beginning, or at
> least for a whole bunch of plugins.
> Actually, with only one plugin using buoy, I admit that removing the
> dependency would be a good option.
>
> So my advice is :
> - try buoy and make your own opinion
> - don't use buoy for OJ plugins except if you have a big project
> including many plugins or a plan for a complete redesign of OJ.
>
> my 2 cents
>
> Michaël
>
>
>
>
> Paul Austin a écrit :
>
> > Eric,
> >
> > Please try using regular Swing, I'd like to remove Buoy from Open JUMP
> > as I see no real advantage over the functionality offered by swing.
> > Sure it maybe slightly easier for developers who aren't used to swing.
> > But it's just another API that people will have to learn.
> >
> > Paul
> >
> > Eric Lemesre wrote:
> >
> >>
> >> I would try it this week.
> >>
> >> Eric
> >>
> >> 2007/10/31, Stefan Steiniger <[EMAIL PROTECTED]
> >> <mailto:[EMAIL PROTECTED]>>:
> >>
> >>     because it is easier to use for non GUI-experts?
> >>
> >>     just a thought, and noted here:
> >>
> >>     http://buoy.sourceforge.net/AboutBuoy.html
> >>
> >>     otherwise, why should michael have used it.
> >>     but if somebody is able to remove the buoy code from OJ... i
> >>     would not
> >>     object ;)
> >>
> >>     stefan
> >>
> >>     Paul Austin schrieb:
> >>     > We have to ask the question what does Buoy give us over using
> >>     regular Swing?
> >>     >
> >>     > Paul
> >>     >
> >>     > Stefan Steiniger wrote:
> >>     >> but as I said,
> >>     >>
> >>     >> buoy: http://www.buoybuilder.com/ is already used ;)
> >>     >>
> >>     >> stefan
> >>     >>
> >>     >> Eric Lemesre schrieb:
> >>     >>
> >>     >>> Hi all,
> >>     >>>
> >>     >>> Thank for this precision.
> >>     >>>
> >>     >>> Eric
> >>     >>>
> >>     >>> 2007/10/30, Paul Austin < [EMAIL PROTECTED]
> >>     <mailto:[EMAIL PROTECTED]>>:
> >>     >>>
> >>     >>>> Eric,
> >>     >>>>
> >>     >>>> Have a look at the SpringLayout manager from Swing. This is
> >>     a very
> >>     >>>> flexible layout manager. There is a SwingUtilities class
> >>     that will allow
> >>     >>>> you to make a basic grid layout in the JUMP code base.
> >>     >>>>
> >>     >>>> Unless there is something needed in a 3rd party GUI library
> >>     try and
> >>     >>>> stick with standard Swing components. Otherwise we'll end up
> >>     with having
> >>     >>>> a bloated download with all the 3rd party libraries.
> >>     >>>>
> >>     >>>> Paul
> >>     >>>>
> >>     >>>> Stefan Steiniger wrote:
> >>     >>>>
> >>     >>>>> There is no best-practice.
> >>     >>>>> actually you may have a look on buoy (widget) used already
> >>     in OJ for
> >>     >>>>> Simple Query.
> >>     >>>>>
> >>     >>>>> stefan
> >>     >>>>>
> >>     >>>>> Eric Lemesre schrieb:
> >>     >>>>>
> >>     >>>>>
> >>     >>>>>> Hi landon,
> >>     >>>>>>
> >>     >>>>>> I have no problem with GUI Builder.
> >>     >>>>>>
> >>     >>>>>> I want build a new GUI for PostGISPlugin.
> >>     >>>>>> And i dont know what is the best practice about GUI in
> >>     openjump.
> >>     >>>>>>
> >>     >>>>>> Eric
> >>     >>>>>>
> >>     >>>>>> 2007/10/29, Sunburned Surveyor
> >>     <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> >>     >>>>>>
> >>     >>>>>>
> >>     >>>>>>> Eric,
> >>     >>>>>>>
> >>     >>>>>>> What problem where you having with the GUI builders?
> >>     >>>>>>>
> >>     >>>>>>> Perhaps I can walk you through some rough spots. Also, it
> >>     is good to
> >>     >>>>>>> remember that most IDE's like Eclipse or Netbeans have a
> >>     mialing list
> >>     >>>>>>> or forum that you can post questions on.
> >>     >>>>>>>
> >>     >>>>>>> The Sunburned Surveyor
> >>     >>>>>>>
> >>     >>>>>>> On 10/26/07, Eric Lemesre < [EMAIL PROTECTED]
> >>     <mailto:[EMAIL PROTECTED]>> wrote:
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>> Hi jon,
> >>     >>>>>>>>
> >>     >>>>>>>> Sorry for long time without response.
> >>     >>>>>>>> what do you use for build GUI for openjump?
> >>     >>>>>>>> I try VEP (Eclipse plugin for calisto - V3.2) -
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>> http://www.eclipse.org/vep/
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>> I try Jigloo GUI builder -
> >>     >>>>>>>> http://www.cloudgarden.com/jigloo/
> >>     >>>>>>>> NetBean with mantis but I don''t understand very well
> >>     How import
> >>     >>>>>>>>
> >>     >>>> eclipse
> >>     >>>>
> >>     >>>>>>>> project
> >>     >>>>>>>>
> >>     >>>>>>>> Eric
> >>     >>>>>>>>
> >>     >>>>>>>> 2007/10/20, Jonathan Aquino <[EMAIL PROTECTED]
> >>     <mailto:[EMAIL PROTECTED]>>:
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>> Hi Eric - Interesting ideas! I was just going to leave
> >>     it as a
> >>     >>>>>>>>>
> >>     >>>> simple
> >>     >>>>
> >>     >>>>>>>> tool. I agree with you that Eclipse has a great diff
> >>     view. Perhaps
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>> someone
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>> can take what I've done and use it as the start of an
> >>     Eclipse plugin.
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>> Jon
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>> ________________________________
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>> From: [EMAIL PROTECTED]
> >>     <mailto:[EMAIL PROTECTED]>
> >>     >>>>>>>> [mailto:[EMAIL PROTECTED]
> >>     <mailto:[EMAIL PROTECTED]>] On
> >>     >>>>>>>> Behalf Of Eric Lemesre
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>> Sent: Friday, October 19, 2007 2:36 AM
> >>     >>>>>>>>> To: List for discussion of JPP development and use.
> >>     >>>>>>>>> Subject: Re: [JPP-Devel] Subversion Time-Lapse View
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>> Hi jon,
> >>     >>>>>>>>>
> >>     >>>>>>>>> Nice tool.
> >>     >>>>>>>>> Do you have planed to add this tools as Eclipse plugin?
> >>     >>>>>>>>>
> >>     >>>>>>>>> And is it lot of work to add on a bar at left or rigth
> >>     side to view
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>> where
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>> is a diff?
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>> Eric
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>> 2007/10/19, Jonathan Aquino <[EMAIL PROTECTED]
> >>     <mailto:[EMAIL PROTECTED]>>:
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>>> Useful tool for Subversion:
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>     SVN Time-Lapse View
> >>     >>>>>>>>>>     http://code.google.com/p/svn-time-lapse-view/
> >>     >>>>>>>>>>
> >>     >>>>>>>>>> Lets you examine the history of a file by dragging a
> >>     slider. Diffs
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>> are
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>>>> highlighted in blue. If you want to know who changed a
> >>     line, when,
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>> and
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>> for
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>>> what reason, this is useful.
> >>     >>>>>>>>>>
> >>     >>>>>>>>>> For example, try it with
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>
> >>     
> >> https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot/core/trunk/src/com
> >>     >>>>
> >>     >>>>>>>>>> /vividsolutions/jump/workbench/JUMPWorkbench.java
> >>     >>>>>>>>>>
> >>     >>>>>>>>>> Jon
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>>>>>>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>>>>>>>>> Still grepping through log files to find problems?  Stop.
> >>     >>>>>>>>>> Now Search log events and configuration files using
> >>     AJAX and a
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>> browser.
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>>>> Download your FREE copy of Splunk now >>
> >>     http://get.splunk.com/
> >>     >>>>>>>>>> _______________________________________________
> >>     >>>>>>>>>> Jump-pilot-devel mailing list
> >>     >>>>>>>>>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>>>>>
> >>     >>>>>>>>
> >>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>>>>>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>>>>>>>> Still grepping through log files to find problems?  Stop.
> >>     >>>>>>>>> Now Search log events and configuration files using
> >>     AJAX and a
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>> browser.
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>>> Download your FREE copy of Splunk now >>
> >>     http://get.splunk.com/
> >>     >>>>>>>>> _______________________________________________
> >>     >>>>>>>>> Jump-pilot-devel mailing list
> >>     >>>>>>>>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>>
> >>     >>>>>>>>
> >>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>>>>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>>>>>>> Still grepping through log files to find problems?  Stop.
> >>     >>>>>>>> Now Search log events and configuration files using AJAX
> >>     and a
> >>     >>>>>>>>
> >>     >>>> browser.
> >>     >>>>
> >>     >>>>>>>> Download your FREE copy of Splunk now >>
> >>     http://get.splunk.com/
> >>     >>>>>>>> _______________________________________________
> >>     >>>>>>>> Jump-pilot-devel mailing list
> >>     >>>>>>>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>>>>>>>
> >>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>>>>>
> >>     >>>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>>>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>>>>>> Still grepping through log files to find problems?  Stop.
> >>     >>>>>>> Now Search log events and configuration files using AJAX
> >>     and a
> >>     >>>>>>>
> >>     >>>> browser.
> >>     >>>>
> >>     >>>>>>> Download your FREE copy of Splunk now >>
> >>     http://get.splunk.com/
> >>     >>>>>>> _______________________________________________
> >>     >>>>>>> Jump-pilot-devel mailing list
> >>     >>>>>>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>>>>
> >>     >>>>
> >>     
> >> ------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>>>>> Still grepping through log files to find problems?  Stop.
> >>     >>>>>> Now Search log events and configuration files using AJAX
> >>     and a browser.
> >>     >>>>>> Download your FREE copy of Splunk now >>
> >>     http://get.splunk.com/
> >>     >>>>>>
> >>     >>>>>>
> >>     >>>>>>
> >>     >>>>>>
> >>     >>>>
> >>     
> >> ------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>>> _______________________________________________
> >>     >>>>>> Jump-pilot-devel mailing list
> >>     >>>>>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >>>>>>
> >>     >>>>>>
> >>     >>>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>>>
> >>     >>>>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>>>> Still grepping through log files to find problems?  Stop.
> >>     >>>>> Now Search log events and configuration files using AJAX
> >>     and a browser.
> >>     >>>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
> >>     >>>>> _______________________________________________
> >>     >>>>> Jump-pilot-devel mailing list
> >>     >>>>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>>>>
> >>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
> >>     >>>>>
> >>     >>>>>
> >>     >>>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>>> Still grepping through log files to find problems?  Stop.
> >>     >>>> Now Search log events and configuration files using AJAX and
> >>     a browser.
> >>     >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
> >>     >>>> _______________________________________________
> >>     >>>> Jump-pilot-devel mailing list
> >>     >>>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >>>>
> >>     >>>>
> >>     >>>
> >>     
> >> ------------------------------------------------------------------------
> >>
> >>     >>>
> >>     >>>
> >>     
> >> -------------------------------------------------------------------------
> >>     >>> This SF.net email is sponsored by: Splunk Inc.
> >>     >>> Still grepping through log files to find problems?  Stop.
> >>     >>> Now Search log events and configuration files using AJAX and
> >>     a browser.
> >>     >>> Download your FREE copy of Splunk now >> http://get.splunk.com/
> >>     >>>
> >>     >>>
> >>     >>>
> >>     
> >> ------------------------------------------------------------------------
> >>     >>>
> >>     >>> _______________________________________________
> >>     >>> Jump-pilot-devel mailing list
> >>     >>> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
> >>     >>>
> >>     >>
> >>     
> >> -------------------------------------------------------------------------
> >>     >> This SF.net email is sponsored by: Splunk Inc.
> >>     >> Still grepping through log files to find problems?  Stop.
> >>     >> Now Search log events and configuration files using AJAX and a
> >>     browser.
> >>     >> Download your FREE copy of Splunk now >> http://get.splunk.com/
> >>     >> _______________________________________________
> >>     >> Jump-pilot-devel mailing list
> >>     >> Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >>
> >>     >
> >>     >
> >>     >
> >>     
> >> -------------------------------------------------------------------------
> >>     > This SF.net email is sponsored by: Splunk Inc.
> >>     > Still grepping through log files to find problems?  Stop.
> >>     > Now Search log events and configuration files using AJAX and a
> >>     browser.
> >>     > Download your FREE copy of Splunk now >> http://get.splunk.com/
> >>     > _______________________________________________
> >>     > Jump-pilot-devel mailing list
> >>     > Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>     >
> >>     >
> >>
> >>     
> >> -------------------------------------------------------------------------
> >>
> >>     This SF.net email is sponsored by: Splunk Inc.
> >>     Still grepping through log files to find problems?  Stop.
> >>     Now Search log events and configuration files using AJAX and a
> >>     browser.
> >>     Download your FREE copy of Splunk now >> http://get.splunk.com/
> >>     _______________________________________________
> >>     Jump-pilot-devel mailing list
> >>     Jump-pilot-devel@lists.sourceforge.net
> >>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>
> >>
> >>
> >>-------------------------------------------------------------------------
> >>This SF.net email is sponsored by: Splunk Inc.
> >>Still grepping through log files to find problems?  Stop.
> >>Now Search log events and configuration files using AJAX and a browser.
> >>Download your FREE copy of Splunk now >> http://get.splunk.com/
> >>
> >>
> >>_______________________________________________
> >>Jump-pilot-devel mailing list
> >>Jump-pilot-devel@lists.sourceforge.net 
> >><mailto:Jump-pilot-devel@lists.sourceforge.net>
> >>https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>
> >>
> >------------------------------------------------------------------------
> >
> >-------------------------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc.
> >Still grepping through log files to find problems?  Stop.
> >Now Search log events and configuration files using AJAX and a browser.
> >Download your FREE copy of Splunk now >> http://get.splunk.com/
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Jump-pilot-devel mailing list
> >Jump-pilot-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to