List of usage examples for com.intellij.openapi.ui MasterDetailsComponent TREE_OBJECT
String TREE_OBJECT
To view the source code for com.intellij.openapi.ui MasterDetailsComponent TREE_OBJECT.
Click Source Link
From source file:com.android.tools.idea.structure.AndroidModuleStructureConfigurable.java
License:Apache License
private ActionCallback select(@Nullable final String moduleToSelect, @Nullable String editorNameToSelect, final boolean requestFocus) { Place place = new Place().putPath(CATEGORY, this); if (moduleToSelect != null) { final Module module = ModuleManager.getInstance(myProject).findModuleByName(moduleToSelect); assert module != null; place = place.putPath(MasterDetailsComponent.TREE_OBJECT, module) .putPath(ModuleEditor.SELECTED_EDITOR_NAME, editorNameToSelect); }/* w w w .j a v a 2 s. co m*/ return navigateTo(place, requestFocus); }