IEditorInput input
com.vainolo.opm.editor/src/com/vainolo/opm/editor/OPEditor.java
super.setInput(input);
	  @Override
	  public void commandStackChanged(EventObject event) {
	    firePropertyChange(PROP_DIRTY);
	    super.commandStackChanged(event);
void setInput(IEditorInput input)
int value  String name  String literal
com.vainolo.opm.editor/src/com/vainolo/opm/model/OPProceduralLinkKind.java
this.value = value;
		this.name = name;
		this.literal = literal;
private OPProceduralLinkKind(int value, String name, String literal)
com.vainolo.opm.editor/src/com/vainolo/opm/model/OPProceduralLinkKind.java
return value;
int getValue()
com.vainolo.opm.editor/src/com/vainolo/opm/model/OPProceduralLinkKind.java
return name;
String getName()
com.vainolo.opm.editor/src/com/vainolo/opm/model/OPProceduralLinkKind.java
return literal;
String getLiteral()
String name
com.vainolo.opm.editor/src/com/vainolo/opm/model/OPProceduralLinkKind.java
for(OPProceduralLinkKind kind:values) {
			if(kind.name.equals(name))
				return kind;
OPProceduralLinkKind getByName(String name)
OPLink link
com.vainolo.opm.editor/src/com/vainolo/opm/model/impl/OPSystemImpl.java
links.add(link);
void addLink(OPLink link)
OPLink link
com.vainolo.opm.editor/src/com/vainolo/opm/model/impl/OPSystemImpl.java
links.remove(link);
void removeLink(OPLink link)
JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
//		OPSystem system = OPModelFactory.createOPSystem();
//		system.setName(json.get("name").asString());
//		system.setNextId(json.get("nexId").asInt());
//		system.setSD(readOPObjectProcessDiagram(json.get("SD").asObject()));
//		return system;
//
OPSystem readOPSystem(JsonObject json)
JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
//		OPObjectProcessDiagram opd = OPModelFactory.createObjectProcessDiagram();
//		readOPModelBase(opd, json);
//		readOPElementViewContainer(opd, json);
//
//		Map<Integer, OPLinkView> idToLink = Maps.newHashMap();
//		Map<OPLinkView, Integer> linkToSource = Maps.newHashMap();
//		Map<OPLinkView, Integer> linkToTarget = Maps.newHashMap();
//		
//		for(JsonValue link : json.get("links").asArray()) {
//			opd.addLinkView(readOPLinkView(link.asObject(), idToLink, linkToSource, linkToTarget));
//
OPObjectProcessDiagram readOPObjectProcessDiagram(JsonObject json)
JsonObject json  Map<Integer  OPLinkView> idToLink  Map<OPLinkView  Integer> linkToSource  Map<OPLinkView  Integer> linkToTarget
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
//		OPLinkView link = OPModelFactory.createLinkView();
//		readOPModelBase(link, json);
//		idToLink.put(link.getId(), link);
//		linkToSource.put(link, json.get("source").asInt());
//		linkToTarget.put(link, json.get("target").asInt());
//		return link;
//
OPLinkView readOPLinkView(JsonObject json, Map<Integer, OPLinkView> idToLink, Map<OPLinkView, Integer> linkToSource, Map<OPLinkView, Integer> linkToTarget)
OPElementViewContainer container  JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
//		JsonArray nodes = json.get("nodes").asArray();
//		for (JsonValue node : nodes) {
////			container.addNode(readOPNodeView(node.asObject()));
//
void readOPElementViewContainer(OPElementViewContainer container, JsonObject json)
OPElement base  JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
//		base.setId(json.get("id").asInt());
//
void readOPModelBase(OPElement base, JsonObject json)
OPLinkView link
com.vainolo.opm.editor/src/com/vainolo/opm/model/impl/OPObjectProcessDiagramImpl.java
links.add(link);
		notifyObservers();
void addLinkView(OPLinkView link)
OPLinkView link
com.vainolo.opm.editor/src/com/vainolo/opm/model/impl/OPObjectProcessDiagramImpl.java
links.remove(link);
		notifyObservers();
void removeLinkView(OPLinkView link)
JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
OPSystem system = OPModelFactory.createOPSystem();
		system.setName(json.get("name").asString());
		system.setNextId(json.get("nexId").asInt());
		system.setSD(readOPObjectProcessDiagram(json.get("SD").asObject()));
		return system;
OPSystem readOPSystem(JsonObject json)
JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
OPObjectProcessDiagram opd = OPModelFactory.createObjectProcessDiagram();
		readOPModelBase(opd, json);
		readOPElementViewContainer(opd, json);

		Map<Integer, OPLinkView> idToLink = Maps.newHashMap();
		Map<OPLinkView, Integer> linkToSource = Maps.newHashMap();
		Map<OPLinkView, Integer> linkToTarget = Maps.newHashMap();
		
		for(JsonValue link : json.get("links").asArray()) {
			opd.addLinkView(readOPLinkView(link.asObject(), idToLink, linkToSource, linkToTarget));
OPObjectProcessDiagram readOPObjectProcessDiagram(JsonObject json)
JsonObject json  Map<Integer  OPLinkView> idToLink  Map<OPLinkView  Integer> linkToSource  Map<OPLinkView  Integer> linkToTarget
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
OPLinkView link = OPModelFactory.createLinkView();
		readOPModelBase(link, json);
		idToLink.put(link.getId(), link);
		linkToSource.put(link, json.get("source").asInt());
		linkToTarget.put(link, json.get("target").asInt());
		return link;
OPLinkView readOPLinkView(JsonObject json, Map<Integer, OPLinkView> idToLink, Map<OPLinkView, Integer> linkToSource, Map<OPLinkView, Integer> linkToTarget)
OPElementViewContainer container  JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
JsonArray nodes = json.get("nodes").asArray();
		for (JsonValue node : nodes) {
//			container.addNode(readOPNodeView(node.asObject()));
void readOPElementViewContainer(OPElementViewContainer container, JsonObject json)
OPElement base  JsonObject json
com.vainolo.opm.editor/src/com/vainolo/opm/model/io/OPJSONReader.java
base.setId(json.get("id").asInt());
void readOPModelBase(OPElement base, JsonObject json)
com.vainolo.opm.editor/src/com/vainolo/opm/model/view/impl/OPLinkViewImpl.java
return opd;
OPObjectProcessDiagram getObjectProcessDiagram()
OPObjectProcessDiagram opd
com.vainolo.opm.editor/src/com/vainolo/opm/model/view/impl/OPLinkViewImpl.java
this.opd = opd;
		opd.addLinkView(this);
		notifyObservers();
void setObjectProcessDiagram(OPObjectProcessDiagram opd)