diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-02-05 12:37:38 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-02-05 12:37:38 +0000 |
commit | 6aa922721858dd3f7b05319c85180861555947e7 (patch) | |
tree | 45ac2a3f0d7a97093122b365dc9ccc7b5f3b4e6c /javainstaller2 | |
parent | 775efb75d1fee92de3ed34cc0aec3d7514e760ac (diff) |
INTEGRATION: CWS native127 (1.3.4); FILE MERGED
2008/01/28 16:00:44 is 1.3.4.2: #i85281# improve performance
2008/01/25 09:56:19 is 1.3.4.1: #i85474# one and only language not selectable
Diffstat (limited to 'javainstaller2')
-rwxr-xr-x | javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/PackageDescription.java | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/PackageDescription.java b/javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/PackageDescription.java index b17fa5ef10db..26b10c593fd6 100755 --- a/javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/PackageDescription.java +++ b/javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/PackageDescription.java @@ -4,9 +4,9 @@ * * $RCSfile: PackageDescription.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: obo $ $Date: 2008-01-07 12:33:00 $ + * last change: $Author: ihi $ $Date: 2008-02-05 13:37:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -102,6 +102,8 @@ public class PackageDescription implements TreeNode { private boolean pkgExists = true; // must be default, especially for uninstallation private boolean isRelocatable = true; private boolean isUpdatePackage = false; + private boolean showMultiLingualOnly = false; + private boolean isApplicationPackage = false; private boolean isJavaPackage = false; private boolean isNewInstalled = false; private boolean wasAlreadyInstalled = false; @@ -190,6 +192,14 @@ public class PackageDescription implements TreeNode { return isUpdatePackage; } + public boolean showMultiLingualOnly() { + return showMultiLingualOnly; + } + + public boolean isApplicationPackage() { + return isApplicationPackage; + } + public boolean isJavaPackage() { return isJavaPackage; } @@ -412,6 +422,18 @@ public class PackageDescription implements TreeNode { // isUpdatePackage = Boolean.parseBoolean(isUpdatePackageValue); } + subSection = section.getElement("showmultilingualonly"); + if (subSection != null) { + String showMultiLingualOnlyValue = subSection.getValue(); + showMultiLingualOnly = Parser.parseBoolean(showMultiLingualOnlyValue); + } + + subSection = section.getElement("applicationmodule"); + if (subSection != null) { + String isApplicationPackageValue = subSection.getValue(); + isApplicationPackage = Parser.parseBoolean(isApplicationPackageValue); + } + subSection = section.getElement("isjavapackage"); if (subSection != null) { String isJavaPackageValue = subSection.getValue(); |