X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2Fcommon%2FDataType.java;h=21d76139c5718dfbf3d4db275be41651e20e0c91;hp=30454ec1a30ceaad6d6e819905a10de3a0894326;hb=214b0d1914b48d651b25e58f321ddb77a46903b8;hpb=739c6b04fd86cb47de673b1038bea336a7f3499c diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/DataType.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/DataType.java index 30454ec1a3..21d76139c5 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/DataType.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/DataType.java @@ -61,6 +61,10 @@ public class DataType { public static final String DOS_LINE_SEPARATOR = "\r\n"; public static final String UNIX_LINE_SEPARATOR = "\n"; + + public static final String LINE_SEPARATOR = UNIX_LINE_SEPARATOR; + + public static final String HTML_LINE_SEPARATOR = "
"; public static final String EMPTY_SELECT_ITEM = "----"; @@ -168,6 +172,10 @@ public class DataType { public static final int SPACE_TO_BOTTOM_FOR_REMOVE_BUTTON = 30; public static final int SPACE_TO_BOTTOM_FOR_UPDATE_BUTTON = 30; + + public static final int SPACE_TO_RIGHT_FOR_CLOSE_BUTTON = 240; + + public static final int SPACE_TO_BOTTOM_FOR_CLOSE_BUTTON = 25; public static final int SPACE_TO_RIGHT_FOR_PROTOCOL_NOTIFY = 25; @@ -210,7 +218,7 @@ public class DataType { // First defined here // Will be replaced by resource file later // - public static final String SUP_ARCH_LIST_HELP_TEXT = "Selecting a checkbox means supporting the selected architectures;
None of boxes are checked means supporting all architectures"; + public static final String SUP_ARCH_LIST_HELP_TEXT = "Selecting a checkbox is a restriction of only the selected architectures;
If none of boxes are selected, all architectures are supported."; // // Project name and version @@ -244,4 +252,36 @@ public class DataType { public static final String TRUE = "True"; public static final String FALSE = "False"; + + // + // The Sting for USAGE type + // + public final static String USAGE_TYPE_ALWAYS_CONSUMED = "ALWAYS_CONSUMED"; + + public final static String USAGE_TYPE_SOMETIMES_CONSUMED = "SOMETIMES_CONSUMED"; + + public final static String USAGE_TYPE_ALWAYS_PRODUCED = "ALWAYS_PRODUCED"; + + public final static String USAGE_TYPE_SOMETIMES_PRODUCED = "SOMETIMES_PRODUCED"; + + public final static String USAGE_TYPE_PRIVATE = "PRIVATE"; + + // + // The String for PPI type + // + public final static String PPI_TYPE_PPI = "Ppi"; + + public final static String PPI_TYPE_PPI_NOTIFY = "Ppi Notify"; + + // + // The String for Protocol type + // + public final static String PROTOCOL_TYPE_PROTOCOL = "Protocol"; + + public final static String PROTOCOL_TYPE_PROTOCOL_NOTIFY = "Protocol Notify"; + + // + // The default file name for guids.xref file + // + public final static String GUIDS_XREF_FILE_NAME = "guids.xref"; }