// private static final String PACKAGE_EXPLORER_VIEW_ID = "org.eclipse.jdt.ui.PackageExplorer";
private PasteAction pasteAction = null;
public SelectionDispatchAction getPasteAction() {
if (pasteAction == null) {
pasteAction = new PasteAction(browserView.getSite());
}
return pasteAction;
// IViewPart javaView = showView(PACKAGE_EXPLORER_VIEW_ID, true);
// if (javaView != null) {
// IActionBars actionBars = javaView.getViewSite().getActionBars();