Search in sources :

Example 6 with AWorkspaceNodeCreator

use of org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator in project freeplane by freeplane.

the class LinkCreator 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);
}
Also used : AWorkspaceNodeCreator(org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator)

Aggregations

AWorkspaceNodeCreator (org.freeplane.plugin.workspace.model.AWorkspaceNodeCreator)6 AWorkspaceTreeNode (org.freeplane.plugin.workspace.model.AWorkspaceTreeNode)2