@Override
public void init(ICommonActionExtensionSite aSite) {
ICommonViewerSite viewSite = aSite.getViewSite();
if (viewSite instanceof ICommonViewerWorkbenchSite) {
ICommonViewerWorkbenchSite site = (ICommonViewerWorkbenchSite) viewSite;
Shell shell = site.getShell();
ISharedImages images = PlatformUI.getWorkbench().getSharedImages();
clipboard = new Clipboard(shell.getDisplay());
selectionProvider = site.getSelectionProvider();
openPythonAction = new PyOpenPythonFileAction(site.getPage(), selectionProvider);
openResourceAction = new PyOpenResourceAction(site.getPage(), selectionProvider);
openExternalAction = new PyOpenExternalAction(site.getPage(), selectionProvider);
deleteResourceAction = new PyDeleteResourceAction(shell, selectionProvider);
copyResourceAction = new PyCopyResourceAction(shell, selectionProvider, clipboard);
pasteAction = new PyPasteAction(shell, selectionProvider, clipboard);
moveResourceAction = new PyMoveResourceAction(shell, selectionProvider);