X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2Fmodule%2Fui%2FModuleDefinitions.java;h=a427b2f770cb48fed2cf71a30b859a5465e872c0;hp=fa0963d6d8e847c308cd0728d5cdd8c0ef7494b4;hb=a929458e6682db26d87d4ebe80150e13820d3e50;hpb=ccb063b1f27dcc84d67fa82592dd79b7e0be1e3f diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleDefinitions.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleDefinitions.java index fa0963d6d8..a427b2f770 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleDefinitions.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleDefinitions.java @@ -65,9 +65,9 @@ public class ModuleDefinitions extends IInternalFrame { private StarLabel jStarLabel2 = null; private StarLabel jStarLabel3 = null; - + private OpeningModuleType omt = null; - + private ClonedFrom cf = null; private ModuleSurfaceAreaDocument.ModuleSurfaceArea msa = null; @@ -136,12 +136,12 @@ public class ModuleDefinitions extends IInternalFrame { if (iCheckBoxListArch == null) { iCheckBoxListArch = new ICheckBoxList(); iCheckBoxListArch.addFocusListener(this); - iCheckBoxListArch.setToolTipText("Deselecting a checkbox will restrict this module
" + - "for use with the selected architectures,
" + - "based on the list of items that are checked.
" + - "If all boxes are checked,
" + - "then the module will support all
" + - "current AND FUTURE architectures"); + iCheckBoxListArch.setToolTipText("Deselecting a checkbox will restrict this module
" + + "for use with the selected architectures,
" + + "based on the list of items that are checked.
" + + "If all boxes are checked,
" + + "then the module will support all
" + + "current AND FUTURE architectures"); } return iCheckBoxListArch; } @@ -157,14 +157,14 @@ public class ModuleDefinitions extends IInternalFrame { jComboBoxBinaryModule.setBounds(new java.awt.Rectangle(160, 35, 320, 20)); jComboBoxBinaryModule.setPreferredSize(new java.awt.Dimension(320, 20)); jComboBoxBinaryModule.addFocusListener(this); - jComboBoxBinaryModule.setToolTipText("Modules are either source modules
" + - "which can be compiled or binary
" + - "modules which are linked.
" + - "A module cannot contain both.
" + - "The GUID numbers should be identical
" + - "for a binary and source MSA,
" + - "but the BINARY MSA should have
" + - "a higher version number."); + jComboBoxBinaryModule.setToolTipText("Modules are either source modules
" + + "which can be compiled or binary
" + + "modules which are linked.
" + + "A module cannot contain both.
" + + "The GUID numbers should be identical
" + + "for a binary and source MSA,
" + + "but the BINARY MSA should have
" + + "a higher version number."); } return jComboBoxBinaryModule; } @@ -231,7 +231,7 @@ public class ModuleDefinitions extends IInternalFrame { this.omt = inOmt; this.msa = omt.getXmlMsa(); if (msa.getModuleDefinitions() != null) { - this.cf = msa.getModuleDefinitions().getClonedFrom(); + this.cf = msa.getModuleDefinitions().getClonedFrom(); } init(msa.getModuleDefinitions()); this.setVisible(true); @@ -283,7 +283,7 @@ public class ModuleDefinitions extends IInternalFrame { this.iCheckBoxListArch.setAllItems(ed.getVSupportedArchitectures()); Tools.generateComboBoxByVector(jComboBoxBinaryModule, ed.getVBoolean()); } - + private boolean check() { if (isEmpty(this.jTextFieldOutputFileBasename.getText())) { Log.wrn("Update Definitions", "Output File Basename couldn't be empty!"); @@ -332,7 +332,7 @@ public class ModuleDefinitions extends IInternalFrame { } else { md.setBinaryModule(true); } - + // // Set ClonedFrom field // @@ -344,9 +344,9 @@ public class ModuleDefinitions extends IInternalFrame { // Save Arch list // md.setSupportedArchitectures(this.iCheckBoxListArch.getAllCheckedItemsString()); - + msa.setModuleDefinitions(md); - + this.omt.setSaved(false); } catch (Exception e) {