be.ac.vub.cocompose.eclipse.actions
Class CreateSimplePropertyAction

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended byorg.eclipse.gef.ui.actions.EditorPartAction
          extended byorg.eclipse.gef.ui.actions.SelectionAction
              extended bybe.ac.vub.cocompose.eclipse.actions.CreateAction
                  extended bybe.ac.vub.cocompose.eclipse.actions.CreateSimplePropertyAction
All Implemented Interfaces:
Disposable, IAction, UpdateAction

public class CreateSimplePropertyAction
extends CreateAction

Creates a SimpleProperty for the selected Concept.

Since:
0.2.0
Version:
0.2.0, 08/01/2004
Author:
Dennis Wagelaar

Field Summary
static String ID
           
 
Fields inherited from class be.ac.vub.cocompose.eclipse.actions.CreateAction
factory
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
CreateSimplePropertyAction(IEditorPart editor, ModelFactory factory)
          Creates a CreateSimplePropertyAction.
 
Method Summary
protected  Command getCommand()
          Creates the command to be executed.
 
Methods inherited from class be.ac.vub.cocompose.eclipse.actions.CreateAction
calculateEnabled, run
 
Methods inherited from class org.eclipse.gef.ui.actions.SelectionAction
dispose, getSelectedObjects, getSelection, handleSelectionChanged, setSelection, update
 
Methods inherited from class org.eclipse.gef.ui.actions.EditorPartAction
execute, getCommandStack, getEditorPart, init, isEnabled, refresh, setEditorPart
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, removeAcceleratorText, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

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

CreateSimplePropertyAction

public CreateSimplePropertyAction(IEditorPart editor,
                                  ModelFactory factory)
Creates a CreateSimplePropertyAction.

Parameters:
editor - the CoCompose editor.
Method Detail

getCommand

protected Command getCommand()
Creates the command to be executed.

Overrides:
getCommand in class CreateAction
Returns:
the command.