Config -> PrefsConfig where appropriate.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@125 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2007-01-31 00:49:05 +00:00
parent 186327b3d1
commit 12f8cabd90
4 changed files with 17 additions and 21 deletions
+5 -6
View File
@@ -21,15 +21,14 @@
package com.threerings.cast; package com.threerings.cast;
import com.samskivert.util.Config; import com.samskivert.util.PrefsConfig;
/** /**
* Provides access to runtime configuration parameters for this package * Provides access to runtime configuration parameters for this package and its subpackages.
* and its subpackages.
*/ */
public class CastPrefs public class CastPrefs
{ {
/** Used to load our preferences from a properties file and map them /** Used to load our preferences from a properties file and map them to the persistent Java
* to the persistent Java preferences repository. */ * preferences repository. */
public static Config config = new Config("rsrc/config/cast"); public static PrefsConfig config = new PrefsConfig("rsrc/config/cast");
} }
@@ -101,8 +101,8 @@ import com.jmex.effects.particles.ParticleGeometry;
import com.samskivert.swing.GroupLayout; import com.samskivert.swing.GroupLayout;
import com.samskivert.swing.Spacer; import com.samskivert.swing.Spacer;
import com.samskivert.util.Config;
import com.samskivert.util.ObjectUtil; import com.samskivert.util.ObjectUtil;
import com.samskivert.util.PrefsConfig;
import com.samskivert.util.StringUtil; import com.samskivert.util.StringUtil;
import com.threerings.resource.ResourceManager; import com.threerings.resource.ResourceManager;
@@ -1117,8 +1117,7 @@ public class ModelViewer extends JmeCanvasApp
} }
/** The app configuration. */ /** The app configuration. */
protected static Config _config = protected static PrefsConfig _config = new PrefsConfig("com/threerings/jme/tools/ModelViewer");
new Config("com/threerings/jme/tools/ModelViewer");
/** Forces all particle systems to respawn. */ /** Forces all particle systems to respawn. */
protected static SpatialVisitor<ParticleGeometry> _respawner = protected static SpatialVisitor<ParticleGeometry> _respawner =
@@ -21,15 +21,14 @@
package com.threerings.media; package com.threerings.media;
import com.samskivert.util.Config; import com.samskivert.util.PrefsConfig;
/** /**
* Provides access to runtime configuration parameters for the media * Provides access to runtime configuration parameters for the media package and its subpackages.
* package and its subpackages.
*/ */
public class MediaPrefs public class MediaPrefs
{ {
/** Used to load our preferences from a properties file and map them /** Used to load our preferences from a properties file and map them to the persistent Java
* to the persistent Java preferences repository. */ * preferences repository. */
public static Config config = new Config("rsrc/config/media"); public static PrefsConfig config = new PrefsConfig("rsrc/config/media");
} }
+5 -6
View File
@@ -21,15 +21,14 @@
package com.threerings.miso; package com.threerings.miso;
import com.samskivert.util.Config; import com.samskivert.util.PrefsConfig;
/** /**
* Provides access to runtime configuration parameters for the miso * Provides access to runtime configuration parameters for the miso package and its subpackages.
* package and its subpackages.
*/ */
public class MisoPrefs public class MisoPrefs
{ {
/** Used to load our preferences from a properties file and map them /** Used to load our preferences from a properties file and map them to the persistent Java
* to the persistent Java preferences repository. */ * preferences repository. */
public static Config config = new Config("rsrc/config/miso"); public static PrefsConfig config = new PrefsConfig("rsrc/config/miso");
} }