package de.renew.gui;

import de.renew.draw.storables.ontology.Figure;
import de.renew.simulatorontology.shadow.ShadowNet;
import de.renew.simulatorontology.shadow.SyntaxException;


public interface SemanticUpdateFigure extends Figure {

    /** This method is called by the CPNTextTool after endEdit() and
     * setText() and gives SemanticUpdateFigures the opportunity to update
     * their semantics based on information derivable from other figures
     * of the shadow net.
     */
    void semanticUpdate(ShadowNet shadowNet) throws SyntaxException;
}