use of org.freeplane.features.map.INodeView in project freeplane by freeplane.
the class LatexNodeHook method add.
@Override
public void add(final NodeModel node, final IExtension extension) {
final LatexExtension latexExtension = (LatexExtension) extension;
for (NodeModel nodeClone : node.allClones()) {
for (final INodeView iNodeView : nodeClone.getViewers()) {
final NodeView view = (NodeView) iNodeView;
createViewer(latexExtension, view);
}
}
super.add(node, extension);
}
use of org.freeplane.features.map.INodeView in project freeplane by freeplane.
the class ViewerController method add.
@Override
protected void add(final NodeModel node, final IExtension extension) {
final ExternalResource preview = (ExternalResource) extension;
for (NodeModel nodeClone : node.allClones()) {
for (final INodeView iNodeView : nodeClone.getViewers()) {
final NodeView view = (NodeView) iNodeView;
createViewer(preview, view);
}
}
super.add(node, extension);
}