EditorPart[] parts =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditors();
或者
IEditorReference[] parts = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditorReferences();
EditorPart[] parts =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditors();
或者
IEditorReference[] parts = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditorReferences();