private IDocumentProvider createDocumentProvider(IEditorInput input) {
if (input instanceof IFileEditorInput) {
return new FeatureTextDocumentProvider();
} else if (input instanceof IStorageEditorInput) {
return new FeatureDocumentProvider();
} else {
return new FeatureTextDocumentProvider();
}
}