Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/test/import5/nav/NavigationButton1.java')
-rw-r--r--plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/test/import5/nav/NavigationButton1.java156
1 files changed, 78 insertions, 78 deletions
diff --git a/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/test/import5/nav/NavigationButton1.java b/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/test/import5/nav/NavigationButton1.java
index 2053f3f69b7..4ceb2e4cba5 100644
--- a/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/test/import5/nav/NavigationButton1.java
+++ b/plugins/org.eclipse.osee.coverage.test/src/org/eclipse/osee/coverage/test/import5/nav/NavigationButton1.java
@@ -1,78 +1,78 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * 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:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.coverage.test.import5.nav;
-
-import java.util.logging.Level;
-import org.eclipse.osee.coverage.internal.Activator;
-import org.eclipse.osee.framework.logging.OseeLog;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * @author Donald G. Dunne
- */
-public class NavigationButton1 extends Button {
-
- public Image image;
-
- /**
- * @param parent
- * @param style
- */
- public NavigationButton1(Composite parent, int style, Image image) {
- super(parent, style);
- }
-
- @Override
- public String getText() {
- try {
- if (getStyle() == 4) { // 1, 1, TestUnit2
- return "Navigate Here"; // 1, 2, TestUnit2
- } else {
- return "Navigate There"; // 1, 3, TestUnit2
- }
- } catch (Exception ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex); // 1, 4, n
- }
- return "Navigate";
- }
-
- @Override
- public void setImage(Image image) {
- this.image = image; // 2, 1, TestUnit2
- super.getImage(); // 2, 2, y
- super.checkWidget(); // 2, 3, n
- }
-
- @Override
- public void setText(String string) {
- super.setText(string); // 3, 1, n
- }
-
- @Override
- public Image getImage() {
- try {
- if (getStyle() == 4) { // 4, 1, TestUnit2
- return this.image; // 4, 2, n
- } else {
- return super.getImage(); // 4, 3, TestUnit2
- }
- } catch (IllegalArgumentException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex); // 4, 4, n
-
- } catch (Exception ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex); // 4, 5, n
- }
- return null; // 4, 6, n
- }
-
-}
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * 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:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.coverage.test.import5.nav;
+
+import java.util.logging.Level;
+import org.eclipse.osee.coverage.internal.Activator;
+import org.eclipse.osee.framework.logging.OseeLog;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class NavigationButton1 extends Button {
+
+ public Image image;
+
+ /**
+ * @param parent
+ * @param style
+ */
+ public NavigationButton1(Composite parent, int style, Image image) {
+ super(parent, style);
+ }
+
+ @Override
+ public String getText() {
+ try {
+ if (getStyle() == 4) { // 1, 1, TestUnit2
+ return "Navigate Here"; // 1, 2, TestUnit2
+ } else {
+ return "Navigate There"; // 1, 3, TestUnit2
+ }
+ } catch (Exception ex) {
+ OseeLog.log(Activator.class, Level.SEVERE, ex); // 1, 4, n
+ }
+ return "Navigate";
+ }
+
+ @Override
+ public void setImage(Image image) {
+ this.image = image; // 2, 1, TestUnit2
+ super.getImage(); // 2, 2, y
+ super.checkWidget(); // 2, 3, n
+ }
+
+ @Override
+ public void setText(String string) {
+ super.setText(string); // 3, 1, n
+ }
+
+ @Override
+ public Image getImage() {
+ try {
+ if (getStyle() == 4) { // 4, 1, TestUnit2
+ return this.image; // 4, 2, n
+ } else {
+ return super.getImage(); // 4, 3, TestUnit2
+ }
+ } catch (IllegalArgumentException ex) {
+ OseeLog.log(Activator.class, Level.SEVERE, ex); // 4, 4, n
+
+ } catch (Exception ex) {
+ OseeLog.log(Activator.class, Level.SEVERE, ex); // 4, 5, n
+ }
+ return null; // 4, 6, n
+ }
+
+}

Back to the top