/** * @param site the site * @param editorInput the editor input * @throws PartInitException the part init exception */ public void initSuper(IEditorSite site, IEditorInput editorInput) throws PartInitException { super.init(site, editorInput); }
@Override public void init(IEditorSite site, IEditorInput input) throws PartInitException { if (!(input instanceof IFileEditorInput) && !(input instanceof IURIEditorInput)) throw new PartInitException(NLS.bind(PDEUIMessages.TargetEditor_6, input.getClass().getName())); super.init(site, input); }
/** * {@inheritDoc} */ public void init( IEditorSite site, IEditorInput input ) throws PartInitException { super.init( site, input ); setPartName( input.getName() ); try { readServerConfiguration( input ); } catch ( Exception e ) { errorMessage = e.getMessage(); } }
super.init(site, editorInput); // to allow other editors to get site and editorInput