hi, there is as well a class MenuNames.java which provides default values (necessary for translation). Apart from extension there is also one called simply "PlugIns"
please have a look on that class. But it is only available in OpenJUMP stefan Geoffrey G Roy schrieb: > Dear Michael > > Yes, I think that would be quite OK > > Geoff > > Michaël Michaud wrote: >>> Juar a thought however, It might be worthwhile establishing a standard >>> name (in English and other languages) for at least one menu item that >>> could be used by plugin developers to add items too. I know we can add >>> to File, Tools etc, but it may prove useful to have a general menu (like >>> "Extensions") where otherwise unclassified plugins might appear. >>> >>> >>> >> Hi Geoff, >> >> In the last distribution (at least the one in the nightly build), we >> added a "Customize" menu for >> "ExtensionManager", "BeanShell Console" and "BeanTools" plugins. >> This menu could be called "Extension", but for now, it is internationalized. >> Instead of standardizing or hard coding the menu name, may be we can >> make this menu >> available through a specific method like getExtensionMenu() or make a >> special version >> of FeatureInstaller to add plugins to this menu. >> Would it meet your request ? >> >> Michaël >> >> >>> Geoff >>> >>> Sunburned Surveyor wrote: >>> >>> >>> >>>> Geoff, >>>> >>>> Can you verify the behavior that Stefan described? Is this how the >>>> menus are working for you? >>>> >>>> The Sunburned Surveyor >>>> >>>> On 5/2/07, *Stefan Steiniger * <[EMAIL PROTECTED] >>>> <mailto:[EMAIL PROTECTED]>> wrote: >>>> >>>> adding menu items to existing ones is one of the great things of >>>> JUMP .. >>>> thanx to Martin and Jon >>>> >>>> Geoffrey G Roy schrieb: >>>> > To the Gurus >>>> > >>>> > I understand how to create a Main menu item, and to add one or more >>>> > items to it when a plugin is loaded. What should happen if two >>>> plugins >>>> > create the same Main Menu item, and try to add different items >>>> to it??? >>>> > >>>> > My initial testing seems to indicate that the last loaded plugin >>>> appears >>>> > to replace the menu created with the first loaded plugin. Is this >>>> > behaviour correct, or can be be avoided. >>>> > >>>> > Geoff >>>> > >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> 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 DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> 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 DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel