edu.ucsb.nceas.morpho.query
Class DeleteCommand

java.lang.Object
  |
  +--edu.ucsb.nceas.morpho.query.DeleteCommand

public class DeleteCommand
extends java.lang.Object
implements Command

Class to handle delete local copy command


Constructor Summary
DeleteCommand(OpenDialogBox myOpenDialog, javax.swing.JDialog myDeleteDialog, MorphoFrame myFrame, java.lang.String frameType, java.lang.String myState, java.lang.String selectId, boolean myInLocal, boolean myInNetwork)
          Constructor of DeleteCommand
 
Method Summary
 void execute(java.awt.event.ActionEvent event)
          execute delete local package command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteCommand

public DeleteCommand(OpenDialogBox myOpenDialog,
                     javax.swing.JDialog myDeleteDialog,
                     MorphoFrame myFrame,
                     java.lang.String frameType,
                     java.lang.String myState,
                     java.lang.String selectId,
                     boolean myInLocal,
                     boolean myInNetwork)
Constructor of DeleteCommand
Parameters:
myOpenDialog - the open dialog which will be applied delete action
myDeleteDialog - a delete dialog need to be destroied
myFrame - the parent frame of delete dialog or parent of open dialog
frameType - the parent frame's type, search result or datapackage
selectId - the id of data package need to be deleted
myState - which deletion will happend, local, network or both
myInLocal - if the datapackage has a local copy
myInNetwork - if the datapackage has a network copy
Method Detail

execute

public void execute(java.awt.event.ActionEvent event)
execute delete local package command
Specified by:
execute in interface Command


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.