use of org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator in project freeplane by freeplane.
the class LinkCreator method getNode.
/**
*********************************************************************************
* REQUIRED METHODS FOR INTERFACES
*********************************************************************************
*/
public AWorkspaceTreeNode getNode(XMLElement data) {
String type = data.getAttribute("type", null);
if (type == null || !creatorTable.containsKey(type)) {
return null;
}
AWorkspaceNodeCreator creator = creatorTable.get(type);
return creator.getNode(data);
}
use of org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator in project freeplane by freeplane.
the class FolderCreator method endElement.
public void endElement(final Object parent, final String tag, final Object userObject, final XMLElement lastBuiltElement) {
String type = lastBuiltElement.getAttribute("type", null);
if (type == null || !creatorTable.containsKey(type)) {
return;
}
AWorkspaceNodeCreator creator = creatorTable.get(type);
creator.endElement(parent, tag, userObject, lastBuiltElement);
}
use of org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator in project freeplane by freeplane.
the class ActionCreator method getNode.
/**
*********************************************************************************
* REQUIRED METHODS FOR INTERFACES
*********************************************************************************
*/
public AWorkspaceTreeNode getNode(XMLElement data) {
String type = data.getAttribute("type", null);
if (type == null || !creatorTable.containsKey(type)) {
return null;
}
AWorkspaceNodeCreator creator = creatorTable.get(type);
AWorkspaceTreeNode node = creator.getNode(data);
return node;
}
use of org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator in project freeplane by freeplane.
the class ActionCreator method endElement.
public void endElement(final Object parent, final String tag, final Object userObject, final XMLElement lastBuiltElement) {
String type = lastBuiltElement.getAttribute("type", null);
if (type == null || !creatorTable.containsKey(type)) {
return;
}
AWorkspaceNodeCreator creator = creatorTable.get(type);
creator.endElement(parent, tag, userObject, lastBuiltElement);
}
use of org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator in project freeplane by freeplane.
the class FolderCreator method getNode.
/**
*********************************************************************************
* REQUIRED METHODS FOR INTERFACES
*********************************************************************************
*/
public AWorkspaceTreeNode getNode(XMLElement data) {
String type = data.getAttribute("type", null);
if (type == null || !creatorTable.containsKey(type)) {
return null;
}
AWorkspaceNodeCreator creator = creatorTable.get(type);
AWorkspaceTreeNode node = creator.getNode(data);
return node;
}
Aggregations