异步获得editor

IEditorInput input = DiagramEditorInput.getInstance(); 
					
					DiagramEditor editor = (DiagramEditor) PlatformUI.getWorkbench()
							.getActiveWorkbenchWindow().getActivePage().findEditor(input);



前提是editor调用了 open

你可能感兴趣的:(java)