1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 10:46:02 +02:00

[cleanup] Deprecate AbstractProcessService#getMessage(String)

This commit is contained in:
Martin Oberhuber 2008-06-26 12:26:28 +00:00
parent 307405d707
commit ca0e7c06f4

View file

@ -20,6 +20,7 @@ package org.eclipse.rse.services.processes;
import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.rse.services.AbstractService; import org.eclipse.rse.services.AbstractService;
import org.eclipse.rse.services.clientserver.messages.SimpleSystemMessage;
import org.eclipse.rse.services.clientserver.messages.SystemMessage; import org.eclipse.rse.services.clientserver.messages.SystemMessage;
import org.eclipse.rse.services.clientserver.messages.SystemMessageException; import org.eclipse.rse.services.clientserver.messages.SystemMessageException;
import org.eclipse.rse.services.clientserver.processes.HostProcessFilterImpl; import org.eclipse.rse.services.clientserver.processes.HostProcessFilterImpl;
@ -48,7 +49,7 @@ public abstract class AbstractProcessService extends AbstractService implements
/** /**
* Return a single IHostProcess object for the 'init' process with pid 1. * Return a single IHostProcess object for the 'init' process with pid 1.
* *
* @param monitor Progress monitor * @param monitor Progress monitor
* @return Array with 1 element, the IHostProcess object for the root * @return Array with 1 element, the IHostProcess object for the root
* process * process
@ -95,6 +96,12 @@ public abstract class AbstractProcessService extends AbstractService implements
else return results[0]; else return results[0];
} }
/**
* @deprecated This method was removed from IProcessService in RSE 3.0, and
* implementers are not expected to return anything useful. Use
* {@link SimpleSystemMessage} to create system messages
* instead.
*/
public SystemMessage getMessage(String messageID) public SystemMessage getMessage(String messageID)
{ {
return null; return null;