diff options
author | Roberto E. Escobar | 2012-05-22 23:47:57 +0000 |
---|---|---|
committer | kwilk | 2012-05-22 23:47:57 +0000 |
commit | 9073834de116c3969fb5edf403a9caee4353659f (patch) | |
tree | 18d90ab3e35a38726bd3c92041cdb3cfe65820b7 /plugins/org.eclipse.osee.ats.api/src/org | |
parent | 551eb1c4ce0620216698fd813b0ba85cf0af9a00 (diff) | |
download | org.eclipse.osee-9073834de116c3969fb5edf403a9caee4353659f.tar.gz org.eclipse.osee-9073834de116c3969fb5edf403a9caee4353659f.tar.xz org.eclipse.osee-9073834de116c3969fb5edf403a9caee4353659f.zip |
feature[ats_6WJ0U]: Split ats.api into ats.ui.api bundle
Diffstat (limited to 'plugins/org.eclipse.osee.ats.api/src/org')
9 files changed, 11 insertions, 160 deletions
diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/components/AtsSearchHeaderComponent.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/components/AtsSearchHeaderComponent.java deleted file mode 100644 index 5d3cb9c7307..00000000000 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/components/AtsSearchHeaderComponent.java +++ /dev/null @@ -1,30 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 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.api.components; - -import org.eclipse.osee.ats.api.data.AtsSearchParameters; -import org.eclipse.osee.display.api.components.SearchHeaderComponent; -import org.eclipse.osee.display.api.data.ViewId; - -/** - * @author John Misinco - */ -public interface AtsSearchHeaderComponent extends SearchHeaderComponent { - - void addProgram(ViewId program); - - void clearBuilds(); - - void addBuild(ViewId build); - - void setSearchCriteria(AtsSearchParameters params); - -} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsArtifactToken.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactToken.java index f5a328ca790..92f7ee3aa3d 100644 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsArtifactToken.java +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactToken.java @@ -8,7 +8,7 @@ * Contributors: * Boeing - initial API and implementation *******************************************************************************/ -package org.eclipse.osee.ats.api.tokens; +package org.eclipse.osee.ats.api.data; import org.eclipse.osee.framework.core.data.IArtifactToken; import org.eclipse.osee.framework.core.data.TokenFactory; diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsArtifactTypes.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactTypes.java index 1ab8b1bc3d1..0c5b9e9c5ca 100644 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsArtifactTypes.java +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactTypes.java @@ -8,7 +8,7 @@ * Contributors: * Boeing - initial API and implementation *******************************************************************************/ -package org.eclipse.osee.ats.api.tokens; +package org.eclipse.osee.ats.api.data; import org.eclipse.osee.framework.core.data.IArtifactType; import org.eclipse.osee.framework.core.data.TokenFactory; diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsAttributeTypes.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsAttributeTypes.java index 9799bf6d583..e41ba1ca0f8 100644 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsAttributeTypes.java +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsAttributeTypes.java @@ -8,7 +8,7 @@ * Contributors: * Boeing - initial API and implementation *******************************************************************************/ -package org.eclipse.osee.ats.api.tokens; +package org.eclipse.osee.ats.api.data; import java.util.HashMap; import java.util.Map; @@ -31,18 +31,18 @@ public final class AtsAttributeTypes { public static final IAttributeType AllowCommitBranch = createType(0x10000000000000BAL, "Allow Commit Branch"); public static final IAttributeType AllowCreateBranch = createType(0x10000000000000B9L, "Allow Create Branch"); public static final IAttributeType BaselineBranchGuid = createType(0x10000000000000A9L, "Baseline Branch Guid", "Basline branch associated with ATS object."); - + public static final IAttributeType Category1 = createType(0x10000000000000ECL, "Category", "Open field for user to be able to enter text to use for categorizing/sorting."); public static final IAttributeType Category2 = createType(0x10000000000000F1L, "Category2", Category1.getDescription()); public static final IAttributeType Category3 = createType(0x10000000000000F2L, "Category3", Category1.getDescription()); public static final IAttributeType ChangeType = createType(0x10000000000000CCL, "Change Type", "Type of change."); - + public static final IAttributeType CancelledDate = createType(0x10000000000000C1L, "Cancelled Date", "Date the workflow was cancelled."); public static final IAttributeType CancelledBy = createType(0x10000000000000C2L, "Cancelled By", "UserId of the user who cancelled workflow."); public static final IAttributeType CancelledReason = createType(0x10000000000000C3L, "Cancelled Reason", "Explanation of why worklfow was cancelled."); public static final IAttributeType CancelledFromState = createType(0x10000000000000C4L, "Cancelled From State", "State workflow was in when cancelled."); - + public static final IAttributeType CreatedDate = createType(0x10000000000000C5L, "Created Date", "Date the workflow was created."); public static final IAttributeType CreatedBy = createType(0x10000000000000C6L, "Created By", "UserId of the user who created the workflow."); @@ -68,7 +68,7 @@ public final class AtsAttributeTypes { public static final IAttributeType LocChanged= createType(0x10000000000000E7L, "LOC Changed", "Total Lines of Code Changed"); public static final IAttributeType LocReviewed = createType(0x10000000000000E8L, "LOC Reviewed", "Total Lines of Code Reviewed"); public static final IAttributeType Log = createType(0x10000000000000E2L, "Log"); - + public static final IAttributeType MeetingLocation = createType(0x10000000000000F8L, "Meeting Location", "Location meeting is held."); public static final IAttributeType MeetingAttendee = createType(0x10000000000000F9L, "Meeting Attendee", "Attendee of meeting."); public static final IAttributeType MeetingLength = createType(0x10000000000000D4L, "Meeting Length", "Length of meeting."); @@ -85,7 +85,7 @@ public final class AtsAttributeTypes { public static final IAttributeType PagesReviewed = createType(0x10000000000000EAL, "Pages Reviewed", "Total Pages Reviewed"); public static final IAttributeType PercentRework = createType(0x10000000000000D5L, "Percent Rework"); public static final IAttributeType PercentComplete = createType(0x10000000000000CFL, "Percent Complete"); - + public static final IAttributeType Points = createType(0x10000000000000CAL, "Points", "Abstract value that describes risk, complexity, and size of Actions."); public static final IAttributeType PriorityType = createType(0x10000000000000CBL, "Priority", "1 = High; 5 = Low"); public static final IAttributeType Problem = createType(0x10000000000000D9L, "Problem", "Problem found during analysis."); @@ -115,8 +115,8 @@ public final class AtsAttributeTypes { public static final IAttributeType WorkflowDefinition = createType(0x10000000000000ADL, "Workflow Definition", "Specific work flow definition id used by this Workflow artifact"); public static final IAttributeType RelatedTaskWorkDefinition = createType(0x10000000000000B0L, "Related Task Workflow Definition", "Specific work flow definition id used by Tasks related to this Workflow"); public static final IAttributeType WorkPackage = createType(0x10000000000000E6L, "Work Package", "Designated accounting work package for completing workflow."); - - + + // @formatter:on private static IAttributeType createType(Long guid, String name) { diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsRelationTypes.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsRelationTypes.java index 92ec4cde191..594e9e96022 100644 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/tokens/AtsRelationTypes.java +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsRelationTypes.java @@ -8,7 +8,7 @@ * Contributors: * Boeing - initial API and implementation *******************************************************************************/ -package org.eclipse.osee.ats.api.tokens; +package org.eclipse.osee.ats.api.data; import org.eclipse.osee.framework.core.data.IRelationTypeSide; import org.eclipse.osee.framework.core.data.TokenFactory; diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsSearchParameters.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsSearchParameters.java deleted file mode 100644 index 9534344f28c..00000000000 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsSearchParameters.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 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.api.data; - -import org.eclipse.osee.display.api.data.ViewId; -import org.eclipse.osee.display.api.data.ViewSearchParameters; -import org.eclipse.osee.framework.jdk.core.util.Strings; - -/** - * @author John Misinco - */ -public class AtsSearchParameters extends ViewSearchParameters { - - private final ViewId build, program; - - public AtsSearchParameters(String searchString, Boolean nameOnly, ViewId build, ViewId program) { - super(searchString, nameOnly); - this.build = build; - this.program = program; - } - - public ViewId getBuild() { - return build; - } - - public ViewId getProgram() { - return program; - } - - public boolean isValid() { - return (build != null && program != null && Strings.isValid(getSearchString())); - } - -} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsArtifactProvider.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsArtifactProvider.java deleted file mode 100644 index 3e2d0231656..00000000000 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsArtifactProvider.java +++ /dev/null @@ -1,28 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 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.api.search; - -import java.util.Collection; -import org.eclipse.osee.display.api.search.ArtifactProvider; -import org.eclipse.osee.framework.core.exception.OseeCoreException; -import org.eclipse.osee.orcs.data.ReadableArtifact; - -/** - * @author John Misinco - */ -public interface AtsArtifactProvider extends ArtifactProvider { - - Collection<ReadableArtifact> getPrograms() throws OseeCoreException; - - Collection<ReadableArtifact> getBuilds(String programGuid) throws OseeCoreException; - - String getBaselineBranchGuid(String buildArtGuid) throws OseeCoreException; -} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsPresenterFactory.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsPresenterFactory.java deleted file mode 100644 index b43bcf127e8..00000000000 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsPresenterFactory.java +++ /dev/null @@ -1,24 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 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.api.search; - -import org.eclipse.osee.ats.api.components.AtsSearchHeaderComponent; -import org.eclipse.osee.ats.api.data.AtsSearchParameters; -import org.eclipse.osee.orcs.ApplicationContext; - -/** - * @author John Misinco - */ -public interface AtsPresenterFactory<T extends AtsSearchHeaderComponent, K extends AtsSearchParameters> { - - AtsSearchPresenter<T, K> createInstance(ApplicationContext context); - -} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsSearchPresenter.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsSearchPresenter.java deleted file mode 100644 index 61bf4b0adec..00000000000 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/search/AtsSearchPresenter.java +++ /dev/null @@ -1,25 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 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.api.search; - -import org.eclipse.osee.ats.api.components.AtsSearchHeaderComponent; -import org.eclipse.osee.ats.api.data.AtsSearchParameters; -import org.eclipse.osee.display.api.data.ViewId; -import org.eclipse.osee.display.api.search.SearchPresenter; - -/* - * @author John Misinco - */ -public interface AtsSearchPresenter<T extends AtsSearchHeaderComponent, K extends AtsSearchParameters> extends SearchPresenter<T, K> { - - void selectProgram(ViewId program, T headerComponent); - -} |