mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-17 17:04:42 -04:00
added synthesis menu entry
This commit is contained in:
parent
bd538aeb1d
commit
41adbefabd
@ -2,6 +2,7 @@ package de.neemann.digital.gui;
|
||||
|
||||
import de.neemann.digital.analyse.AnalyseException;
|
||||
import de.neemann.digital.analyse.ModelAnalyser;
|
||||
import de.neemann.digital.analyse.TruthTable;
|
||||
import de.neemann.digital.core.*;
|
||||
import de.neemann.digital.core.element.ElementAttributes;
|
||||
import de.neemann.digital.core.element.Key;
|
||||
@ -411,6 +412,17 @@ public class Main extends JFrame implements ClosingWindowListener.ConfirmSave, E
|
||||
}
|
||||
.setToolTip(Lang.get("menu_analyse_tt"))
|
||||
.createJMenuItem());
|
||||
|
||||
analyse.add(new ToolTipAction(Lang.get("menu_synthesise")) {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
TruthTable tt = new TruthTable(3).addResult();
|
||||
new TableFrame(Main.this, tt).setVisible(true);
|
||||
elementState.activate();
|
||||
}
|
||||
}
|
||||
.setToolTip(Lang.get("menu_synthesise_tt"))
|
||||
.createJMenuItem());
|
||||
}
|
||||
|
||||
private void orderMeasurements() {
|
||||
|
@ -250,6 +250,9 @@ menu_saveData=Daten speichern
|
||||
menu_saveData_tt=Speichert die Daten als CSV Datei
|
||||
menu_analyse=Analyse
|
||||
menu_analyse_tt=Analyse der aktuellen Schaltung
|
||||
menu_synthesise=Synthese
|
||||
menu_synthesise_tt=Erzeugt minimale boolsche Ausdr\u00FCcke, welche durch eine Wahrheitstabelle beschrieben werden.
|
||||
|
||||
|
||||
menu_about=\u00DCber Digital
|
||||
|
||||
|
@ -230,6 +230,8 @@ menu_saveData=Save Data
|
||||
menu_saveData_tt=Save data as CSV file
|
||||
menu_analyse=Analyse
|
||||
menu_analyse_tt=Analyses the actual circuit
|
||||
menu_synthesise=Synthesise
|
||||
menu_synthesise_tt=Generates the minimal bool expressions described by a truth table.
|
||||
|
||||
win_saveChanges=Save Changes?
|
||||
win_confirmExit=Confirm Exit!
|
||||
|
Loading…
x
Reference in New Issue
Block a user