public IEditorInput getEditorInput(Object element) {
if (element instanceof IFile) {
return new FileEditorInput((IFile) element);
}
if (element instanceof IFileHandle) {
return new ExternalFileEditorInput((IFileHandle) element);
}
if (element instanceof ILineBreakpoint) {
return getLineBreakpointEditorInput(element);
}
if (element instanceof IStorage) {