Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/model/node
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26085/src/net/sf/magicmap/client/model/node
Added Files:
MapNode.java
Log Message:
new node for maps
(slightly agains concept, but seems currently the only way to integrate maps in the outline view without very major changes)
--- NEW FILE: MapNode.java ---
package net.sf.magicmap.client.model.node;
import java.util.ArrayList;
/**
* Node type for maps
* (currently only used for the outline view)
* @author Johannes Zapotoczky (joh...@za...)
*/
public class MapNode extends Node {
/**
* Constructor
* @param model - the corresponding node model (!= null)
*/
public MapNode(NodeModel model) {
super(model);
}
/* (non-Javadoc)
* @see net.sf.magicmap.client.model.node.Node#getNeighbors()
*/
public ArrayList getNeighbors() {
return new ArrayList();
}
/* (non-Javadoc)
* @see net.sf.magicmap.client.model.node.Node#getType()
*/
public int getType() {
return NodeModel.NODETYPE_MAP;
}
}
|