com.ibm.productivity.tools.ui.views.operations
Interface SaveOperation

All Superinterfaces:
Operation

public interface SaveOperation
extends Operation

Defines the operation to save the document in the rich document view.

If the document is a new document, UnsupportedOperationException is thrown when running the operation on a RichDocumentView. Use SaveAsOperation instead.

Since:
8.0.1

Method Summary
 boolean getSilentMode()
          Gets whether there is a warning message that displays when the exception is thrown during the save operation.
 void setSilentMode(boolean silentMode)
          Sets whether there is a warning message that displays when the exception is thrown during the save operation.
 

Method Detail

getSilentMode

boolean getSilentMode()
Gets whether there is a warning message that displays when the exception is thrown during the save operation.


Returns:
false when no warning message is displayed, true otherwise

setSilentMode

void setSilentMode(boolean silentMode)
Sets whether there is a warning message that displays when the exception is thrown during the save operation.


The user can set the value before the operation is started.

Parameters:
silentMode - false when no warning message is displayed, true otherwise