endrov.flowBasic.objects
Class FlowUnitObjectReference

java.lang.Object
  extended by endrov.flow.FlowUnit
      extended by endrov.flow.FlowUnitBasic
          extended by endrov.flowBasic.objects.FlowUnitObjectReference

public class FlowUnitObjectReference
extends FlowUnitBasic

Get object, absolute path


Field Summary
 
Fields inherited from class endrov.flow.FlowUnitBasic
hasComponent, TEXTABOVE, TEXTLEFT, textPosition
 
Fields inherited from class endrov.flow.FlowUnit
fm, font, fonta, fonth, x, y
 
Constructor Summary
FlowUnitObjectReference()
           
FlowUnitObjectReference(java.lang.String path)
           
 
Method Summary
 void evaluate(Flow flow, FlowExec exec)
           
 void fromXML(org.jdom.Element e)
           
 java.awt.Color getBackground()
           
 java.lang.String getBasicShowName()
          Name to be shown on box
 java.awt.Component getGUIcomponent(FlowView p)
          Trivial implementation, can be overridden
 javax.swing.ImageIcon getIcon()
           
 java.lang.String getLabel()
           
 void getTypesIn(java.util.Map<java.lang.String,FlowType> types, Flow flow)
          Get types of flows in
 void getTypesOut(java.util.Map<java.lang.String,FlowType> types, Flow flow)
          Get types of flows out
static void initPlugin()
          Plugin declaration
 void setRef(java.lang.String s)
           
 java.lang.String toXML(org.jdom.Element e)
           
 
Methods inherited from class endrov.flow.FlowUnitBasic
editDialog, getBoundingBox, getGUIcomponentOffsetX, getGUIcomponentOffsetY, getHelpArticle, getSubUnits, mouseHoverMoveRegion, paint
 
Methods inherited from class endrov.flow.FlowUnit
checkNotNull, errNullValues, errUnsupportedTypes, getBorderColor, getMidPos, getTextColor, getTypesIn, getTypesInCount, getTypesOut, getTypesOutCount, helperDrawConnectors, isSelected, toDouble
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowUnitObjectReference

public FlowUnitObjectReference()

FlowUnitObjectReference

public FlowUnitObjectReference(java.lang.String path)
Method Detail

initPlugin

public static void initPlugin()
Plugin declaration


getLabel

public java.lang.String getLabel()

getTypesIn

public void getTypesIn(java.util.Map<java.lang.String,FlowType> types,
                       Flow flow)
Get types of flows in

Specified by:
getTypesIn in class FlowUnit
flow - TODO

getTypesOut

public void getTypesOut(java.util.Map<java.lang.String,FlowType> types,
                        Flow flow)
Get types of flows out

Specified by:
getTypesOut in class FlowUnit
flow - TODO

setRef

public void setRef(java.lang.String s)

getGUIcomponent

public java.awt.Component getGUIcomponent(FlowView p)
Description copied from class: FlowUnitBasic
Trivial implementation, can be overridden

Overrides:
getGUIcomponent in class FlowUnitBasic

toXML

public java.lang.String toXML(org.jdom.Element e)
Specified by:
toXML in class FlowUnit

fromXML

public void fromXML(org.jdom.Element e)
Specified by:
fromXML in class FlowUnit

evaluate

public void evaluate(Flow flow,
                     FlowExec exec)
              throws java.lang.Exception
Specified by:
evaluate in class FlowUnit
Throws:
java.lang.Exception

getBasicShowName

public java.lang.String getBasicShowName()
Description copied from class: FlowUnitBasic
Name to be shown on box

Specified by:
getBasicShowName in class FlowUnitBasic

getIcon

public javax.swing.ImageIcon getIcon()
Specified by:
getIcon in class FlowUnitBasic

getBackground

public java.awt.Color getBackground()
Specified by:
getBackground in class FlowUnitBasic