예제 #1
0
 @Override
 public void setUp() throws Exception {
   facet = new HandsFacet();
   super.setUp();
   DataSetID cid = DataSetID.getID();
   id = CharID.getID(cid);
   altid = CharID.getID(cid);
   facet.setRaceFacet(rfacet);
   facet.setTemplateFacet(tfacet);
 }
예제 #2
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   DataSetID cid = DataSetID.getID();
   id = CharID.getID(cid);
   altid = CharID.getID(cid);
   facet = getMockFacet();
   facet.setRaceFacet(rfacet);
   facet.setTemplateFacet(tfacet);
   facet.setFormulaResolvingFacet(new FormulaResolvingFacet());
   bonusInfo = new HashMap<CharID, Double>();
   staticSetUp();
 }
예제 #3
0
 private void update() {
   updateObjects();
   ScopeInstance scope = scopeFacet.get(activeIdentifier, selectedScope, activeObject);
   if (variableLibraryFacet.isLegalVariableName(
       activeIdentifier.getDatasetID(), scope.getLegalScope(), varNameText)) {
     displayInfo(scope);
   } else {
     // TODO Update a status bar
     System.err.println(selectedScope.getName() + " does not have a variable: " + varNameText);
   }
 }
예제 #4
0
 private void displayInfo(ScopeInstance scope) {
   VariableID<?> varID =
       variableLibraryFacet.getVariableID(activeIdentifier.getDatasetID(), scope, varNameText);
   setSteps(varID);
 }