// Iterator<String> keyIt = loadObject.keys();
// HashMap<String, GraphWrapperEditable> tmp = new HashMap<String, GraphWrapperEditable>();
RuleOperator op = null;
// JSONObject opLoadObject = loadObject.getJSONObject(ruleOpName);
JSONObject canvasInfo = loadObject.getJSONObject("CANVASINFO");
JSONArray positionArray = canvasInfo.getJSONArray("POSITION");
JSONObject ruleEditorPane = loadObject.getJSONObject("RULEEDITORPANE");
if( canvasInfo.has("OP TYPE") && canvasInfo.getString("OP TYPE").equals("RuleOperator") ) {
op = new RuleOperator(ruleOpName, loadObject);
op.setDocumentName(documentName);
op.setVisualRifEditor(this.visualRifEditor);
op.setDocumentName(documentName);
op.initRule();
op.getRulePanel().getRuleEditorPane().fromJSON(ruleEditorPane);
}
this.addOperator(positionArray.getInt(0), positionArray.getInt(1), op);