在eclipse中获得当前所有打开的editor实例列表
EditorPart[] parts =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditors();
或者
IEditorReference[] parts = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditorReferences();