context = new ActionContext(_viewer.getSelection());
viewMenu.setContext(context);
viewMenu.fillContextMenu(menuMgr1);
// add extension point contributed menu actions
CustomedContextMenuActionGroup customedMenu = new CustomedContextMenuActionGroup();
customedMenu.setContext(new ActionContext(_viewer
.getSelection()));
customedMenu.setModel(_model);
customedMenu.setParentControl(_viewer.getControl());
customedMenu.fillContextMenu(menuMgr1);
customedMenu.setContext(null);
customedMenu.setParentControl(null);
customedMenu.setModel(null);
//add skins menu
IEditorInput editorInput = _delegate.getEditorInput();
if (editorInput instanceof IFileEditorInput) {
IFile file = ((IFileEditorInput)editorInput).getFile();