if(this.getActivePage() != 0) { this.switchToJava();
IEditorPart editorPart = this.getActiveEditor(); if(editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) { return false;
	public boolean isEditable() {		if(this.getActivePage() != 0) {			this.switchToJava();		}		ITextEditor textEditor = (ITextEditor)compilationUnitEditor;		return textEditor.isEditable();	}