mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Method renamed.
This commit is contained in:
+2
-2
@@ -57,9 +57,9 @@ public abstract class AbstractConsoleCommunication implements ConsoleCommunicati
|
||||
}
|
||||
|
||||
@Override
|
||||
public void notifyFinished() {
|
||||
public void notifyCommandExecuted() {
|
||||
for (ConsoleCommunicationListener listener: communicationListeners) {
|
||||
listener.executionFinished();
|
||||
listener.commandExecuted();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public interface ConsoleCommunication {
|
||||
|
||||
void addCommunicationListener(ConsoleCommunicationListener listener);
|
||||
|
||||
void notifyFinished();
|
||||
void notifyCommandExecuted();
|
||||
void notifyInputRequested();
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ package com.jetbrains.python.console.pydev;
|
||||
* @author traff
|
||||
*/
|
||||
public interface ConsoleCommunicationListener {
|
||||
void executionFinished();
|
||||
void commandExecuted();
|
||||
void inputRequested();
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@ public class PydevConsoleCommunication extends AbstractConsoleCommunication impl
|
||||
|
||||
private Object execNotifyFinished() {
|
||||
setExecuting(false);
|
||||
notifyFinished();
|
||||
notifyCommandExecuted();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -229,7 +229,7 @@ public class PydevConsoleExecuteActionHandler extends ConsoleExecuteActionHandle
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executionFinished() {
|
||||
public void commandExecuted() {
|
||||
final LanguageConsoleImpl console = myConsoleView.getConsole();
|
||||
final Editor currentEditor = console.getConsoleEditor();
|
||||
ordinaryPrompt(console, currentEditor);
|
||||
|
||||
@@ -692,7 +692,7 @@ public class PydevConsoleRunner extends AbstractConsoleRunnerWithHistory<PythonC
|
||||
|
||||
myPydevConsoleCommunication.addCommunicationListener(new ConsoleCommunicationListener() {
|
||||
@Override
|
||||
public void executionFinished() {
|
||||
public void commandExecuted() {
|
||||
view.showMessage("Execution finished");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user