Added some additional comments in the files, as well as fixed some of them.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1149 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2006-07-29 04:39:01 +00:00
parent 64e0af09a6
commit 9e857952db
12 changed files with 55 additions and 54 deletions

View File

@ -42,10 +42,9 @@ import org.tianocore.frameworkwizard.common.ui.StarLabel;
import org.tianocore.frameworkwizard.module.Identifications.BootModes.BootModesIdentification;
/**
* The class is used to create, update BootModes of MSA/MBD file It extends
* IDialog
*
*
* The class is used to create, update BootModes of MSA/MBD file
*
* It extends IDialog
*
*/
public class BootModesDlg extends IDialog {
@ -59,7 +58,7 @@ public class BootModesDlg extends IDialog {
// Define class members
//
private JPanel jContentPane = null;
private JLabel jLabelTest = null;
private JLabel jLabelBootModeName = null;
private JComboBox jComboBoxBootModeName = null;

View File

@ -42,10 +42,9 @@ import org.tianocore.frameworkwizard.common.ui.StarLabel;
import org.tianocore.frameworkwizard.module.Identifications.DataHubs.DataHubsIdentification;
/**
* The class is used to create, update DataHub of MSA/MBD file It extends
* IInternalFrame
*
* The class is used to create, update DataHub of the MSA file
*
* It extends IDialog
*
*/
public class DataHubsDlg extends IDialog {

View File

@ -121,9 +121,9 @@ public class EventsDlg extends IDialog {
jComboBoxEventsType.setBounds(new java.awt.Rectangle(168, 12, 320, 20));
jComboBoxEventsType.setPreferredSize(new java.awt.Dimension(320, 20));
jComboBoxEventsType
.setToolTipText("<html>Select CreateEvents if the Module has an event that is waiting to be signaled.<br>"
+ "Select SignalEvents if the Module will signal all events in an event group.<br>"
+ "NOTE: Signal events are named by GUID.</html>");
.setToolTipText("<html>Select CreateEvents if the Module has an event that is waiting to be signaled.<br>"
+ "Select SignalEvents if the Module will signal all events in an event group.<br>"
+ "NOTE: Signal events are named by GUID.</html>");
}
return jComboBoxEventsType;
}
@ -172,15 +172,15 @@ public class EventsDlg extends IDialog {
jComboBoxUsage.setBounds(new java.awt.Rectangle(168, 87, 320, 20));
jComboBoxUsage.setPreferredSize(new java.awt.Dimension(320, 20));
jComboBoxUsage
.setToolTipText("<html><table>"
+ "<tr><td colspan=2 align=center><b>Create Events</b></td></tr>"
+ "<tr><td>ALWAYS_CONSUMED</td><td>Module registers a notification function and REQUIRES that it be<br>"
+ "executed for the module to fully function.</td></tr>"
+ "<tr><td>SOMETIMES_CONSUMED</td><td>Module registers a notification function and calls the function<br>"
+ "when it is signaled</td></tr><tr><td colspan=2 align=center><b>Signal Events</b></td></tr>"
+ "<tr><td>ALWAYS_PRODUCED</td><td>Module will Always signal the event</td></tr>"
+ "<tr><td>SOMETIMES_PRODUCED</td><td>Module will sometimes signal the event</td></tr>"
+ "</table></html>");
.setToolTipText("<html><table>"
+ "<tr><td colspan=2 align=center><b>Create Events</b></td></tr>"
+ "<tr><td>ALWAYS_CONSUMED</td><td>Module registers a notification function and REQUIRES that it be<br>"
+ "executed for the module to fully function.</td></tr>"
+ "<tr><td>SOMETIMES_CONSUMED</td><td>Module registers a notification function and calls the function<br>"
+ "when it is signaled</td></tr><tr><td colspan=2 align=center><b>Signal Events</b></td></tr>"
+ "<tr><td>ALWAYS_PRODUCED</td><td>Module will Always signal the event</td></tr>"
+ "<tr><td>SOMETIMES_PRODUCED</td><td>Module will sometimes signal the event</td></tr>"
+ "</table></html>");
}
return jComboBoxUsage;
}

View File

@ -37,12 +37,11 @@ import org.tianocore.frameworkwizard.common.ui.IFrame;
import org.tianocore.frameworkwizard.module.Identifications.Externs.ExternsIdentification;
/**
The class is used to create, update Externs section of the MSA file
It extends IDialog
**/
* The class is used to create, update Externs section of the MSA file
*
* It extends IDialog
*
*/
public class ExternsDlg extends IDialog implements ItemListener {
///

View File

@ -1,6 +1,6 @@
/** @file
The file is used to create, update Hii Packages section of the MSA file
The file is used to create, update Hii Packages section of the MSA file
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials

View File

@ -1,6 +1,6 @@
/** @file
The file is used to create, update Hob of MSA/MBD file
The file is used to create, update Hob section of the MSA file
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
@ -38,7 +38,9 @@ import org.tianocore.frameworkwizard.module.Identifications.Hobs.HobsIdentificat
import org.tianocore.frameworkwizard.workspace.WorkspaceTools;
/**
* The class is used to create, update Hob of the MSA file It extends JDialog
* The class is used to create, update Hob of the MSA file
*
* It extends IDialog
*
*/
public class HobsDlg extends IDialog {

View File

@ -39,11 +39,11 @@ import org.tianocore.frameworkwizard.module.Identifications.LibraryClass.Library
import org.tianocore.frameworkwizard.workspace.WorkspaceTools;
/**
* The class is used to create, update Library Class Definition of MSA/MBD file
* The class is used to create, update Library Class Definition section of the MSA file
*
* It extends IDialog
*
**/
*/
public class LibraryClassDefsDlg extends IDialog {
///

View File

@ -1,6 +1,6 @@
/** @file
The file is used to create, update PCD of MSA/MBD file
The file is used to create, update PcdCode section of the MSA file
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
@ -41,8 +41,9 @@ import org.tianocore.frameworkwizard.module.Identifications.PcdCoded.PcdVector;
import org.tianocore.frameworkwizard.workspace.WorkspaceTools;
/**
* The class is used to create, update PCD of MSA/MBD file It extends
* IInternalFrame
* The class is used to create, update PcdCoded section of the MSA file
*
* It extends IDialog
*
*/
public class PCDsDlg extends IDialog implements ItemListener {
@ -98,7 +99,7 @@ public class PCDsDlg extends IDialog implements ItemListener {
private JButton jButtonCancel = null;
private JScrollPane jScrollPaneHelpText = null;
private JLabel jLabelUsage = null;
private JComboBox jComboBoxUsage = null;
@ -107,7 +108,7 @@ public class PCDsDlg extends IDialog implements ItemListener {
// Not used by UI
//
private PcdCodedIdentification id = null;
private EnumerationData ed = new EnumerationData();
private WorkspaceTools wt = new WorkspaceTools();

View File

@ -40,7 +40,7 @@ import org.tianocore.frameworkwizard.workspace.WorkspaceTools;
/**
* The class is used to create, update Package Dependencies section of the MSA file
*
* It extends * IDialog
* It extends IDialog
*
*/
public class PackageDepDlg extends IDialog implements ItemListener {
@ -134,11 +134,11 @@ public class PackageDepDlg extends IDialog implements ItemListener {
jTextFieldPackageVersion.setBounds(new java.awt.Rectangle(168, 37, 320, 20));
jTextFieldPackageVersion.setPreferredSize(new java.awt.Dimension(320, 20));
jTextFieldPackageVersion
.setToolTipText("<html>If this module depends on a specific version of a package, <br>"
+ "enter the package version here. <br>"
+ "If the module can use the latest version <br>"
+ "that does not break backward compatibility, <br>"
+ "leave this field blank</html>");
.setToolTipText("<html>If this module depends on a specific version of a package, <br>"
+ "enter the package version here. <br>"
+ "If the module can use the latest version <br>"
+ "that does not break backward compatibility, <br>"
+ "leave this field blank</html>");
}
return jTextFieldPackageVersion;
}

View File

@ -40,8 +40,9 @@ import org.tianocore.frameworkwizard.module.Identifications.Ppis.PpisIdentificat
import org.tianocore.frameworkwizard.workspace.WorkspaceTools;
/**
* The class is used to create, update Ppi of MSA/MBD file It extends
* IInternalFrame
* The class is used to create, update Ppi section of the MSA file
*
* It extends IDialog
*
*/
public class PpisDlg extends IDialog implements ItemListener {

View File

@ -39,11 +39,10 @@ import org.tianocore.frameworkwizard.module.Identifications.SystemTables.SystemT
import org.tianocore.frameworkwizard.workspace.WorkspaceTools;
/**
* The class is used to create, update SystemTable of MSA/MBD file
* The class is used to create, update SystemTables section of the MSA file
*
* It extends IDialog
*
*
*
*/
public class SystemTablesDlg extends IDialog {

View File

@ -39,7 +39,8 @@ import org.tianocore.frameworkwizard.module.Identifications.Variables.VariablesI
import org.tianocore.frameworkwizard.workspace.WorkspaceTools;
/**
* The class is used to create, update Variables section of the MSA file
* The class is used to create, update Variables section of the MSA file
*
* It extends IDialog
*
*/
@ -132,12 +133,12 @@ public class VariablesDlg extends IDialog {
jComboBoxUsage.setBounds(new java.awt.Rectangle(168, 62, 320, 20));
jComboBoxUsage.setPreferredSize(new java.awt.Dimension(320, 20));
jComboBoxUsage
.setToolTipText("<html><table>"
+ "<tr><td>ALWAYS_CONSUMED</td><td>The module requires the variable entry to be set</td></tr>"
+ "<tr><td>SOMETIMES_CONSUMED</td><td>The module will use the variable entry if it is set.</td></tr>"
+ "<tr><td>ALWAYS_PRODUCED</td><td>The module will always write the variable.</td></tr>"
+ "<tr><td>SOMETIMES_PRODUCED</td><td>The module will sometimes write the variable.</td></tr>"
+ "</table></html>");
.setToolTipText("<html><table>"
+ "<tr><td>ALWAYS_CONSUMED</td><td>The module requires the variable entry to be set</td></tr>"
+ "<tr><td>SOMETIMES_CONSUMED</td><td>The module will use the variable entry if it is set.</td></tr>"
+ "<tr><td>ALWAYS_PRODUCED</td><td>The module will always write the variable.</td></tr>"
+ "<tr><td>SOMETIMES_PRODUCED</td><td>The module will sometimes write the variable.</td></tr>"
+ "</table></html>");
}
return jComboBoxUsage;
}