mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 18:25:40 +02:00
Improve progress monitor message.
Signed-off-by: Greg Watson <g.watson@computer.org>
This commit is contained in:
parent
bfd74f8717
commit
da6ba5fc62
3 changed files with 3 additions and 9 deletions
|
@ -4,6 +4,7 @@ import java.io.ByteArrayOutputStream;
|
||||||
|
|
||||||
import org.eclipse.core.runtime.IProgressMonitor;
|
import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
import org.eclipse.core.runtime.SubMonitor;
|
import org.eclipse.core.runtime.SubMonitor;
|
||||||
|
import org.eclipse.osgi.util.NLS;
|
||||||
import org.eclipse.remote.core.exception.RemoteConnectionException;
|
import org.eclipse.remote.core.exception.RemoteConnectionException;
|
||||||
import org.eclipse.remote.internal.jsch.core.JSchConnection;
|
import org.eclipse.remote.internal.jsch.core.JSchConnection;
|
||||||
import org.eclipse.remote.internal.jsch.core.messages.Messages;
|
import org.eclipse.remote.internal.jsch.core.messages.Messages;
|
||||||
|
@ -48,7 +49,7 @@ public class ExecCommand extends AbstractRemoteCommand<String> {
|
||||||
return stream.toString();
|
return stream.toString();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
subMon.subTask(Messages.ExecCommand_Exec_command);
|
subMon.subTask(NLS.bind(Messages.ExecCommand_Exec_command, fCommand));
|
||||||
return c.getResult(subMon.newChild(10));
|
return c.getResult(subMon.newChild(10));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,6 @@ public class Messages extends NLS {
|
||||||
public static String AuthInfo_Authentication_message;
|
public static String AuthInfo_Authentication_message;
|
||||||
public static String ChildInfosCommand_Get_file_attributes;
|
public static String ChildInfosCommand_Get_file_attributes;
|
||||||
public static String DeleteCommand_Remove_file;
|
public static String DeleteCommand_Remove_file;
|
||||||
|
|
||||||
public static String ExecCommand_Exec_command;
|
public static String ExecCommand_Exec_command;
|
||||||
public static String FetchInfoCommand_Fetch_info;
|
public static String FetchInfoCommand_Fetch_info;
|
||||||
public static String GetInputStreamCommand_Get_input_stream;
|
public static String GetInputStreamCommand_Get_input_stream;
|
||||||
|
@ -31,23 +30,17 @@ public class Messages extends NLS {
|
||||||
public static String JSchConnection_remotePort;
|
public static String JSchConnection_remotePort;
|
||||||
public static String RemoteToolsConnection_open;
|
public static String RemoteToolsConnection_open;
|
||||||
public static String JSchConnection_forwarding;
|
public static String JSchConnection_forwarding;
|
||||||
|
|
||||||
public static String JSchConnection_Remote_host_does_not_support_sftp;
|
public static String JSchConnection_Remote_host_does_not_support_sftp;
|
||||||
|
|
||||||
public static String JSchConnection_Unable_to_open_sftp_channel;
|
public static String JSchConnection_Unable_to_open_sftp_channel;
|
||||||
public static String JSchConnection_username_must_be_set;
|
public static String JSchConnection_username_must_be_set;
|
||||||
public static String JSchConnectionManager_connection_with_name_exists;
|
public static String JSchConnectionManager_connection_with_name_exists;
|
||||||
public static String JSchConnectionManager_cannotRemoveOpenConnection;
|
public static String JSchConnectionManager_cannotRemoveOpenConnection;
|
||||||
public static String JSchConnectionManager_invalidConnectionType;
|
public static String JSchConnectionManager_invalidConnectionType;
|
||||||
|
|
||||||
public static String JSchProcessBuilder_Connection_is_not_open;
|
public static String JSchProcessBuilder_Connection_is_not_open;
|
||||||
public static String JschFileStore_Connection_is_not_open;
|
public static String JschFileStore_Connection_is_not_open;
|
||||||
|
|
||||||
public static String JschFileStore_File_doesnt_exist;
|
public static String JschFileStore_File_doesnt_exist;
|
||||||
public static String JschFileStore_Invalid_connection_for_URI;
|
public static String JschFileStore_Invalid_connection_for_URI;
|
||||||
|
|
||||||
public static String JschFileStore_Is_a_directory;
|
public static String JschFileStore_Is_a_directory;
|
||||||
|
|
||||||
public static String JschFileStore_No_remote_services_found_for_URI;
|
public static String JschFileStore_No_remote_services_found_for_URI;
|
||||||
public static String JschFileStore_The_file_of_name_already_exists;
|
public static String JschFileStore_The_file_of_name_already_exists;
|
||||||
public static String JschFileStore_The_parent_of_directory_does_not_exist;
|
public static String JschFileStore_The_parent_of_directory_does_not_exist;
|
||||||
|
|
|
@ -14,7 +14,7 @@ AbstractRemoteCommand_Execution_exception=Execution exception
|
||||||
AuthInfo_Authentication_message=Authentication Message
|
AuthInfo_Authentication_message=Authentication Message
|
||||||
ChildInfosCommand_Get_file_attributes=Get file attributes
|
ChildInfosCommand_Get_file_attributes=Get file attributes
|
||||||
DeleteCommand_Remove_file=Remove file
|
DeleteCommand_Remove_file=Remove file
|
||||||
ExecCommand_Exec_command=Exec command
|
ExecCommand_Exec_command=Executing command "{0}"
|
||||||
FetchInfoCommand_Fetch_info=Fetch info
|
FetchInfoCommand_Fetch_info=Fetch info
|
||||||
GetInputStreamCommand_Get_input_stream=Get input stream
|
GetInputStreamCommand_Get_input_stream=Get input stream
|
||||||
JSchConnection_connectionNotOpen=Connection is not open
|
JSchConnection_connectionNotOpen=Connection is not open
|
||||||
|
|
Loading…
Add table
Reference in a new issue