diff options
author | Lars Vogel | 2014-04-01 06:07:27 +0000 |
---|---|---|
committer | Lars Vogel | 2014-04-01 06:08:46 +0000 |
commit | 1af4594046d44891166c96a53f2a700de4d50c8e (patch) | |
tree | 13c6534171a3d689278584ea43c896546cfdd6f4 /org.eclipse.help.ui | |
parent | 48e9029cd0eac7eb3425afe891d29981ee6b76fb (diff) | |
download | eclipse.platform.ua-1af4594046d44891166c96a53f2a700de4d50c8e.tar.gz eclipse.platform.ua-1af4594046d44891166c96a53f2a700de4d50c8e.tar.xz eclipse.platform.ua-1af4594046d44891166c96a53f2a700de4d50c8e.zip |
Bug 431683 - Remove deprecated getOKButton() and getCancelButton() in
ICDialog
Change-Id: I1234ed9786698f7bd3bd782dde3bf9151600b56a
Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com>
Diffstat (limited to 'org.eclipse.help.ui')
-rw-r--r-- | org.eclipse.help.ui/src/org/eclipse/help/ui/internal/preferences/ICDialog.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/preferences/ICDialog.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/preferences/ICDialog.java index 825c9e227..7198cfcba 100644 --- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/preferences/ICDialog.java +++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/preferences/ICDialog.java @@ -1,12 +1,13 @@ /*******************************************************************************
- * Copyright (c) 2011 IBM Corporation and others.
+ * Copyright (c) 2011, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
+ * Lars Vogel <Lars.Vogel@gmail.com> - Bug 431683
*******************************************************************************/
package org.eclipse.help.ui.internal.preferences;
@@ -232,12 +233,10 @@ public class ICDialog extends StatusDialog implements IShellProvider, Listener, updateStatus(status);
-
- this.getOKButton().setEnabled(areFieldsValid());
- this.getCancelButton().setEnabled(true);
-
+ this.getButton(IDialogConstants.OK_ID).setEnabled(areFieldsValid());
+ this.getButton(IDialogConstants.CANCEL_ID).setEnabled(true);
}
-
+
public IC getIC()
{
return ic;
|