/* * Vimplugin * * Copyright (c) 2007 by The Vimplugin Project. * * Released under the GNU General Public License * with ABSOLUTELY NO WARRANTY. * * See the file COPYING for more information. */ package org.vimplugin.actions; import org.eclipse.jface.action.Action; public class PasteAction extends Action { /** * Constructs and updates the action. */ public PasteAction() { super(); update(); } /* (non-Javadoc) * @see org.eclipse.jface.action.Action#run() */ public void run() { //System.out.println("Paste Pressed\n"); } /** * */ public void update() { // setChecked(getTextEditor() != null && // getTextEditor().showsHighlightRangeOnly()); setEnabled(true); } }