Re: [SuiteGM-Developers] ATTN Nick please, Use JTree for SuiteGM Plugin generator steps? Any caveat
Status: Pre-Alpha
Brought to you by:
kmleon
From: Discussion l. f. S. D. a. T. <sui...@li...> - 2009-11-16 06:03:35
|
Here is a screenshot of it so far, it should convey at least the UI side of what I'm thinking. Any issues/suggestions with this approach? Cheers! -Hawke http://suitegm.com/Members/hawke/images/suitegm-plugin-creator-with-tree-1.png/image_view_fullscreen Discussion list for SuiteGM Developers and Testers wrote: > Greetings, > > I'm reading over the JTree Swing component here: > http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html > > Since the data for the plugin is going to be stored in a hierarchical > form in XML, maybe this would be the perfect way to let a user design > their system in SuiteGM Plugin Creator? At least for steps 1 and 2. > > They put a checkmark in the category(ies) they desire, and that adds it > as a branch off the root branch. Now they can create additional leaf > nodes or branches for further subcategorization for defining their > system. > > Example use case: > Select "Race" checkbox. > That automatically adds it to the Root branch. > Now user can (right?) click on the "Race" branch (folder), and > select "create field" or "create subcategory". > If they select "create field", they could add let's say "Human". > Then they repeat action and add "Elf". > And add again. > However, if they want subcategories, as many games have, they might use > it like this: > > Select Race. > Right click and "add subcategory". > Name subcategory "Elf". > Now under subcategory Elf, they right click and select "create field", > and enter "Silvan Elf". > Etc. > > Now, I'm not sure how this will work exactly, I just stumbled across it, > and will do some experimenting and learning to see if what I'm > describing is possible. > > If possible, they could (don't know if JTree suppoprts this or not), > fulfull step 3 from here as well. Maybe there can be a "Properties" > list for a right click for any branch or node, that allows them to > setup logic variables? > > For example, Root would be the name of the plugin, so let's say under > Root "icemerp2 > Race > Elf > Silvan Elf" they right click and select > Properties. > This gives them a Properties dialogue box (or jframe, or is there > something like a "properties editor" in Java that would make more > sense?), and they get a form that allows them to add variable > information such as: > Field Name Title: Stat Field Variable Title: Modifier > Stat Modifier > DEX +10 > INT +15 > Resistance Roll Disease +100 > > Is this even possible from JTree? > Is there a better way to handle this? > > Any caveats, advisories, or tricks I should know about this Nick? > Thanks kindly! > > -Hawke > ---------------------- > SuiteGM Founder & Developer > http://suitegm.com > http://suitegm.sourceforge.net > > Email lists at: http://suitegm.com/email-lists > > Anonymous Subversion Access: > http://suitegm.svn.sourceforge.net > > SuiteGM is a project dedicated to creating an extensive > set of computer based utilities to aid classical paper and dice Game > Masters in their work. > > This project is Java based, open source, open platform, > open game system and multi-lingual. > > Features to be included: > * Cross-platform (Java & XML based) > * Tested to work on Linux, Mac OSX, & Windows > * Character Generation > * Character/Party tracking > * Combat resolution > * Mapping > * Adventure logging (with wiki export) > * Synchronizable/updateable software and data files > * On and offline capabilities > * Modular design to make it easy for others to contribute features and > content > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > suitegm-developers mailing list > sui...@li... > https://lists.sourceforge.net/lists/listinfo/suitegm-developers > |