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