// 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(); }
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(); }
@Override public void actionPerformed(ActionEvent actionevent) { System.err.println("Saving the OWL"); GraphPlaySheet ps = (GraphPlaySheet) QuestionPlaySheetStore.getInstance().getActiveSheet(); saveIt(); }