Extension SDK 10.1.2

oracle.ide.cmd
Class SaveAllCommand

java.lang.Object
  extended byoracle.ide.addin.AbstractCommand
      extended byoracle.ide.cmd.SaveAllCommand
All Implemented Interfaces:
Command

public class SaveAllCommand
extends AbstractCommand

The SaveAllCommand class implements the SaveAll command.

See Also:
oracle.ide.Command, oracle.ide.AbstractCommand

Field Summary
 
Fields inherited from class oracle.ide.addin.AbstractCommand
cmdId, context, name, type
 
Fields inherited from interface oracle.ide.addin.Command
CANCEL, EXECUTING, NO_CHANGE, NO_UNDO, NORMAL, OK
 
Constructor Summary
SaveAllCommand()
          Constructor.
 
Method Summary
 int doit()
          Executes the redo command.
static int saveAll()
           
 
Methods inherited from class oracle.ide.addin.AbstractCommand
getAffectedDocuments, getContext, getData, getId, getName, getType, setContext, setData, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveAllCommand

public SaveAllCommand()
Constructor.

Method Detail

saveAll

public static int saveAll()
                   throws java.lang.Exception
Throws:
java.lang.Exception

doit

public int doit()
         throws java.lang.Exception
Executes the redo command. The command processor manages the undo/redo functionality.

Throws:
java.lang.Exception

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.