org.topbraidcomposer.gef.diagram.custom
Interface ICustomNodeType

All Known Implementing Classes:
SPARQLNodeType

public interface ICustomNodeType


Method Summary
 java.util.Set getSourceCustomNodeModels(ClassEditPart editPart)
          Gets a Set of CustomNodeModels that have an outgoing edge from a given ClassEditPart.
 java.util.Set getTargetCustomNodeModels(ClassEditPart editPart)
          Gets a Set of CustomNodeModels that have an incoming edge from a given ClassEditPart.
 

Method Detail

getSourceCustomNodeModels

java.util.Set getSourceCustomNodeModels(ClassEditPart editPart)
Gets a Set of CustomNodeModels that have an outgoing edge from a given ClassEditPart. For example, if this node type implements SPARQL queries, then this could return all queries that have the given class or one of its properties in their CONSTRUCT clause.

Parameters:
editPart - the source EditPart
Returns:
a Set of new CustomNodeModels

getTargetCustomNodeModels

java.util.Set getTargetCustomNodeModels(ClassEditPart editPart)
Gets a Set of CustomNodeModels that have an incoming edge from a given ClassEditPart. For example, if this node type implements SPARQL queries, then this could return all queries that have the given class or one of its properties in their WHERE clause.

Parameters:
editPart - the source EditPart
Returns:
a Set of new CustomNodeModels