diff --git a/src/main/java/ui/TDiagramPanel.java b/src/main/java/ui/TDiagramPanel.java index 58ebcefc3e8e66ab9faa452fd55bf35b5fd3e7ae..f21ffc3db29a4d5ceabf6cb47438c7c966771273 100755 --- a/src/main/java/ui/TDiagramPanel.java +++ b/src/main/java/ui/TDiagramPanel.java @@ -55,6 +55,7 @@ import ui.cd.*; import ui.ftd.FTDFault; import ui.eln.*; import ui.eln.sca_eln.*; +import ui.eln.sca_eln_sca_tdf.*; import ui.syscams.*; import ui.ncdd.NCEqNode; import ui.ncdd.NCRouteArtifact; @@ -2642,6 +2643,10 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree { || (o instanceof ELNComponentTransmissionLine && this.checkELNComponentTransmissionLine ((ELNComponentTransmissionLine) o, name)) || (o instanceof ELNComponentIndependentVoltageSource && this.checkELNComponentIndependentVoltageSource((ELNComponentIndependentVoltageSource) o, name)) || (o instanceof ELNComponentIndependentCurrentSource && this.checkELNComponentIndependentCurrentSource((ELNComponentIndependentCurrentSource) o, name)) + || (o instanceof ELNComponentCurrentSinkTDF && this.checkELNComponentCurrentSinkTDF((ELNComponentCurrentSinkTDF) o, name)) + || (o instanceof ELNComponentCurrentSourceTDF && this.checkELNComponentCurrentSourceTDF((ELNComponentCurrentSourceTDF) o, name)) + || (o instanceof ELNComponentVoltageSinkTDF && this.checkELNComponentVoltageSinkTDF((ELNComponentVoltageSinkTDF) o, name)) + || (o instanceof ELNComponentVoltageSourceTDF && this.checkELNComponentVoltageSourceTDF((ELNComponentVoltageSourceTDF) o, name)) || (o instanceof ATDBlock && this.checkATDBlock((ATDBlock) o, name)) || (o instanceof ATDAttack && this.checkATDAttack((ATDAttack) o, name)) || (o instanceof FTDFault && this.checkFTDFault((FTDFault) o, name)) @@ -2748,6 +2753,22 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree { public boolean checkELNComponentIndependentCurrentSource(ELNComponentIndependentCurrentSource o, String name) { return false; } + + public boolean checkELNComponentCurrentSinkTDF(ELNComponentCurrentSinkTDF o, String name) { + return false; + } + + public boolean checkELNComponentCurrentSourceTDF(ELNComponentCurrentSourceTDF o, String name) { + return false; + } + + public boolean checkELNComponentVoltageSinkTDF(ELNComponentVoltageSinkTDF o, String name) { + return false; + } + + public boolean checkELNComponentVoltageSourceTDF(ELNComponentVoltageSourceTDF o, String name) { + return false; + } public boolean checkATDBlock(ATDBlock o, String name) { return false; @@ -2933,6 +2954,18 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree { public boolean checkELNComponentIndependentCurrentSource(ELNComponentIndependentCurrentSource o, String name) { return o.getValue().equals(name); } + public boolean checkELNComponentCurrentSinkTDF(ELNComponentCurrentSinkTDF o, String name) { + return o.getValue().equals(name); + } + public boolean checkELNComponentCurrentSourceTDF(ELNComponentCurrentSourceTDF o, String name) { + return o.getValue().equals(name); + } + public boolean checkELNComponentVoltageSinkTDF(ELNComponentVoltageSinkTDF o, String name) { + return o.getValue().equals(name); + } + public boolean checkELNComponentVoltageSourceTDF(ELNComponentVoltageSourceTDF o, String name) { + return o.getValue().equals(name); + } }); }