\r
private JTextField jTextFieldVersion = null;\r
\r
- private JLabel jLabel = null;\r
+ private JLabel jLabelHelp = null;\r
\r
- private JTextField jTextField = null;\r
+ private JTextField jTextFieldHelp = null;\r
\r
- private JLabel jLabel1 = null;\r
+ private JLabel jLabelSupMod = null;\r
\r
- private JLabel jLabel2 = null;\r
+ private JLabel jLabelSupArch = null;\r
\r
- private ICheckBoxList iCheckBoxList = null;\r
+ private ICheckBoxList iCheckBoxListArch = null;\r
\r
- private ICheckBoxList iCheckBoxList1 = null;\r
+ private ICheckBoxList iCheckBoxListGuid = null;\r
\r
- private ICheckBoxList iCheckBoxList2 = null;\r
+ private ICheckBoxList iCheckBoxListMod = null;\r
\r
- private JLabel jLabel3 = null;\r
+ private JLabel jLabelGuidType = null;\r
\r
protected String[][] saa = null;\r
\r
**/\r
protected JPanel getJContentPane1() {\r
if (jContentPane == null) {\r
- jLabel3 = new JLabel();\r
- jLabel3.setBounds(new java.awt.Rectangle(400,122,103,16));\r
- jLabel3.setText("GUID Type List");\r
- jLabel3.setEnabled(true);\r
- jLabel2 = new JLabel();\r
- jLabel2.setBounds(new java.awt.Rectangle(197,122,108,16));\r
- jLabel2.setText("Supported Arch");\r
- jLabel2.setEnabled(true);\r
- jLabel1 = new JLabel();\r
- jLabel1.setBounds(new java.awt.Rectangle(14,120,110,16));\r
- jLabel1.setText("Supported Module");\r
- jLabel1.setEnabled(true);\r
- jLabel = new JLabel();\r
- jLabel.setText("HelpText");\r
- jLabel.setSize(new java.awt.Dimension(109,20));\r
- jLabel.setLocation(new java.awt.Point(14,85));\r
+ jLabelGuidType = new JLabel();\r
+ jLabelGuidType.setBounds(new java.awt.Rectangle(400,122,103,16));\r
+ jLabelGuidType.setText("GUID Type List");\r
+ jLabelGuidType.setEnabled(true);\r
+ jLabelSupArch = new JLabel();\r
+ jLabelSupArch.setBounds(new java.awt.Rectangle(197,122,108,16));\r
+ jLabelSupArch.setText("Supported Arch");\r
+ jLabelSupArch.setEnabled(true);\r
+ jLabelSupMod = new JLabel();\r
+ jLabelSupMod.setBounds(new java.awt.Rectangle(14,120,110,16));\r
+ jLabelSupMod.setText("Supported Module");\r
+ jLabelSupMod.setEnabled(true);\r
+ jLabelHelp = new JLabel();\r
+ jLabelHelp.setText("HelpText");\r
+ jLabelHelp.setSize(new java.awt.Dimension(109,20));\r
+ jLabelHelp.setLocation(new java.awt.Point(14,85));\r
jLabelVer = new JLabel();\r
jLabelVer.setBounds(new java.awt.Rectangle(14,60,111,20));\r
jLabelVer.setText("C_Name");\r
jContentPane.add(jLabelName, null);\r
jContentPane.add(getJTextFieldName(), null);\r
jContentPane.add(jLabelGuid, null);\r
- jContentPane.add(jLabel, null);\r
- jContentPane.add(getJTextField(), null);\r
- jContentPane.add(jLabel1, null);\r
- jContentPane.add(jLabel2, null);\r
+ jContentPane.add(jLabelHelp, null);\r
+ jContentPane.add(getJTextFieldHelp(), null);\r
+ jContentPane.add(jLabelSupMod, null);\r
+ jContentPane.add(jLabelSupArch, null);\r
jContentPane.add(getJScrollPaneArch(), null);\r
jContentPane.add(getJScrollPaneGuid(), null);\r
jContentPane.add(getJScrollPaneModule(), null);\r
- jContentPane.add(jLabel3, null);\r
+ jContentPane.add(jLabelGuidType, null);\r
}\r
return jContentPane;\r
}\r
\r
//ToDo: check before add\r
String[] row = {"", "", "", "", "", "", ""};\r
- row[3] = jTextField.getText();\r
+ row[3] = jTextFieldHelp.getText();\r
row[2] = jTextFieldAdd.getText();\r
row[1] = jTextFieldVersion.getText();\r
row[0] = jTextFieldName.getText();\r
- row[4] = vectorToString(iCheckBoxList.getAllCheckedItemsString());\r
+ row[4] = vectorToString(iCheckBoxListArch.getAllCheckedItemsString());\r
if (row[4].length() == 0) {\r
row[4] = null;\r
}\r
- row[5] = vectorToString(iCheckBoxList2.getAllCheckedItemsString());\r
+ row[5] = vectorToString(iCheckBoxListMod.getAllCheckedItemsString());\r
if (row[5].length() == 0) {\r
row[5] = null;\r
}\r
- row[6] = vectorToString(iCheckBoxList1.getAllCheckedItemsString());\r
+ row[6] = vectorToString(iCheckBoxListGuid.getAllCheckedItemsString());\r
if (row[6].length() == 0) {\r
row[6] = null;\r
}\r
}\r
\r
protected void addRow(String[] row) {\r
- Vector<String> vArch = iCheckBoxList.getAllCheckedItemsString();\r
+ Vector<String> vArch = iCheckBoxListArch.getAllCheckedItemsString();\r
if (vArch.size() == 0) {\r
vArch = null;\r
}\r
- Vector<String> vModType = iCheckBoxList2.getAllCheckedItemsString();\r
+ Vector<String> vModType = iCheckBoxListMod.getAllCheckedItemsString();\r
if (vModType.size() == 0) {\r
vModType = null;\r
}\r
- Vector<String> vguidType = iCheckBoxList1.getAllCheckedItemsString();\r
+ Vector<String> vguidType = iCheckBoxListGuid.getAllCheckedItemsString();\r
if (vguidType.size() == 0) {\r
vguidType = null;\r
}\r
resizeComponentWidth(this.jTextFieldName, this.getWidth(), intPreferredWidth);\r
resizeComponentWidth(this.jTextFieldAdd, this.getWidth(), intPreferredWidth);\r
resizeComponentWidth(this.jTextFieldVersion, this.getWidth(), intPreferredWidth);\r
- resizeComponentWidth(this.jTextField, this.getWidth(), intPreferredWidth);\r
+ resizeComponentWidth(this.jTextFieldHelp, this.getWidth(), intPreferredWidth);\r
resizeComponentWidth(this.jScrollPane, this.getWidth(), intPreferredWidth);\r
relocateComponentX(this.jButtonGen, this.getWidth(), this.getPreferredSize().width, 40);\r
\r
* \r
* @return javax.swing.JTextField \r
*/\r
- private JTextField getJTextField() {\r
- if (jTextField == null) {\r
- jTextField = new JTextField();\r
- jTextField.setBounds(new java.awt.Rectangle(136,85,337,20));\r
- jTextField.setPreferredSize(new Dimension(335, 20));\r
+ private JTextField getJTextFieldHelp() {\r
+ if (jTextFieldHelp == null) {\r
+ jTextFieldHelp = new JTextField();\r
+ jTextFieldHelp.setBounds(new java.awt.Rectangle(136,85,337,20));\r
+ jTextFieldHelp.setPreferredSize(new Dimension(335, 20));\r
}\r
- return jTextField;\r
+ return jTextFieldHelp;\r
}\r
\r
private JScrollPane getJScrollPaneArch() {\r
jScrollPaneArch = new JScrollPane();\r
jScrollPaneArch.setBounds(new java.awt.Rectangle(197,142,188,74));\r
jScrollPaneArch.setPreferredSize(new java.awt.Dimension(188, 74));\r
- jScrollPaneArch.setViewportView(getICheckBoxList());\r
+ jScrollPaneArch.setViewportView(getICheckBoxListArch());\r
}\r
return jScrollPaneArch;\r
}\r
* \r
* @return org.tianocore.frameworkwizard.common.ui.iCheckBoxList.ICheckBoxList \r
*/\r
- private ICheckBoxList getICheckBoxList() {\r
- if (iCheckBoxList == null) {\r
- iCheckBoxList = new ICheckBoxList();\r
- iCheckBoxList.setBounds(new java.awt.Rectangle(197,142,188,74));\r
+ private ICheckBoxList getICheckBoxListArch() {\r
+ if (iCheckBoxListArch == null) {\r
+ iCheckBoxListArch = new ICheckBoxList();\r
+ iCheckBoxListArch.setBounds(new java.awt.Rectangle(197,142,188,74));\r
Vector<String> v = new Vector<String>();\r
v.add("IA32");\r
v.add("X64");\r
v.add("EBC");\r
v.add("ARM");\r
v.add("PPC");\r
- iCheckBoxList.setAllItems(v);\r
+ iCheckBoxListArch.setAllItems(v);\r
}\r
- return iCheckBoxList;\r
+ return iCheckBoxListArch;\r
}\r
\r
protected JScrollPane getJScrollPaneGuid() {\r
jScrollPaneGuid.setPreferredSize(new java.awt.Dimension(190,74));\r
jScrollPaneGuid.setLocation(new java.awt.Point(400,142));\r
jScrollPaneGuid.setSize(new java.awt.Dimension(260,74));\r
- jScrollPaneGuid.setViewportView(getICheckBoxList1());\r
+ jScrollPaneGuid.setViewportView(getICheckBoxListGuid());\r
}\r
return jScrollPaneGuid;\r
}\r
* \r
* @return org.tianocore.frameworkwizard.common.ui.iCheckBoxList.ICheckBoxList \r
*/\r
- private ICheckBoxList getICheckBoxList1() {\r
- if (iCheckBoxList1 == null) {\r
- iCheckBoxList1 = new ICheckBoxList();\r
- iCheckBoxList1.setBounds(new java.awt.Rectangle(400,142,177,74));\r
+ private ICheckBoxList getICheckBoxListGuid() {\r
+ if (iCheckBoxListGuid == null) {\r
+ iCheckBoxListGuid = new ICheckBoxList();\r
+ iCheckBoxListGuid.setBounds(new java.awt.Rectangle(400,142,177,74));\r
Vector<String> v = new Vector<String>();\r
v.add("DATA_HUB_RECORD");\r
v.add("EFI_EVENT");\r
v.add("HOB");\r
v.add("TOKEN_SPACE_GUID");\r
\r
- iCheckBoxList1.setAllItems(v);\r
+ iCheckBoxListGuid.setAllItems(v);\r
}\r
- return iCheckBoxList1;\r
+ return iCheckBoxListGuid;\r
}\r
\r
private JScrollPane getJScrollPaneModule() {\r
jScrollPaneModule = new JScrollPane();\r
jScrollPaneModule.setBounds(new java.awt.Rectangle(14,142,170,74));\r
jScrollPaneModule.setPreferredSize(new java.awt.Dimension(170, 74));\r
- jScrollPaneModule.setViewportView(getICheckBoxList2());\r
+ jScrollPaneModule.setViewportView(getICheckBoxListMod());\r
}\r
return jScrollPaneModule;\r
}\r
* \r
* @return org.tianocore.frameworkwizard.common.ui.iCheckBoxList.ICheckBoxList \r
*/\r
- private ICheckBoxList getICheckBoxList2() {\r
- if (iCheckBoxList2 == null) {\r
- iCheckBoxList2 = new ICheckBoxList();\r
- iCheckBoxList2.setBounds(new java.awt.Rectangle(14,142,170,74));\r
+ private ICheckBoxList getICheckBoxListMod() {\r
+ if (iCheckBoxListMod == null) {\r
+ iCheckBoxListMod = new ICheckBoxList();\r
+ iCheckBoxListMod.setBounds(new java.awt.Rectangle(14,142,170,74));\r
Vector<String> v = new Vector<String>();\r
v.add("BASE");\r
v.add("SEC");\r
v.add("UEFI_DRIVER");\r
v.add("UEFI_APPLICATION");\r
v.add("USER_DEFINED");\r
- iCheckBoxList2.setAllItems(v);\r
+ iCheckBoxListMod.setAllItems(v);\r
}\r
- return iCheckBoxList2;\r
+ return iCheckBoxListMod;\r
}\r
\r
public static void main(String[] args){\r
return v;\r
}\r
\r
- protected JLabel getJLabel3() {\r
- return jLabel3;\r
+ protected JLabel getJLabelGuidType() {\r
+ return jLabelGuidType;\r
}\r
}\r
\r