Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild.actions
Class SaveEditorsAction

java.lang.Object
  extended by Action
      extended by com.ibm.etools.iseries.remotebuild.actions.RBAction
          extended by com.ibm.etools.iseries.remotebuild.actions.SaveEditorsAction

public class SaveEditorsAction
extends RBAction

This action puts up a dialog for saving any dirty editors.


Constructor Summary
SaveEditorsAction()
           
 
Method Summary
 void run()
          Check all editors.
 
Methods inherited from class com.ibm.etools.iseries.remotebuild.actions.RBAction
getRunnableContext, getShell, getStatus, isCanceled, setCanceled, setRunnableContext, setShell, setStatus, showStatusMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveEditorsAction

public SaveEditorsAction()
Method Detail

run

public void run()
Check all editors. All dirty editors are added to the list of resources to save before finishing this operation. Sets the canceled state if the user presses cancel. Sets the status to OK in any case. Only works if run on the UI thread.


Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.