mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-16 16:34:47 -04:00
added a tool tip to the hdl check button.
This commit is contained in:
parent
ee21fb738c
commit
8c6770295f
@ -616,7 +616,7 @@ public final class EditorFactory {
|
||||
@Override
|
||||
protected JComponent getComponent(ElementAttributes elementAttributes) {
|
||||
combo = (JComboBox) super.getComponent(elementAttributes);
|
||||
checkButton = new JButton(new AbstractAction(Lang.get("btn_checkCode")) {
|
||||
checkButton = new ToolTipAction(Lang.get("btn_checkCode")) {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent actionEvent) {
|
||||
int n = combo.getSelectedIndex();
|
||||
@ -647,7 +647,7 @@ public final class EditorFactory {
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}.setToolTip(Lang.get("btn_checkCode_tt")).createJButton();
|
||||
combo.addActionListener(new AbstractAction() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent actionEvent) {
|
||||
|
@ -1381,6 +1381,9 @@ Soll dennoch exportiert werden?</string>
|
||||
<string name="msg_errorClosingExternalProcess">Konnte externen Prozess nicht beenden!</string>
|
||||
<string name="msg_checkResult">Ergebnis der Überprüfung:</string>
|
||||
<string name="btn_checkCode">Prüfen</string>
|
||||
<string name="btn_checkCode_tt">Startet die Anwendung um zu prüfen, ob der eingegebene Code korrekt ist. Falls das
|
||||
nicht der Fall ist, wird die Fehlermeldung der externen Anwendung angezeigt. Wenn es möglich ist, werden zudem
|
||||
die Eingangs- und Ausgangsdefinitionen an den aktuellen Code angepasst.</string>
|
||||
<string name="msg_applicationFileNotFound">Ausführbare Datei "{0}" nicht gefunden!</string>
|
||||
|
||||
<string name="ok">Ok</string>
|
||||
|
@ -1369,6 +1369,9 @@
|
||||
|
||||
<string name="msg_checkResult">Check Resukt:</string>
|
||||
<string name="btn_checkCode">Check</string>
|
||||
<string name="btn_checkCode_tt">Starts the application to check if the entered code is correct.
|
||||
If this is not the case, the error message of the external application is displayed.
|
||||
If possible, the input and output definitions are also adapted to the current code.</string>
|
||||
<string name="msg_applicationFileNotFound">Executable file "{0}" not found!</string>
|
||||
|
||||
<string name="ok">Ok</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user