SigPath

org.sigpath.navigator.mapping
Class CompactNodesMapping

java.lang.Object
  extended by org.sigpath.navigator.mapping.CompactNodesMapping
All Implemented Interfaces:
MappingStrategy

public class CompactNodesMapping
extends Object
implements MappingStrategy

In this mapping, interactions / reactions / pathways / models are represented by all the chemical nodes that are associated with them. Thus, this class is called compact nodes mapping. The code is very similar to that of TViewImageYFiles.


Field Summary
static int ARROW
           
static int ARROW_CUSTOM
           
static int ARROW_ENZYMATIC
           
static int ARROW_MASSACTION
           
static int COMPLEX
           
static int CONC
           
static int CONCEDGE
           
static int ENZYME
           
static int ENZYMEEDGE
           
static int ENZYMEEDGE_BLUR
           
static int EREACTION
           
static int NAMEDCHEMICAL
           
static int NOARROW
           
static int NOARROW_CUSTOM
           
static int NOARROW_ENZYMATIC
           
static int NOARROW_MASSACTION
           
static int PENDINGLIST
           
static int PROTEIN
           
static int REACTION
           
static int SMALLMOL
           
 
Constructor Summary
CompactNodesMapping()
           
 
Method Summary
 void mapEntitiesToGraph(Collection entities, GraphicsModel model, y.view.Graph2D yGraph)
          Maps a collection of SigPath entity summaries to nodes and edges in the destination graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REACTION

public static final int REACTION
See Also:
Constant Field Values

EREACTION

public static final int EREACTION
See Also:
Constant Field Values

PROTEIN

public static final int PROTEIN
See Also:
Constant Field Values

SMALLMOL

public static final int SMALLMOL
See Also:
Constant Field Values

COMPLEX

public static final int COMPLEX
See Also:
Constant Field Values

ENZYME

public static final int ENZYME
See Also:
Constant Field Values

NAMEDCHEMICAL

public static final int NAMEDCHEMICAL
See Also:
Constant Field Values

CONC

public static final int CONC
See Also:
Constant Field Values

PENDINGLIST

public static final int PENDINGLIST
See Also:
Constant Field Values

NOARROW

public static final int NOARROW
See Also:
Constant Field Values

NOARROW_MASSACTION

public static final int NOARROW_MASSACTION
See Also:
Constant Field Values

NOARROW_ENZYMATIC

public static final int NOARROW_ENZYMATIC
See Also:
Constant Field Values

NOARROW_CUSTOM

public static final int NOARROW_CUSTOM
See Also:
Constant Field Values

ARROW

public static final int ARROW
See Also:
Constant Field Values

ARROW_MASSACTION

public static final int ARROW_MASSACTION
See Also:
Constant Field Values

ARROW_ENZYMATIC

public static final int ARROW_ENZYMATIC
See Also:
Constant Field Values

ARROW_CUSTOM

public static final int ARROW_CUSTOM
See Also:
Constant Field Values

ENZYMEEDGE

public static final int ENZYMEEDGE
See Also:
Constant Field Values

ENZYMEEDGE_BLUR

public static final int ENZYMEEDGE_BLUR
See Also:
Constant Field Values

CONCEDGE

public static final int CONCEDGE
See Also:
Constant Field Values
Constructor Detail

CompactNodesMapping

public CompactNodesMapping()
Method Detail

mapEntitiesToGraph

public void mapEntitiesToGraph(Collection entities,
                               GraphicsModel model,
                               y.view.Graph2D yGraph)
Maps a collection of SigPath entity summaries to nodes and edges in the destination graph.

Specified by:
mapEntitiesToGraph in interface MappingStrategy
Parameters:
entities - Collection of visible entities (forward references included).
model - The graphics model that the method will use to determine which nodes are visible or hidden
yGraph - The destination graph.

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.