/aoo42x/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ |
H A D | ModuleCtrl.java | 47 if (( ! packageData.isLeaf() ) && ( ! packageData.isHidden() )) { in setModuleSize() 190 … if (( packageData.isHidden() ) && ( packageData.getSelectionState() != packageData.IGNORE )) { in setHiddenModuleSettingsInstall() 196 packageData.setSelectionState(packageData.INSTALL); in setHiddenModuleSettingsInstall() 202 … if (( packageData.getSelectionState() == packageData.INSTALL_SOME ) && ( packageData.isLeaf() )) { in setHiddenModuleSettingsInstall() 203 packageData.setSelectionState(packageData.INSTALL); in setHiddenModuleSettingsInstall() 217 … if (( packageData.isHidden() ) && ( packageData.getSelectionState() != packageData.IGNORE )) { in setHiddenModuleSettingsUninstall() 235 packageData.setSelectionState(packageData.IGNORE); in setHiddenModuleSettingsUninstall() 242 … if (( packageData.getSelectionState() == packageData.REMOVE_SOME ) && ( packageData.isLeaf() )) { in setHiddenModuleSettingsUninstall() 243 packageData.setSelectionState(packageData.REMOVE); in setHiddenModuleSettingsUninstall() 533 … if (( ! packageData.isHidden() ) && ( packageData.getSelectionState() == packageData.INSTALL )) { in checkVisibleModulesInstall() [all …]
|
H A D | Dumper.java | 42 if ( packageData.isLeaf() ) { in dumpPackageSettings() 43 System.out.println("Name: " + packageData.getName() + in dumpPackageSettings() 60 System.err.println("Name: " + packageData.getName() + in dumpModuleStates() 62 " " + packageData.getPackageName()); in dumpModuleStates() 97 int state = packageData.getSelectionState(); in logModuleStatesHelper() 116 logModuleStatesHelper(packageData); in logModuleStates() 120 PackageDescription packageData = null; in logPackagesToInstall() local 131 … if (( packageData.isLeaf() ) && ( packageData.getSelectionState() == packageData.INSTALL )) { in dumpInstallPackages() 143 if (( packageData.isLeaf() ) && ( packageData.getSelectionState() == packageData.REMOVE )) { in dumpUninstallPackages() 155 … if (( packageData.getPackageName() != null ) && ( ! packageData.getPackageName().equals(""))) { in dumpAllRpmInfo() [all …]
|
H A D | PackageCollector.java | 40 … if (( packageData.isLeaf() ) && ( packageData.getSelectionState() == packageData.INSTALL )) { in collectInstallPackages() 54 allPackages.add(packageData); in collectInstallPackages() 60 if (( ! packageData.isLeaf() ) && in collectInstallPackages() 63 (( packageData.getSelectionState() == packageData.INSTALL ) || in collectInstallPackages() 64 ( packageData.getSelectionState() == packageData.INSTALL_SOME ))) { in collectInstallPackages() 78 allPackages.add(packageData); in collectInstallPackages() 91 if (( packageData.isLeaf() ) && ( packageData.getSelectionState() == packageData.REMOVE )) { in collectUninstallPackages() 92 allPackages.add(0, packageData); in collectUninstallPackages() 96 if (( ! packageData.isLeaf() ) && in collectUninstallPackages() 99 ( packageData.getSelectionState() == packageData.REMOVE )) { in collectUninstallPackages() [all …]
|
H A D | InfoCtrl.java | 74 if (( packageData.isLeaf() ) || ( packageData.isAllChildrenHidden() )) { in setReadyToInstallInfoText() 75 if ( ! packageData.isHidden() ) { in setReadyToInstallInfoText() 76 if ( packageData.getSelectionState() == packageData.INSTALL ) { in setReadyToInstallInfoText() 83 if (( ! packageData.isLeaf() ) && ( ! packageData.isAllChildrenHidden() )) { in setReadyToInstallInfoText() 85 if (( packageData.getSelectionState() == packageData.INSTALL ) || in setReadyToInstallInfoText() 86 ( packageData.getSelectionState() == packageData.INSTALL_SOME )) { in setReadyToInstallInfoText() 108 if (( packageData.isLeaf() ) || ( packageData.isAllChildrenHidden() )) { in setReadyToUninstallInfoText() 110 if ( packageData.getSelectionState() == packageData.REMOVE ) { in setReadyToUninstallInfoText() 117 if (( ! packageData.isLeaf() ) && ( ! packageData.isAllChildrenHidden() )) { in setReadyToUninstallInfoText() 119 if (( packageData.getSelectionState() == packageData.REMOVE ) || in setReadyToUninstallInfoText() [all …]
|
H A D | InstallChangeCtrl.java | 41 static private void setUpdatePackage(PackageDescription packageData, InstallData installData) { in setUpdatePackage() argument 42 if (( packageData.isUpdatePackage() == true )) { in setUpdatePackage() 43 installData.setUpdatePackage(packageData); in setUpdatePackage() 45 for (Enumeration e = packageData.children(); e.hasMoreElements(); ) { in setUpdatePackage() 68 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in checkInstallChange() local 71 setUpdatePackage(packageData, data); in checkInstallChange()
|
H A D | Calculator.java | 41 PackageDescription packageData = (PackageDescription)allPackages.get(i); in calculateInstallSize() local 42 int size = packageData.getSize(); in calculateInstallSize()
|
/aoo42x/main/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallerHelper/ |
H A D | LinuxHelper.java | 42 … if (( packageData.getPackageName() != null ) && ( ! packageData.getPackageName().equals(""))) { in getPackageNamesContent() 43 packageNames.add(packageData.getPackageName() + "=" + packageData.getFullPackageName()); in getPackageNamesContent() 56 if (( packageData.getPkgSubdir() != null ) && ( ! packageData.getPkgSubdir().equals("") )) { in getPackageNameFromRpm() 93 if (( packageData.getPkgSubdir() != null ) && ( ! packageData.getPkgSubdir().equals("") )) { in checkPackageExistence() 339 … if ((packageData.getPackageName() != null) && ( ! packageData.getPackageName().equals(""))) { in getLinuxPackageNamesFromRpmquery() 345 …if (( packageData.getFullPackageName() == null ) || ( packageData.getFullPackageName().equals(""))… in getLinuxPackageNamesFromRpmquery() 416 if ( packageData.pkgExists() ) { in getLinuxFileInfo() 417 …if (( packageData.getFullPackageName() != null ) && ( ! packageData.getFullPackageName().equals(""… in getLinuxFileInfo() 445 … if (( packageData.getPackageName() != null ) && ( ! packageData.getPackageName().equals(""))) { in setFullPackageNameAtUninstall() 446 …if (( packageData.getFullPackageName() == null ) || ( packageData.getFullPackageName().equals(""))… in setFullPackageNameAtUninstall() [all …]
|
/aoo42x/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/ |
H A D | LinuxInstaller.java | 49 public void preInstall(PackageDescription packageData) { in preInstall() argument 53 helper.getLinuxFileInfo(packageData); in preInstall() 57 public void postInstall(PackageDescription packageData) { in postInstall() argument 75 helper.getLinuxFileInfo(packageData); in preUninstall() 107 String packageName = packageData.getPkgRealName(); in getChangeInstallDir() 146 if (( packageData.getPkgSubdir() != null ) && ( ! packageData.getPkgSubdir().equals("") )) { in installPackage() 151 String packageName = packageData.getPackageName(); in installPackage() 184 if ( packageData.useForce() ) { in installPackage() 285 if ( packageData.installCanFail() ) { in installPackage() 299 packageData.setIsNewInstalled(true); in installPackage() [all …]
|
H A D | SolarisInstaller.java | 102 public void postInstall(PackageDescription packageData) { in postInstall() argument 121 String packageName = packageData.getPackageName(); in getChangeInstallDir() 152 if (( packageData.getPkgSubdir() != null ) && ( ! packageData.getPkgSubdir().equals("") )) { in installPackage() 157 String packageName = packageData.getPackageName(); in installPackage() 178 if ( packageData.isRelocatable() ) { in installPackage() 219 if ( packageData.installCanFail() ) { in installPackage() 253 String packageName = packageData.getPackageName(); in uninstallPackage() 257 if ( packageData.isRelocatable() ) { in uninstallPackage() 307 if ( packageData.uninstallCanFail() ) { in uninstallPackage() 444 String packageName = packageData.getPackageName(); in isPackageInstalled() [all …]
|
H A D | Installer.java | 34 public void preInstall(PackageDescription packageData) { in preInstall() argument 37 public void postInstall(PackageDescription packageData) { in postInstall() argument 40 public void preUninstall(PackageDescription packageData) { in preUninstall() argument 43 public void postUninstall(PackageDescription packageData) { in postUninstall() argument 58 public String getChangeInstallDir(PackageDescription packageData) { in getChangeInstallDir() argument 66 public abstract void installPackage(PackageDescription packageData); in installPackage() argument 68 public abstract void uninstallPackage(PackageDescription packageData); in uninstallPackage() argument 70 …public abstract boolean isPackageInstalled(PackageDescription packageData, InstallData installData… in isPackageInstalled() argument 72 …public abstract boolean isInstalledPackageOlder(PackageDescription packageData, InstallData instal… in isInstalledPackageOlder() argument 74 …public abstract boolean isInstallSetPackageOlder(PackageDescription packageData, InstallData insta… in isInstallSetPackageOlder() argument
|
/aoo42x/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ |
H A D | InstallationOngoingCtrl.java | 112 PackageDescription packageData = (PackageDescription) installPackages.get(i); in duringShow() 115 panel.setProgressText(packageData.getPackageName()); in duringShow() 119 if ( installer.isPackageInstalled(packageData, installData) ) { in duringShow() 120 if ( installer.isInstalledPackageOlder(packageData, installData) ) { in duringShow() 121 packageData.setIgnoreDependsForUninstall(true); in duringShow() 122 installer.uninstallPackage(packageData); in duringShow() 129 installer.installPackage(packageData); in duringShow() 130 installedPackages.add(packageData); in duringShow() 141 installer.uninstallPackage(packageData); in duringShow() 166 panel.setProgressText(packageData.getPackageName()); in duringShow() [all …]
|
H A D | ChooseComponentsCtrl.java | 87 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in beforeShow() local 88 ModuleCtrl.setModuleSize(packageData); in beforeShow() 104 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in afterShow() local 110 ModuleCtrl.checkVisibleModulesInstall(packageData, data); in afterShow() 123 ModuleCtrl.checkApplicationSelection(packageData, data); in afterShow() 138 ModuleCtrl.checkLanguageSelection(packageData, data); in afterShow() 149 …Dumper.logModuleStates(packageData, "ChooseComponentsCtrl: Before setHiddenModuleSettingsInstall"); in afterShow() 152 ModuleCtrl.setHiddenModuleSettingsInstall(packageData); in afterShow() 156 … Dumper.logModuleStates(packageData, "ChooseComponentsCtrl: After setHiddenModuleSettingsInstall"); in afterShow() 161 PackageCollector.collectInstallPackages(packageData, installPackages); in afterShow() [all …]
|
H A D | PrologueCtrl.java | 64 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in duringShow() 66 installer.preInstall(packageData); in duringShow() 75 Dumper.logModuleStates(packageData, "Prologue Dialog"); in duringShow() 79 ModuleCtrl.checkLanguagesPackages(packageData, installData); in duringShow() 86 ModuleCtrl.setLanguagesPackages(packageData); in duringShow() 90 … Dumper.logModuleStates(packageData, "Prologue Dialog Language Selection"); in duringShow() 95 ModuleCtrl.setHiddenLanguageModuleDefaultSettings(packageData); in duringShow() 98 … Dumper.logModuleStates(packageData, "after setHiddenLanguageModuleDefaultSettings"); in duringShow() 106 ModuleCtrl.setIgnoreNonRelocatablePackages(packageData); in duringShow() 110 … Dumper.logModuleStates(packageData, "after setIgnoreNonRelocatablePackages"); in duringShow()
|
H A D | ChooseInstallationTypeCtrl.java | 99 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in afterShow() local 108 ModuleCtrl.restoreTypicalSelectionStates(packageData); in afterShow() 112 …Dumper.logModuleStates(packageData, "ChooseInstallationType: Before setHiddenModuleSettingsInstall… in afterShow() 118 ModuleCtrl.setHiddenModuleSettingsInstall(packageData); in afterShow() 122 …Dumper.logModuleStates(packageData, "ChooseInstallationType: After setHiddenModuleSettingsInstall"… in afterShow() 127 PackageCollector.collectInstallPackages(packageData, installPackages); in afterShow() 141 ModuleCtrl.saveTypicalSelectionStates(packageData); in afterShow() 148 ModuleCtrl.restoreCustomSelectionStates(packageData); in afterShow()
|
H A D | ChooseUninstallationComponentsCtrl.java | 61 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in afterShow() local 66 …Dumper.logModuleStates(packageData, "Choose UninstallationComponents: Before checkVisibleModulesUn… in afterShow() 71 ModuleCtrl.checkVisibleModulesUninstall(packageData, data); in afterShow() 84 ModuleCtrl.checkMaskedCompleteUninstallation(packageData, data); in afterShow() 92 ModuleCtrl.checkApplicationModulesUninstall(packageData, data); in afterShow() 104 ModuleCtrl.checkLanguageModulesUninstall(packageData, data); in afterShow() 120 ModuleCtrl.saveCustomSelectionStates(packageData); in afterShow()
|
H A D | UninstallationPrologueCtrl.java | 156 … PackageDescription packageData = SetupDataProvider.getPackageDescription(); in duringShow() 158 installer.preUninstall(packageData); in duringShow() 162 ModuleCtrl.setDatabaseSettings(packageData, installData, installer); in duringShow() 164 ModuleCtrl.setDontUninstallFlags(packageData); in duringShow() 165 …nstallData.isRootInstallation() ) { ModuleCtrl.setDontUninstallUserInstallOnylFlags(packageData); } in duringShow() 166 ModuleCtrl.setParentDefaultModuleSettings(packageData); in duringShow()
|
H A D | UninstallationOngoingCtrl.java | 71 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in beforeShow() local 72 PackageCollector.collectUninstallPackages(packageData, uninstallPackages); in beforeShow() 97 PackageDescription packageData = (PackageDescription) uninstallPackages.get(i); in duringShow() 100 panel.setProgressText(packageData.getPackageName()); in duringShow() 102 installer.uninstallPackage(packageData); in duringShow()
|
H A D | UninstallationImminentCtrl.java | 73 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in beforeShow() local 77 htmlInfoText = InfoCtrl.setReadyToInstallInfoText(packageData, htmlInfoText); in beforeShow() 97 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in afterShow() local 98 ModuleCtrl.setHiddenModuleSettingsUninstall(packageData); in afterShow()
|
H A D | ChooseUninstallationTypeCtrl.java | 81 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in afterShow() local 89 ModuleCtrl.restoreTypicalSelectionStates(packageData); in afterShow() 97 ModuleCtrl.saveTypicalSelectionStates(packageData); in afterShow() 103 ModuleCtrl.restoreCustomSelectionStates(packageData); in afterShow()
|
H A D | InstallationCompletedCtrl.java | 82 … PackageDescription packageData = SetupDataProvider.getPackageDescription(); in duringShow() 84 installer.postInstall(packageData); in duringShow()
|
H A D | InstallationImminentCtrl.java | 104 PackageDescription packageData = SetupDataProvider.getPackageDescription(); in beforeShow() local 108 htmlInfoText = InfoCtrl.setReadyToInstallInfoText(packageData, htmlInfoText); in beforeShow()
|
/aoo42x/main/javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/ |
H A D | SetupDataProvider.java | 39 static private PackageDescription packageData; field in SetupDataProvider 46 return packageData; in getPackageDescription() 102 packageData = new PackageDescription(rawData);
|
H A D | PackageDescription.java | 392 private String getLocalizedValue(XMLPackageDescription packageData, String section, Locale l) { in getLocalizedValue() argument 399 XMLPackageDescription subPackage = packageData.getElement(section, "lang", localeString); in getLocalizedValue() 401 subPackage = packageData.getElement(section, "lang", languageString); in getLocalizedValue() 403 subPackage = packageData.getElement(section, "lang", "en_US"); in getLocalizedValue()
|