Change default ModuleSA setting panel to be "FV Info" to remind user to specify FV_Binding and FFS format for a added module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2558 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jlin16 2007-04-11 07:01:59 +00:00
parent 418c6e0918
commit 7990ba7eaa
1 changed files with 3 additions and 2 deletions

View File

@ -157,13 +157,14 @@ public class FpdModuleSA extends JDialog implements ActionListener {
classInstanceMap = null;
classProduced = null;
classConsumed = null;
jTabbedPane.setSelectedIndex(0);
int tabIndex = jTabbedPane.indexOfTab("FV Info");
jTabbedPane.setSelectedIndex(tabIndex);
initPcdBuildDefinition(moduleKey);
moduleId = WorkspaceProfile.getModuleId(moduleKey);
if (moduleId == null) {
return;
}
int tabIndex = jTabbedPane.indexOfTab("Libraries");
tabIndex = jTabbedPane.indexOfTab("Libraries");
if (moduleId.isLibrary()) {
jTabbedPane.setEnabledAt(tabIndex, false);
}