diff options
Diffstat (limited to 'plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorInput.java')
-rw-r--r-- | plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorInput.java | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorInput.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorInput.java index dea5f5a85dd..03be3138182 100644 --- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorInput.java +++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorInput.java @@ -1,48 +1,48 @@ -/*******************************************************************************
- * 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.ats.editor;
-
-import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.framework.ui.skynet.artifact.editor.BaseArtifactEditorInput;
-
-/**
- * @author Donald G. Dunne
- */
-public class SMAEditorInput extends BaseArtifactEditorInput {
-
- private final boolean pend;
-
- public SMAEditorInput(Artifact artifact) {
- this(artifact, false);
- }
-
- public SMAEditorInput(Artifact artifact, boolean pend) {
- super(artifact);
- this.pend = pend;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (obj instanceof SMAEditorInput) {
- return getArtifact() == ((SMAEditorInput) obj).getArtifact();
- }
- return false;
- }
-
- @Override
- public int hashCode() {
- return getArtifact().hashCode();
- }
-
- public boolean isPend() {
- return pend;
- }
-}
+/******************************************************************************* + * 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.ats.editor; + +import org.eclipse.osee.framework.skynet.core.artifact.Artifact; +import org.eclipse.osee.framework.ui.skynet.artifact.editor.BaseArtifactEditorInput; + +/** + * @author Donald G. Dunne + */ +public class SMAEditorInput extends BaseArtifactEditorInput { + + private final boolean pend; + + public SMAEditorInput(Artifact artifact) { + this(artifact, false); + } + + public SMAEditorInput(Artifact artifact, boolean pend) { + super(artifact); + this.pend = pend; + } + + @Override + public boolean equals(Object obj) { + if (obj instanceof SMAEditorInput) { + return getArtifact() == ((SMAEditorInput) obj).getArtifact(); + } + return false; + } + + @Override + public int hashCode() { + return getArtifact().hashCode(); + } + + public boolean isPend() { + return pend; + } +} |