void (boolean requestFocus) { if (!myVirtualFile.isValid()) return; OpenFileDescriptor descriptor = new OpenFileDescriptor(myProject, myVirtualFile); final List<FileEditor> fileEditors = FileEditorManager.getInstance(myProject).openEditor(descriptor, requestFocus); if (myComponentId != null) { for(FileEditor editor: fileEditors) { if (editor instanceof UIFormEditor) { ((UIFormEditor) editor).selectComponentById(myComponentId); break; } } } }