com.pepper.platform.program.actions
Class DeletePageAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.pepper.platform.program.actions.ProgramAbstractAction
          extended by com.pepper.platform.program.actions.DeletePageAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class DeletePageAction
extends ProgramAbstractAction

Implements general deletion behavior. This action assumes all pages are in the same section!

See Also:
Serialized Form

Field Summary
static String DELETED_SECTION_ID
          Special trash section to hold deleted pages
 
Fields inherited from class com.pepper.platform.program.actions.ProgramAbstractAction
IMAGE_DIR, LARGE_ICON, log
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DeletePageAction()
           
 
Method Summary
 void actionPerformed(ActionEvent event)
          Delete the checked pages or sections in a section.
 
Methods inherited from class com.pepper.platform.program.actions.ProgramAbstractAction
getActionCommand, getConfig, getGSP, getIcon, getLongDescription, getMnemonicKey, getName, getPackageId, getProcess, getProgram, getShortDescription
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELETED_SECTION_ID

public static final String DELETED_SECTION_ID
Special trash section to hold deleted pages

See Also:
Constant Field Values
Constructor Detail

DeletePageAction

public DeletePageAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Delete the checked pages or sections in a section. See class comment for details.

Javascript:

To call this action using Javascript via the Javascript bridge, use the form:

Parameters:
event - Ignored


Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.