Exemplo n.º 1
0
 // temporary placeholder
 // once complete, this will be written into the prop file back
 public void saveIt() {
   GraphPlaySheet ps = (GraphPlaySheet) QuestionPlaySheetStore.getInstance().getActiveSheet();
   String engineName = ps.engine.getEngineName();
   // get the core properties
   ps.exportDB();
   ps.engine.saveConfiguration();
 }
Exemplo n.º 2
0
 public void paintShape() {
   TypeColorShapeTable tcst = TypeColorShapeTable.getInstance();
   for (int vertIndex = 0; vertIndex < pickedVertex.length; vertIndex++) {
     tcst.addShape("" + pickedVertex[vertIndex].getProperty(Constants.VERTEX_NAME), shape);
   }
   GraphPlaySheet playSheet =
       (GraphPlaySheet) QuestionPlaySheetStore.getInstance().getActiveSheet();
   playSheet.repaint();
 }
Exemplo n.º 3
0
 @Override
 public void actionPerformed(ActionEvent actionevent) {
   System.err.println("Saving the OWL");
   GraphPlaySheet ps = (GraphPlaySheet) QuestionPlaySheetStore.getInstance().getActiveSheet();
   saveIt();
 }