org.netbeans.modules.jellytools.platform/3 3.13

org.netbeans.jellytools.actions
Class SaveAction

java.lang.Object
  extended by org.netbeans.jellytools.actions.Action
      extended by org.netbeans.jellytools.actions.SaveAction

public class SaveAction
extends Action

Used to call "File|Save" main menu item, "org.openide.actions.SaveAction" or Ctrl+S shortcut.

See Also:
Action

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.jellytools.actions.Action
Action.Shortcut
 
Field Summary
 
Fields inherited from class org.netbeans.jellytools.actions.Action
AFTER_ACTION_WAIT_TIME, API_MODE, keystrokes, layerInstancePath, MENU_MODE, menuPath, POPUP_MODE, popupPath, SELECTION_WAIT_TIME, SHORTCUT_MODE, systemActionClass, WAIT_AFTER_SHORTCUT_TIMEOUT
 
Constructor Summary
SaveAction()
          Creates new SaveAction instance.
 
Method Summary
 void performPopup(org.netbeans.jemmy.operators.ComponentOperator compOperator)
          Deprecated. Save menu item removed from popup on tab. Use TopComponentOperator.save() instead.
 void performPopup(Node node)
          Throws UnsupportedOperationException because SaveAction doesn't have popup representation on node.
 void performPopup(Node[] nodes)
          Throws UnsupportedOperationException because SaveAction doesn't have popup representation on nodes.
 void performPopup(TopComponentOperator tco)
          Deprecated. Save menu item removed from popup on tab. Use TopComponentOperator.save() instead.
 
Methods inherited from class org.netbeans.jellytools.actions.Action
getComparator, getDefaultMode, getKeyStrokes, getMenuPath, getPopupPath, getSystemActionClass, isEnabled, isEnabled, isEnabled, isEnabled, perform, perform, perform, perform, perform, performAPI, performAPI, performAPI, performAPI, performAPI, performMenu, performMenu, performMenu, performMenu, performMenu, performPopup, performPopup, performShortcut, performShortcut, performShortcut, performShortcut, performShortcut, setComparator, setDefaultMode, testNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveAction

public SaveAction()
Creates new SaveAction instance.

Method Detail

performPopup

public void performPopup(org.netbeans.jemmy.operators.ComponentOperator compOperator)
Deprecated. Save menu item removed from popup on tab. Use TopComponentOperator.save() instead.

Performs popup action Save on given component operator which is activated before the action. It only accepts TopComponentOperator as parameter.

Overrides:
performPopup in class Action
Parameters:
compOperator - operator which should be activated and saved

performPopup

public void performPopup(TopComponentOperator tco)
Deprecated. Save menu item removed from popup on tab. Use TopComponentOperator.save() instead.

Performs popup action Save on given top component operator which is activated before the action. It only accepts TopComponentOperator as parameter.

Parameters:
tco - top component operator which should be activated and saved

performPopup

public void performPopup(Node[] nodes)
Throws UnsupportedOperationException because SaveAction doesn't have popup representation on nodes.

Overrides:
performPopup in class Action
Parameters:
nodes - array of nodes

performPopup

public void performPopup(Node node)
Throws UnsupportedOperationException because SaveAction doesn't have popup representation on node.

Overrides:
performPopup in class Action
Parameters:
node - a node

org.netbeans.modules.jellytools.platform/3 3.13

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.