com.pnp.xfeature.actions
Class PasteAction

java.lang.Object
  extended by SelectionAction
      extended by com.pnp.xfeature.actions.PasteAction

public class PasteAction
extends SelectionAction

The visual represenation of the PasteCommand

Author:
Ondrej Rohlik, created on 3.5.2004

Constructor Summary
PasteAction(IWorkbenchPart part)
          initializes the unique ID and calls the super class constructor
 
Method Summary
 void run()
          Creates PasteCommand, calls its constructor with right paramters obtaind from SchemaParser
 void setNodePostion(int nodePosition)
           
 void setPropertySet(java.lang.String propertySet)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasteAction

public PasteAction(IWorkbenchPart part)
initializes the unique ID and calls the super class constructor

Parameters:
part - the workbench part to which the action belongs, here the 'part' is the editor instance
Method Detail

run

public void run()
Creates PasteCommand, calls its constructor with right paramters obtaind from SchemaParser

See Also:
org.eclipse.jface.action.IAction#run()

setNodePostion

public void setNodePostion(int nodePosition)

setPropertySet

public void setPropertySet(java.lang.String propertySet)


Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.