edu.stanford.smi.protegex.owl.ui.importstree
Class DownloadImportsAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.importstree.DownloadImportsAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class DownloadImportsAction
extends AbstractAction

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  JFileChooser fileChooser
           
private  ImportsTree tree
           
 
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
DownloadImportsAction(ImportsTree tree)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
static String download(String uri, File targetFolder)
           
 
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

fileChooser

private JFileChooser fileChooser

tree

private ImportsTree tree
Constructor Detail

DownloadImportsAction

public DownloadImportsAction(ImportsTree tree)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

download

public static String download(String uri,
                              File targetFolder)
                       throws Exception
Throws:
Exception