Hi Larry, I must admit I even did not think about extending workbench-properties.xml. The feature request you refer to and your proposition meet exactly my questions. I understand that you think about extending workbench-properties.xml with specific tags representing jump's plugins and ui elements like menu-items and tools without using a specific library. I'm still not sure about the best approach, but it would be a great feature for OpenJUMP.
Michaël Larry Becker a écrit : >Hi Michaël, > > I believe the OJ feature request that you are referring to was >submitted by Steve Tanner: > "Have JUMPConfiguration.java in XML file. > > Ugo added the following comment: > >Ugo Taddei: �Has anyone thought about changing the >JUMPConfiguration.java to an xml-based config? That is, >instead of hard-coding all those plug-ins at compile >time, the app would generate them a runtime. I say this >because (1) JUMPConfiguration is rather long and (2) in >a project we only had to change the order and >availability of plug-ins, and commenting them out was a >solutions. It'd have been more elegant to do that with >a text file�. > >If I understand this feature request right, it is referring to >supporting something like the development-only >workbench-properties.xml file (or perhaps just it). > >I think this would be a great idea and have been considering working >on it. If I could get runtime support for workbench-properties, would >that meet your requirements too? > >regards, >Larry > > >On 5/8/07, Michaël Michaud <[EMAIL PROTECTED]> wrote: > > >>Hi, >> >>I take advantage of this mail to extend the question to a more general >>feature request... >> >>I have noticed that the oldest OJ's feature request is having an xml >>configuration file for OpenJUMP (feature request from Jon). A few days >>ago, I decided to have a look in some of OpenJUMP's classes where the UI >>initialization happens to see how difficult it would be to do it. >>There are two libraries I am interested in for UI design : swixml and >>buoy (I think E. Soldin used swixml for one of his plugins and I used >>buoy for 'simple query' plugin). >>Modifying OpenJUMP to use buoy would be a great project, but far too big >>for me, so I started to look how to benefit from swixml. >>After some hours trying to figure out how to put jump's UI elements into >>a swixml hierarchy, I still had no result, and started to wonder what is >>the better solution : to refactor some of OpenJUMP's ui classes and >>maybe create some specific swixml tag until I find a way to make OJ ui >>fit the swixml model, or to create a specific xml representation of >>OpenJUMP's ui elements. >> >>If JUMP's designers or swing gurus have some advices to give me or some >>experience about this problem, they are welcome. >> >>Michaël >> >>Stefan Steiniger a écrit : >> >> >> >>>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 >>>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