mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 17:34:43 -04:00
typo
This commit is contained in:
parent
086dce3ac4
commit
a72c4610f0
@ -14,7 +14,7 @@ import de.neemann.digital.draw.elements.VisualElement;
|
|||||||
import de.neemann.digital.draw.library.ElementNotFoundException;
|
import de.neemann.digital.draw.library.ElementNotFoundException;
|
||||||
import de.neemann.digital.draw.model.InverterConfig;
|
import de.neemann.digital.draw.model.InverterConfig;
|
||||||
import de.neemann.digital.gui.SaveAsHelper;
|
import de.neemann.digital.gui.SaveAsHelper;
|
||||||
import de.neemann.digital.gui.components.testing.TestCaseDesctiptionEditor;
|
import de.neemann.digital.gui.components.testing.TestCaseDescriptionEditor;
|
||||||
import de.neemann.digital.gui.sync.NoSync;
|
import de.neemann.digital.gui.sync.NoSync;
|
||||||
import de.neemann.digital.lang.Lang;
|
import de.neemann.digital.lang.Lang;
|
||||||
import de.neemann.digital.testing.TestCaseDescription;
|
import de.neemann.digital.testing.TestCaseDescription;
|
||||||
@ -59,7 +59,7 @@ public final class EditorFactory {
|
|||||||
add(LeftRightFormat.class, LeftRightFormatsEditor.class);
|
add(LeftRightFormat.class, LeftRightFormatsEditor.class);
|
||||||
add(IntFormat.class, IntFormatsEditor.class);
|
add(IntFormat.class, IntFormatsEditor.class);
|
||||||
add(Language.class, LanguageEditor.class);
|
add(Language.class, LanguageEditor.class);
|
||||||
add(TestCaseDescription.class, TestCaseDesctiptionEditor.class);
|
add(TestCaseDescription.class, TestCaseDescriptionEditor.class);
|
||||||
add(FormatToExpression.class, FormatEditor.class);
|
add(FormatToExpression.class, FormatEditor.class);
|
||||||
add(InverterConfig.class, InverterConfigEditor.class);
|
add(InverterConfig.class, InverterConfigEditor.class);
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ import java.awt.event.ActionEvent;
|
|||||||
/**
|
/**
|
||||||
* @author hneemann
|
* @author hneemann
|
||||||
*/
|
*/
|
||||||
public class TestCaseDesctiptionEditor extends EditorFactory.LabelEditor<TestCaseDescription> {
|
public class TestCaseDescriptionEditor extends EditorFactory.LabelEditor<TestCaseDescription> {
|
||||||
|
|
||||||
private final TestCaseDescription data;
|
private final TestCaseDescription data;
|
||||||
private final Key<TestCaseDescription> key;
|
private final Key<TestCaseDescription> key;
|
||||||
@ -27,7 +27,7 @@ public class TestCaseDesctiptionEditor extends EditorFactory.LabelEditor<TestCas
|
|||||||
* @param data the data to edit
|
* @param data the data to edit
|
||||||
* @param key the data key
|
* @param key the data key
|
||||||
*/
|
*/
|
||||||
public TestCaseDesctiptionEditor(TestCaseDescription data, Key<TestCaseDescription> key) {
|
public TestCaseDescriptionEditor(TestCaseDescription data, Key<TestCaseDescription> key) {
|
||||||
this.data = new TestCaseDescription(data);
|
this.data = new TestCaseDescription(data);
|
||||||
this.key = key;
|
this.key = key;
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ public class TestCaseDesctiptionEditor extends EditorFactory.LabelEditor<TestCas
|
|||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
try {
|
try {
|
||||||
getAttributeDialog().fireOk();
|
getAttributeDialog().fireOk();
|
||||||
VisualElement visualElement = TestCaseDesctiptionEditor.this.getAttributeDialog().getVisualElement();
|
VisualElement visualElement = TestCaseDescriptionEditor.this.getAttributeDialog().getVisualElement();
|
||||||
TestCaseDescriptionDialog dialog = new TestCaseDescriptionDialog(getAttributeDialog().getDialogParent(), data, visualElement);
|
TestCaseDescriptionDialog dialog = new TestCaseDescriptionDialog(getAttributeDialog().getDialogParent(), data, visualElement);
|
||||||
Main main = getAttributeDialog().getMain();
|
Main main = getAttributeDialog().getMain();
|
||||||
if (main != null)
|
if (main != null)
|
Loading…
x
Reference in New Issue
Block a user