summaryrefslogtreecommitdiff
path: root/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:06:53 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:06:53 +0200
commit6e4894c2019dc9c442dce738d3f0423d8d74973f (patch)
treee3734a287f4c02ecb120e54aa32141f95f484236 /javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java
parentb84e1626f6fcb29fe784933dee51079c3447a50c (diff)
recreated tag libreoffice-3.3.3.1 which had these commits:
commit d7e53cee633ec1c583c72e6d9c01122195c4383c (tag: refs/tags/libreoffice-3.3.3.1) Author: Petr Mladek <pmladek@suse.cz> Date: Tue May 31 17:39:04 2011 +0200 Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
split repo tag: components_libreoffice-3.3.3.1 split repo tag: components_libreoffice-3.3.4.1
Diffstat (limited to 'javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java')
-rwxr-xr-xjavainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java72
1 files changed, 36 insertions, 36 deletions
diff --git a/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java b/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java
index 358ebd489db4..30a222d3b162 100755
--- a/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java
+++ b/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -113,7 +113,7 @@ public class InstallData
static private Vector installPackages = new Vector();
static private Vector oldPackages = new Vector();
static private Vector systemLanguages = new Vector();
-
+
public static InstallData getInstance()
{
if (instance == null) {
@@ -150,20 +150,20 @@ public class InstallData
}
}
- private void setInstallationMode() {
+ private void setInstallationMode() {
// Exists a directory "uninstalldata" below the resource root?
File uninstallDir = new File(resourceRoot, uninstallDirName);
File installDir = new File(resourceRoot, installDirName);
-
+
if ( SystemManager.exists_directory(uninstallDir.getPath())) {
isInstallationMode = false;
isUninstallationMode = true;
infoRoot = uninstallDir;
- System.err.println("Mode: uninstallation");
+ System.err.println("Mode: uninstallation");
} else if ( SystemManager.exists_directory(installDir.getPath())) {
isInstallationMode = true;
isUninstallationMode = false;
- infoRoot = installDir;
+ infoRoot = installDir;
System.err.println("Mode: installation");
} else {
// isInstallationMode = null;
@@ -174,7 +174,7 @@ public class InstallData
System.exit(1);
}
}
-
+
private void setSolarisUserInstall() {
if (( isUserInstallation ) && (osType.equalsIgnoreCase("SunOS"))) {
isSolarisUserInstallation = true;
@@ -189,7 +189,7 @@ public class InstallData
File htmlDirectory = getInfoRoot("html");
ResourceManager.checkFileExistence(htmlDirectory);
}
-
+
private void setBidiSupport() {
Locale locale = Locale.getDefault();
if (( locale.getLanguage().equals(new Locale("he", "", "").getLanguage()) )
@@ -197,11 +197,11 @@ public class InstallData
useRtl = true;
}
}
-
+
private void setInstallationPrivileges(boolean isUserInstallation) {
if ( isUserInstallation ) {
installationPrivileges = "user";
- } else {
+ } else {
installationPrivileges = "root";
}
}
@@ -231,9 +231,9 @@ public class InstallData
}
public File getResourceRoot(String subDirectory) {
-
+
File dir = getResourceRoot();
-
+
if (dir != null) {
dir = new File(dir, subDirectory);
if (!dir.exists()) {
@@ -320,7 +320,7 @@ public class InstallData
public String getUninstallDirName() {
return uninstallDirName;
}
-
+
public String getInstallDir() {
return installDir;
}
@@ -383,7 +383,7 @@ public class InstallData
public String getLocalTempPath() {
return localTempPath;
}
-
+
public void setLocalTempPath(String path) {
localTempPath = path;
}
@@ -391,7 +391,7 @@ public class InstallData
public int getAvailableDiscSpace() {
return availableDiscSpace;
}
-
+
public void setAvailableDiscSpace(int space) {
availableDiscSpace = space;
}
@@ -399,7 +399,7 @@ public class InstallData
public int getPreselectedLanguages() {
return preselectedLanguages;
}
-
+
public void setPreselectedLanguages(int count) {
preselectedLanguages = count;
}
@@ -435,7 +435,7 @@ public class InstallData
public void setAdminFileNameNoRelocNoDepends(String fileName) {
adminFileNameNoRelocNoDepends = fileName;
}
-
+
public String getGetUidPath() {
return getUidPath;
}
@@ -455,7 +455,7 @@ public class InstallData
public void setStillRunning(boolean running) {
stillRunning = running;
}
-
+
public boolean stillRunning() {
return stillRunning;
}
@@ -463,7 +463,7 @@ public class InstallData
public void setStillAnalyzing(boolean running) {
stillAnalyzing = running;
}
-
+
public boolean stillAnalyzing() {
return stillAnalyzing;
}
@@ -471,7 +471,7 @@ public class InstallData
public void setDatabaseAnalyzed(boolean analyzed) {
databaseAnalyzed = analyzed;
}
-
+
public boolean databaseAnalyzed() {
return databaseAnalyzed;
}
@@ -479,7 +479,7 @@ public class InstallData
public void setModuleSizeSet(boolean set) {
moduleSizeSet = set;
}
-
+
public boolean moduleSizeSet() {
return moduleSizeSet;
}
@@ -487,7 +487,7 @@ public class InstallData
public void setPreInstallDone(boolean done) {
preInstallDone = done;
}
-
+
public boolean preInstallDone() {
return preInstallDone;
}
@@ -495,7 +495,7 @@ public class InstallData
public boolean isChangeInstallation() {
return isChangeInstallation;
}
-
+
public void setIsChangeInstallation(boolean changeInstallation) {
isChangeInstallation = changeInstallation;
}
@@ -511,7 +511,7 @@ public class InstallData
public boolean isAbortedInstallation() {
return isAbortedInstallation;
}
-
+
public void setIsAbortedInstallation(boolean abortedInstallation) {
isAbortedInstallation = abortedInstallation;
}
@@ -519,7 +519,7 @@ public class InstallData
public boolean isErrorInstallation() {
return isErrorInstallation;
}
-
+
public void setIsErrorInstallation(boolean errorInstallation) {
isErrorInstallation = errorInstallation;
}
@@ -527,7 +527,7 @@ public class InstallData
public boolean isMultiLingual() {
return isMultiLingual;
}
-
+
public void setIsMultiLingual(boolean multiLingual) {
isMultiLingual = multiLingual;
}
@@ -535,11 +535,11 @@ public class InstallData
public boolean logModuleStates() {
return logModuleStates;
}
-
+
public void setLogModuleStates(boolean log) {
logModuleStates = log;
}
-
+
public boolean visibleModulesChecked() {
return visibleModulesChecked;
}
@@ -567,7 +567,7 @@ public class InstallData
public boolean isMaskedCompleteUninstallation() {
return isMaskedCompleteUninstallation;
}
-
+
public void setMaskedCompleteUninstallation(boolean masked) {
isMaskedCompleteUninstallation = masked;
}
@@ -575,7 +575,7 @@ public class InstallData
public boolean typicalSelectionStateSaved() {
return typicalSelectionStateSaved;
}
-
+
public void setTypicalSelectionStateSaved(boolean saved) {
typicalSelectionStateSaved = saved;
}
@@ -583,7 +583,7 @@ public class InstallData
public boolean customSelectionStateSaved() {
return customSelectionStateSaved;
}
-
+
public void setCustomSelectionStateSaved(boolean saved) {
customSelectionStateSaved = saved;
}
@@ -591,7 +591,7 @@ public class InstallData
public boolean startSelectionStateSaved() {
return startSelectionStateSaved;
}
-
+
public void setStartSelectionStateSaved(boolean saved) {
startSelectionStateSaved = saved;
}
@@ -699,7 +699,7 @@ public class InstallData
public HashMap getDatabaseMap() {
return databaseMap;
}
-
+
public void setDatabaseMap(HashMap map) {
databaseMap = map;
}
@@ -711,7 +711,7 @@ public class InstallData
public Vector getInstallPackages() {
return installPackages;
}
-
+
public void setInstallPackages(Vector packages) {
installPackages = packages;
}
@@ -719,7 +719,7 @@ public class InstallData
public Vector getOldPackages() {
return oldPackages;
}
-
+
public void setOldPackages(Vector packages) {
oldPackages = packages;
}
@@ -727,7 +727,7 @@ public class InstallData
public Vector getSystemLanguages() {
return systemLanguages;
}
-
+
public void setSystemLanguages(Vector languages) {
systemLanguages = languages;
}