On 07.12.2014 15:56, Michael Michaud wrote:
> Hi Ede,
> 
> Not sure I understand how you want to manage true extensions.
> I think an extension which is not included in PLUS distro still need to
> be initialized through its initialize method rather than through
> default-plugins.xml (or did I miss something).

yes ;).. the "new" default-plugins.xml cannot only initialize, but also modify 
and/or place a plugin. it can even only do the second, leaving the 
initialization completely to the original extension.

> As I understand it, for extensions, it's still up to the developper to
> decide where the plugin will go. 

it is. on the other hand we now have the tools at hand to override this 
decision (and more, like icon, name etc..). we can change those without 
touching the extensions code, which is a big plus, as we usually do not control 
the extensions development.

>I think there may be a few reasons
> why it should go in plugins menu rather than in tools menu :
> - it may take place in another menu than tools

then why 'Plugins'? that's even more generic than 'Tools' :)

> - it may be difficult to insert it at the right place (see my hack for CTS)

that will always be difficult. but we can now control the placing of known 
Extensions via xml and others simply go to the end of the menu. if they get 
popular we can easily add them to the xml definition for a proper placement.

> - it may be easier to find a tool in plugins menu for a user if he knows it
> added it as an extension (dropping a jar in ext dir)

as i understand it, only a minority of our extensions are placed into 'Plugins'.

> 
> Note that I'm not against moving current extensions from Plugins to
> Tools where it makes sense, but redirecting MenuNames.PLUGIN to
> MenuNames.TOOLS seems a bit rough.

just a way to prevent unknown extensions to place themselves into 'Plugins' 
after we took the effort to remove it.

> 
> Let's hear others as everybody has a different opinion when it comes
> to put tools at the right place ;-)

yeah.. speak up everybody.. ede


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to