Protégé-OWL 3.4.8

edu.stanford.smi.protegex.owl.ui.menu.code
Class KazukiAction

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction
      extended by edu.stanford.smi.protegex.owl.ui.menu.code.KazukiAction
All Implemented Interfaces:
edu.stanford.smi.protege.util.Disposable, IconOwner, OWLModelAction

public class KazukiAction
extends AbstractOWLModelAction

Author:
Holger Knublauch

Nested Class Summary
static class KazukiAction.VocabularyClassLoader
           
 
Field Summary
static String KAZUKI_JAVAC
           
static String KAZUKI_PACKAGE
           
static String KAZUKI_ROOT_FOLDER
           
static String SCHEMA
           
 
Fields inherited from class edu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction
CODE_MENU, OWL_MENU, PROJECT_MENU, REASONING_MENU, TOOLS_MENU, WINDOW_MENU
 
Fields inherited from interface edu.stanford.smi.protegex.owl.ui.actions.OWLModelAction
ICON, NAME, PATH_SEPARATOR, SUITABILITY
 
Constructor Summary
KazukiAction()
           
 
Method Summary
static void generate(OntModelProvider ontModelProvider, File folder, String rootPackage, String javac, boolean overwrite)
           
 String getMenubarPath()
          Gets a path to the menu bar location of this action.
 String getName()
          Gets the human readable name of this action, to be used as menu item text and tool bar button tool tip text.
 void run(OWLModel owlModel)
          Called when the action is executed by the user.
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction
addPropertyChangeListener, dispose, getIconFileName, getIconResourceClass, getToolbarPath, isSuitable, notifyPropertyChangeListeners, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEMA

public static final String SCHEMA
See Also:
Constant Field Values

KAZUKI_JAVAC

public static final String KAZUKI_JAVAC
See Also:
Constant Field Values

KAZUKI_ROOT_FOLDER

public static final String KAZUKI_ROOT_FOLDER
See Also:
Constant Field Values

KAZUKI_PACKAGE

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

KazukiAction

public KazukiAction()
Method Detail

getMenubarPath

public String getMenubarPath()
Description copied from interface: OWLModelAction
Gets a path to the menu bar location of this action. This method determines where the menu item will show up, if at all. The path consists of a menu name with an optional group name. There must be a '/' character (PATH_SEPARATOR) between the menu and group name.

Returns:
the path for the menu or null if this shall not appear in the menu

getName

public String getName()
Description copied from interface: OWLModelAction
Gets the human readable name of this action, to be used as menu item text and tool bar button tool tip text.

Returns:
the name (must not be null)

run

public void run(OWLModel owlModel)
Description copied from interface: OWLModelAction
Called when the action is executed by the user.

Parameters:
owlModel - the OWLModel to operate on

generate

public static void generate(OntModelProvider ontModelProvider,
                            File folder,
                            String rootPackage,
                            String javac,
                            boolean overwrite)
                     throws Exception
Throws:
Exception

Protégé-OWL 3.4.8

Submit a bug report or feature request
Copyright (c) 1998-2012 Stanford University.