@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); }
@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(); }
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); } }
private void displayInfo(ScopeInstance scope) { VariableID<?> varID = variableLibraryFacet.getVariableID(activeIdentifier.getDatasetID(), scope, varNameText); setSteps(varID); }