de.kupzog.ktable
Class KTableActionHandler.KTablePasteAction

java.lang.Object
  extended by org.eclipse.jface.action.Action
      extended by de.kupzog.ktable.KTableActionHandler.KTablePasteAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction
Enclosing class:
KTableActionHandler

protected class KTableActionHandler.KTablePasteAction
extends org.eclipse.jface.action.Action


Field Summary
 
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, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
protected KTableActionHandler.KTablePasteAction()
           
 
Method Summary
protected  java.lang.String getTextFromClipboard()
           
protected  java.lang.String[][] parseCellTexts(java.lang.String text)
           
protected  void pasteToSelection(java.lang.String text, org.eclipse.swt.graphics.Point[] selection)
           
 void run()
           
 void updateEnabledState()
           
 
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, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, 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
 

Constructor Detail

KTableActionHandler.KTablePasteAction

protected KTableActionHandler.KTablePasteAction()
Method Detail

run

public void run()
Specified by:
run in interface org.eclipse.jface.action.IAction
Overrides:
run in class org.eclipse.jface.action.Action

getTextFromClipboard

protected java.lang.String getTextFromClipboard()

pasteToSelection

protected void pasteToSelection(java.lang.String text,
                                org.eclipse.swt.graphics.Point[] selection)

parseCellTexts

protected java.lang.String[][] parseCellTexts(java.lang.String text)

updateEnabledState

public void updateEnabledState()