diff options
author | Susan Franklin | 2008-04-01 19:28:08 +0000 |
---|---|---|
committer | Susan Franklin | 2008-04-01 19:28:08 +0000 |
commit | 36fb198e3b2fb2d7e896dc1b9b097d21a53ebf0d (patch) | |
tree | 80041c463ea1896c7920e83cac740d86e8acc75f | |
parent | 4e1157a4bafbe6779164229604e4944a8e4709c4 (diff) | |
download | rt.equinox.p2-36fb198e3b2fb2d7e896dc1b9b097d21a53ebf0d.tar.gz rt.equinox.p2-36fb198e3b2fb2d7e896dc1b9b097d21a53ebf0d.tar.xz rt.equinox.p2-36fb198e3b2fb2d7e896dc1b9b097d21a53ebf0d.zip |
remove unused methods
2 files changed, 0 insertions, 27 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProfileModificationWizardPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProfileModificationWizardPage.java index 22788be57..75eb29474 100644 --- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProfileModificationWizardPage.java +++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProfileModificationWizardPage.java @@ -25,7 +25,6 @@ import org.eclipse.equinox.internal.provisional.p2.engine.ProvisioningContext; import org.eclipse.equinox.internal.provisional.p2.metadata.IInstallableUnit; import org.eclipse.equinox.internal.provisional.p2.ui.ProvUI; import org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner; -import org.eclipse.equinox.internal.provisional.p2.ui.model.IUElement; import org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation; import org.eclipse.equinox.internal.provisional.p2.ui.viewers.*; import org.eclipse.jface.dialogs.Dialog; @@ -193,10 +192,6 @@ public abstract class ProfileModificationWizardPage extends WizardPage { return ProvUI.getIUColumnConfig(); } - protected long getSize(IInstallableUnit iu, IProgressMonitor monitor) { - return IUElement.SIZE_UNKNOWN; - } - protected void checkedIUsChanged() { try { final Object[] selections = getCheckedElements(); diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AddRepositoryDialog.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AddRepositoryDialog.java index 2b34b9f59..882efc7c4 100644 --- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AddRepositoryDialog.java +++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AddRepositoryDialog.java @@ -212,28 +212,6 @@ public abstract class AddRepositoryDialog extends StatusDialog { } - /** - * The repository manager has failed in validating a URL. - * Perform any additional handling of the URL and return a status - * indicating whether the repository URL is still invalid. Subclasses - * may override when there is additional work, such as repository - * generation, repository authentication, or repository repair that may - * be appropriate for a given URL. - * - * @param userURL the URL describing the invalid repository - * @param status the status returned by the repository manager. - * - * @return a status indicating the current status of the repository. - * Callers may return the original status. A status with severity - * <code>OK</code> indicates that the caller can proceed with adding - * the repository. A status with severity <code>CANCEL</code> indicates - * that the dialog should be canceled. Any other severity should be - * reported to the user and indicates an invalid URL. - */ - protected IStatus handleInvalidRepositoryURL(URL userURL, IStatus status) { - return status; - } - protected void updateButtonsEnableState(IStatus status) { setOkEnablement(!status.matches(IStatus.ERROR)); } |