edu.stanford.smi.protegex.owl.ui.cls
Class ExtractTaxonomyAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.actions.ResourceAction
          extended byedu.stanford.smi.protegex.owl.ui.cls.ExtractTaxonomyAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, Comparable, EventListener, Serializable

public class ExtractTaxonomyAction
extends ResourceAction

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  JFileChooser fileChooser
           
static String GROUP
           
 
Fields inherited from class edu.stanford.smi.protegex.owl.ui.actions.ResourceAction
 
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
ExtractTaxonomyAction()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 boolean isSuitable(Component component, RDFResource resource)
           
static void performAction(edu.stanford.smi.protege.model.Cls cls, Set reached, String baseStr, PrintWriter pw)
           
static void performAction(RDFSNamedClass rootClass, PrintWriter pw)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.actions.ResourceAction
compareTo, getComponent, getGroup, getOWLModel, getPriority, getResource, initialize, isInToolBar
 
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

GROUP

public static final String GROUP
See Also:
Constant Field Values
Constructor Detail

ExtractTaxonomyAction

public ExtractTaxonomyAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

isSuitable

public boolean isSuitable(Component component,
                          RDFResource resource)
Specified by:
isSuitable in class ResourceAction

performAction

public static void performAction(RDFSNamedClass rootClass,
                                 PrintWriter pw)

performAction

public static void performAction(edu.stanford.smi.protege.model.Cls cls,
                                 Set reached,
                                 String baseStr,
                                 PrintWriter pw)