Bundles! Have component bundles largely working. Wrote test code and ANT
tasks and XML parsing rule sets all the good stuff. Rewired up all the cast code to be amenable to bundling and did some other revamping. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@640 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,30 +1,25 @@
|
||||
//
|
||||
// $Id: BuilderPanel.java,v 1.4 2001/11/18 04:09:21 mdb Exp $
|
||||
// $Id: BuilderPanel.java,v 1.5 2001/11/27 08:09:35 mdb Exp $
|
||||
|
||||
package com.threerings.cast.tools.builder;
|
||||
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.util.Iterator;
|
||||
package com.threerings.cast.builder;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
import com.samskivert.swing.*;
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
import com.threerings.cast.*;
|
||||
import com.threerings.cast.CharacterManager;
|
||||
import com.threerings.cast.ComponentRepository;
|
||||
|
||||
/**
|
||||
* The builder panel presents the user with an overview of a
|
||||
* composited character and facilities for altering the individual
|
||||
* components that comprise the character's display image.
|
||||
* The builder panel presents the user with an overview of a composited
|
||||
* character and facilities for altering the individual components that
|
||||
* comprise the character's display image.
|
||||
*/
|
||||
public class BuilderPanel extends JPanel
|
||||
{
|
||||
/**
|
||||
* Constructs the builder panel.
|
||||
*/
|
||||
public BuilderPanel (CharacterManager charmgr)
|
||||
public BuilderPanel (CharacterManager charmgr, ComponentRepository crepo)
|
||||
{
|
||||
setLayout(new VGroupLayout());
|
||||
|
||||
@@ -35,7 +30,7 @@ public class BuilderPanel extends JPanel
|
||||
gl.setOffAxisPolicy(GroupLayout.STRETCH);
|
||||
|
||||
// create the builder model
|
||||
BuilderModel model = new BuilderModel(charmgr);
|
||||
BuilderModel model = new BuilderModel(crepo);
|
||||
|
||||
// create the component selection and sprite display panels
|
||||
JPanel sub = new JPanel(gl);
|
||||
|
||||
Reference in New Issue
Block a user