use of com.android.tools.idea.editors.manifest.ManifestPanel in project android by JetBrains.
the class EditorFixture method getMergedManifestEditor.
@NotNull
public MergedManifestFixture getMergedManifestEditor() {
return GuiQuery.getNonNull(() -> {
FileEditor[] editors = FileEditorManager.getInstance(myFrame.getProject()).getSelectedEditors();
checkState(editors.length > 0, "no selected editors");
Component manifestPanel = editors[0].getComponent().getComponent(0);
checkState(manifestPanel instanceof ManifestPanel, "not a %s: %s", ManifestPanel.class.getSimpleName(), manifestPanel);
return new MergedManifestFixture(robot, (ManifestPanel) manifestPanel);
});
}
Aggregations