Commit Graph

38 Commits

Author SHA1 Message Date
Michael Bayne aa3b2be4b6 Handle DSet fields being updated wholesale.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3127 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-29 04:04:20 +00:00
Michael Bayne 1f8c4578b7 LGPLed the library. Hello world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:12:55 +00:00
Michael Bayne 19abac5be1 Handle shorts. Maybe later we'll add support for pants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-09 03:52:04 +00:00
Ray Greenwell 136da4e780 Gracefully deal with DSet modifications, rather than brutishly recreating
the entire table.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3026 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 17:58:38 +00:00
Ray Greenwell 1e5ff6dd92 Broke out textual parsing into another method to ease subclassing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3025 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 03:25:19 +00:00
Ray Greenwell 87bbff083f Guts exported to ObjectEditorTable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3024 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-14 01:09:23 +00:00
Ray Greenwell d25c7adba6 added getSelectedEntry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3020 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 19:11:18 +00:00
Ray Greenwell c8f519fc85 Rolled SettedObject right into DObject, because it's just too useful.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3019 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 18:15:03 +00:00
Ray Greenwell 2d90dd40a1 A special field editor that may be used to display or edit DSets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3018 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 17:15:38 +00:00
Eric Lundberg c50dbe8b72 Allow the field editor to edit arrays of floats. The sword runtime config
currently uses them but it wasn't actually possible to edit them. (Not
that I'm messing with the values or the sword code, I just noticed it was
seemingly borked.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2989 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-05 23:44:28 +00:00
Michael Bayne 8a54e85914 Switched to a safe subscriber.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2983 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-06 14:55:50 +00:00
Michael Bayne 1a4bdbc5c2 Distributed objects go in the data package, not client. While I was in
here, I went ahead and cleaned up the custom field editor handling per
Ray's earlier suggestion.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2981 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-06 12:00:39 +00:00
Eric Lundberg 92b716d790 seems to work like a champ.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2979 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-05 02:40:18 +00:00
Eric Lundberg 20541d11dc Added code to support serializing and deserializing of Streamable objects
in the prefs.  Thus we can now have DSets of arbitrary data types in our
run time config objects, with swanky custom UI no less.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2978 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-04 02:50:30 +00:00
Eric Lundberg 4e7ea75efa Changed to use the custom ui if it is available from the configObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2977 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-04 02:43:48 +00:00
Eric Lundberg 97207fca74 Initial checkin of the new base config object for run time configs.
Allows derived config objects to provide custom editing UI.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2976 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-04 02:42:31 +00:00
Michael Bayne 9ccff79f52 Regenerated.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2973 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:51:51 +00:00
Michael Bayne 61d46f2768 Import cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2968 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:39:34 +00:00
Michael Bayne 77bc33214a Handle string and int arrays.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-27 05:34:19 +00:00
Michael Bayne 5b66d1d672 Wasn't handling floating point preference values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2799 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-18 21:35:02 +00:00
Michael Bayne 205a25ce10 Allow editing of floats and doubles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-25 03:13:56 +00:00
Michael Bayne dc15ffc36f Have to supply the old value now when constructing an
AttributeChangedEvent by hand.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2511 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-30 22:32:20 +00:00
Michael Bayne c21d757bfe Added support for float.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 01:42:51 +00:00
Michael Bayne 88f0555af7 Added support for float[].
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 01:40:32 +00:00
Walter Korman a91061cb30 Use SwingUtil.refresh().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-11 01:03:02 +00:00
Michael Bayne 57e697b600 Handle long fields, report when we don't know the type of a field.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1769 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-02 20:10:20 +00:00
Michael Bayne a21ea989e8 No built-in title.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1751 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-25 03:01:14 +00:00
Michael Bayne 689546f785 Removed debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1736 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:35:10 +00:00
Michael Bayne 361c992ac4 Configuration rethink! There's now much more magic. We simply define
distributed objects which contain our configuration parameters; those
objects once registered with the ConfObjRegistry will automatically be
populated from appropriate stati config files and modifications to those
objects (made through the standard admin config interface) will
automatically be mirrored out to the preferences that override the values
specified in the config files (which override the default values defined
in the config object class definitions).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1735 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:34:32 +00:00
Michael Bayne 1caf5bcbdc Added a header and some handy usage labels.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1734 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:32:32 +00:00
Michael Bayne caa5490a89 Handle boolean fields; moved ancestor listener stuff into
add/removeNotify().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1733 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:31:49 +00:00
Michael Bayne 99edb5cd5e Regenerated services and receivers to fix bugs and use updated templates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 19:38:16 +00:00
Michael Bayne e54a4d41f4 The great invocation services rethink of 2002! Rearchitected the remote
method invocation services and converted everything to the new style.
Could this be my biggest checkin ever?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 19:08:01 +00:00
Ray Greenwell 86e4745882 Moved SafeScrollPane back
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 21:13:20 +00:00
Ray Greenwell 3ff952ee49 Moved SafeScrollPane to com.samskivert.swing
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1561 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 17:49:12 +00:00
Michael Bayne a74f3e4422 Fixed up the code that outlines uncommitted values in red.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1430 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-07 18:48:41 +00:00
Michael Bayne 60a02f3c39 Wired up the field editor to generate and receive attr changed events.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1429 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-07 17:34:37 +00:00
Michael Bayne 6202c1a463 Beginnings of runtime control panel stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1428 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-07 06:22:24 +00:00