Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/org.eclipse.linuxtools.rpm.ui.editor/src/org/eclipse/linuxtools/internal/rpm/ui/editor/wizards/NoExecutableWizardPage.java')
-rw-r--r--rpm/org.eclipse.linuxtools.rpm.ui.editor/src/org/eclipse/linuxtools/internal/rpm/ui/editor/wizards/NoExecutableWizardPage.java68
1 files changed, 33 insertions, 35 deletions
diff --git a/rpm/org.eclipse.linuxtools.rpm.ui.editor/src/org/eclipse/linuxtools/internal/rpm/ui/editor/wizards/NoExecutableWizardPage.java b/rpm/org.eclipse.linuxtools.rpm.ui.editor/src/org/eclipse/linuxtools/internal/rpm/ui/editor/wizards/NoExecutableWizardPage.java
index 1b050355fd..bc0685c8d5 100644
--- a/rpm/org.eclipse.linuxtools.rpm.ui.editor/src/org/eclipse/linuxtools/internal/rpm/ui/editor/wizards/NoExecutableWizardPage.java
+++ b/rpm/org.eclipse.linuxtools.rpm.ui.editor/src/org/eclipse/linuxtools/internal/rpm/ui/editor/wizards/NoExecutableWizardPage.java
@@ -1,9 +1,11 @@
/*******************************************************************************
- * Copyright (c) 2009-2013 Red Hat, Inc.
- * 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
+ * Copyright (c) 2009, 2018 Red Hat, Inc.
+ *
+ * This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License 2.0
+ * which is available at https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat - initial API and implementation
@@ -21,35 +23,31 @@ import org.eclipse.swt.widgets.Label;
public class NoExecutableWizardPage extends WizardPage {
- protected NoExecutableWizardPage() {
- super(Messages.NoExecutableWizardPage_0);
- this.setImageDescriptor(ImageDescriptor.createFromFile(getClass(),
- "/icons/rpm.gif")); //$NON-NLS-1$
- }
-
- @Override
- public void createControl(Composite parent) {
- final Composite container = new Composite(parent, SWT.NULL);
- GridLayout layout = new GridLayout();
- container.setLayout(layout);
- layout.numColumns = 3;
- layout.verticalSpacing = 9;
-
- // Project
- Label label = new Label(container, SWT.NULL);
- label
- .setText(Messages.NoExecutableWizardPage_1);
- // empty label for the last row.
- new Label(container, SWT.NULL);
- setControl(container);
- this.setTitle(Messages.NoExecutableWizardPage_2);
- }
-
- @Override
- public boolean isPageComplete() {
- return false;
- }
-
-
+ protected NoExecutableWizardPage() {
+ super(Messages.NoExecutableWizardPage_0);
+ this.setImageDescriptor(ImageDescriptor.createFromFile(getClass(), "/icons/rpm.gif")); //$NON-NLS-1$
+ }
+
+ @Override
+ public void createControl(Composite parent) {
+ final Composite container = new Composite(parent, SWT.NULL);
+ GridLayout layout = new GridLayout();
+ container.setLayout(layout);
+ layout.numColumns = 3;
+ layout.verticalSpacing = 9;
+
+ // Project
+ Label label = new Label(container, SWT.NULL);
+ label.setText(Messages.NoExecutableWizardPage_1);
+ // empty label for the last row.
+ new Label(container, SWT.NULL);
+ setControl(container);
+ this.setTitle(Messages.NoExecutableWizardPage_2);
+ }
+
+ @Override
+ public boolean isPageComplete() {
+ return false;
+ }
}

Back to the top