SEdit.Formalisms.Petri
Class PetriInLink

java.lang.Object
  extended bySEdit.SElement
      extended bySEdit.SArrow
          extended bySEdit.Formalisms.Petri.PetriLink
              extended bySEdit.Formalisms.Petri.PetriInLink
Direct Known Subclasses:
ConsumerLink, InformerLink, InhibitorLink

public abstract class PetriInLink
extends PetriLink

CLASSE PetriInLink /


Field Summary
 
Fields inherited from class SEdit.Formalisms.Petri.PetriLink
activated, filter, filterString, validated, weight
 
Fields inherited from class SEdit.SArrow
origin, target
 
Fields inherited from class SEdit.SElement
comment, descriptor, element, id, label, persistent, structure
 
Constructor Summary
PetriInLink()
           
 
Method Summary
protected abstract  void consume(Hashtable env)
           
abstract  void doActivate()
           
protected  LList getTokens()
           
abstract  void inhibit()
           
 boolean isConnectable(SNode from, SNode to)
          Check if the arrow itself is o.k. for connection
protected abstract  boolean isEmpty()
           
 
Methods inherited from class SEdit.Formalisms.Petri.PetriLink
active, askForNewString, getFilter, getFilterString, getWeight, modifyFilter, modifyWeight, setFilter, setFilterString, setWeight, validate
 
Methods inherited from class SEdit.SArrow
delete, getOrigin, getTarget, initGraphics, setOrigin, setTarget, toString
 
Methods inherited from class SEdit.SElement
dump, getComment, getDescriptor, getGObject, getID, getLabel, getStructure, init, inspect, setComment, setDescriptor, setGObject, setID, setLabel, setStructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PetriInLink

public PetriInLink()
Method Detail

doActivate

public abstract void doActivate()

inhibit

public abstract void inhibit()

isEmpty

protected abstract boolean isEmpty()

getTokens

protected LList getTokens()

consume

protected abstract void consume(Hashtable env)

isConnectable

public boolean isConnectable(SNode from,
                             SNode to)
Check if the arrow itself is o.k. for connection

Overrides:
isConnectable in class SArrow


Copyright © J. Ferber, O. Gutknecht All Rights Reserved.