Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2010-08-17 21:38:11 +0000
committerddunne2010-08-17 21:38:11 +0000
commit936732565549a47ecce2ad42e0de286aeabf85a6 (patch)
tree70c276a5afec734dda6d16c9c57b81983464bbb2 /plugins/org.eclipse.osee.ats/src
parente101ae4c914cbd6ac6c0ee8982727aa46b4f7356 (diff)
downloadorg.eclipse.osee-936732565549a47ecce2ad42e0de286aeabf85a6.tar.gz
org.eclipse.osee-936732565549a47ecce2ad42e0de286aeabf85a6.tar.xz
org.eclipse.osee-936732565549a47ecce2ad42e0de286aeabf85a6.zip
Shrink goal order and vote column widths
Diffstat (limited to 'plugins/org.eclipse.osee.ats/src')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java3
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java52
2 files changed, 27 insertions, 28 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java
index 10ef4fa53b2..abcc064a50c 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/goal/GoalXViewerFactory.java
@@ -38,7 +38,8 @@ public class GoalXViewerFactory extends SkynetXViewerFactory {
WorldXViewerFactory.State_Col, WorldXViewerFactory.Priority_Col, WorldXViewerFactory.Change_Type_Col,
WorldXViewerFactory.Assignees_Col, new XViewerHridColumn(true), WorldXViewerFactory.Created_Date_Col,
WorldXViewerFactory.Version_Target_Col, WorldXViewerFactory.Notes_Col);
- public static Integer[] widths = new Integer[] {75, 75, 250, 60, 60, 20, 20, 100, 50, 50, 50, 80};
+ public static Integer[] widths = new Integer[] {WorldXViewerFactory.Goal_Order.getWidth(),
+ WorldXViewerFactory.Goal_Order_Vote_Col.getWidth(), 250, 60, 60, 20, 20, 100, 50, 50, 50, 80};
public GoalXViewerFactory(GoalArtifact soleGoalArtifact) {
super("org.eclipse.osee.ats.GoalXViewer");
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java
index 5a8077d6b3c..2e869095cdb 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/WorldXViewerFactory.java
@@ -44,16 +44,16 @@ public class WorldXViewerFactory extends SkynetXViewerFactory {
SortDataType.String, false, null);
public static final XViewerColumn State_Col = new XViewerColumn("ats.column.state", "State", 75, SWT.LEFT, true,
SortDataType.String, false, null);
- public static final XViewerColumn Priority_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.PriorityType,
- 20, SWT.CENTER, true, SortDataType.String, false);
- public static final XViewerColumn Change_Type_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.ChangeType,
- 22, SWT.CENTER, true, SortDataType.String, false);
+ public static final XViewerColumn Priority_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.PriorityType, 20,
+ SWT.CENTER, true, SortDataType.String, false);
+ public static final XViewerColumn Change_Type_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.ChangeType, 22,
+ SWT.CENTER, true, SortDataType.String, false);
public static final XViewerColumn Assignees_Col = new XViewerAtsAttributeColumn(ATSAttributes.ASSIGNEE_ATTRIBUTE,
100, SWT.LEFT, true, SortDataType.String, false);
public static final XViewerColumn Title_Col = new XViewerArtifactNameColumn("Title");
public static final XViewerColumn Actionable_Items_Col = new XViewerAtsAttributeColumn(
- COLUMN_NAMESPACE + ".actionableItems", AtsAttributeTypes.ActionableItem, 80, SWT.LEFT, true,
- SortDataType.String, false);
+ COLUMN_NAMESPACE + ".actionableItems", AtsAttributeTypes.ActionableItem, 80, SWT.LEFT, true, SortDataType.String,
+ false);
public static final XViewerColumn User_Community_Col = new XViewerAtsAttributeColumn(
AtsAttributeTypes.UserCommunity, 60, SWT.LEFT, true, SortDataType.String, false);
public static final XViewerColumn Parent_ID_Col = new XViewerColumn(COLUMN_NAMESPACE + ".parenthrid", "Parent HRID",
@@ -66,8 +66,8 @@ public class WorldXViewerFactory extends SkynetXViewerFactory {
"Date this workflow transitioned to the Completed state.");
public static final XViewerColumn Team_Col = new XViewerColumn(COLUMN_NAMESPACE + ".team", "Team", 50, SWT.LEFT,
true, SortDataType.String, false, "Team that has been assigned to work this Action.");
- public static final XViewerColumn Notes_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.SmaNote, 80,
- SWT.LEFT, true, SortDataType.String, true);
+ public static final XViewerColumn Notes_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.SmaNote, 80, SWT.LEFT,
+ true, SortDataType.String, true);
public static final XViewerColumn Deadline_Col = new XViewerAtsAttributeColumn(COLUMN_NAMESPACE + ".deadline",
AtsAttributeTypes.NeedBy, 75, SWT.LEFT, true, SortDataType.Date, true);
@@ -88,8 +88,8 @@ public class WorldXViewerFactory extends SkynetXViewerFactory {
AtsAttributeTypes.LegacyPcrId, 40, SWT.LEFT, false, SortDataType.String, false);
public static final XViewerColumn Decision_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Decision, 150,
SWT.LEFT, false, SortDataType.String, false);
- public static final XViewerColumn Resolution_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Resolution,
- 150, SWT.LEFT, false, SortDataType.String, true);
+ public static final XViewerColumn Resolution_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Resolution, 150,
+ SWT.LEFT, false, SortDataType.String, true);
public static XViewerColumn Estimated_Hours_Col = new XViewerAtsAttributeColumn(
COLUMN_NAMESPACE + ".estimatedHours", AtsAttributeTypes.EstimatedHours, 40, SWT.CENTER, false,
SortDataType.Float, true);
@@ -97,36 +97,34 @@ public class WorldXViewerFactory extends SkynetXViewerFactory {
COLUMN_NAMESPACE + ".estimatedReleaseDate", AtsAttributeTypes.EstimatedReleaseDate, 80, SWT.LEFT, false,
SortDataType.Date, true);
public static XViewerColumn Estimated_Completion_Date_Col = new XViewerAtsAttributeColumn(
- COLUMN_NAMESPACE + ".estimatedCompletionDate", AtsAttributeTypes.EstimatedCompletionDate, 80, SWT.LEFT,
- false, SortDataType.Date, true);
+ COLUMN_NAMESPACE + ".estimatedCompletionDate", AtsAttributeTypes.EstimatedCompletionDate, 80, SWT.LEFT, false,
+ SortDataType.Date, true);
public static final XViewerColumn Release_Date_Col = new XViewerAtsAttributeColumn(
- COLUMN_NAMESPACE + ".releaseDate", AtsAttributeTypes.ReleaseDate, 80, SWT.LEFT, false, SortDataType.Date,
- false);
+ COLUMN_NAMESPACE + ".releaseDate", AtsAttributeTypes.ReleaseDate, 80, SWT.LEFT, false, SortDataType.Date, false);
public static final XViewerColumn Work_Package_Col = new XViewerAtsAttributeColumn(
- COLUMN_NAMESPACE + ".workPackage", AtsAttributeTypes.WorkPackage, 80, SWT.LEFT, false, SortDataType.String,
- true);
- public static final XViewerColumn Points_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Points, 40,
- SWT.LEFT, false, SortDataType.Integer, true);
+ COLUMN_NAMESPACE + ".workPackage", AtsAttributeTypes.WorkPackage, 80, SWT.LEFT, false, SortDataType.String, true);
+ public static final XViewerColumn Points_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Points, 40, SWT.LEFT,
+ false, SortDataType.Integer, true);
public static final XViewerColumn Numeric1_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Numeric1, 40,
SWT.LEFT, false, SortDataType.Float, true);
public static final XViewerColumn Numeric2_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Numeric2, 40,
SWT.LEFT, false, SortDataType.Float, true);
- public static final XViewerColumn Goal_Order = new XViewerColumn(COLUMN_NAMESPACE + ".goalOrder", "Goal Order", 40,
+ public static final XViewerColumn Goal_Order = new XViewerColumn(COLUMN_NAMESPACE + ".goalOrder", "Goal Order", 45,
SWT.LEFT, false, SortDataType.Integer, true,
"Order of item within displayed goal. Editing this field changes order.");
public static final XViewerColumn Goal_Order_Vote_Col = new XViewerAtsAttributeColumn(
- COLUMN_NAMESPACE + ".goalOrderVote", AtsAttributeTypes.GoalOrderVote, 80, SWT.LEFT, false,
- SortDataType.String, true);
+ COLUMN_NAMESPACE + ".goalOrderVote", AtsAttributeTypes.GoalOrderVote, 40, SWT.LEFT, false, SortDataType.String,
+ true);
public static final XViewerColumn Category_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Category1, 80,
SWT.LEFT, false, SortDataType.String, true);
- public static final XViewerColumn Category2_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Category2,
- 80, SWT.LEFT, false, SortDataType.String, true);
- public static final XViewerColumn Category3_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Category3,
- 80, SWT.LEFT, false, SortDataType.String, true);
+ public static final XViewerColumn Category2_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Category2, 80,
+ SWT.LEFT, false, SortDataType.String, true);
+ public static final XViewerColumn Category3_Col = new XViewerAtsAttributeColumn(AtsAttributeTypes.Category3, 80,
+ SWT.LEFT, false, SortDataType.String, true);
public static XViewerAtsAttributeColumn Related_To_State_Col = new XViewerAtsAttributeColumn(
- COLUMN_NAMESPACE + ".relatedToState", AtsAttributeTypes.RelatedToState, 80, SWT.LEFT, false,
- SortDataType.String, true);
+ COLUMN_NAMESPACE + ".relatedToState", AtsAttributeTypes.RelatedToState, 80, SWT.LEFT, false, SortDataType.String,
+ true);
public static final XViewerColumn Weekly_Benefit_Hrs_Col = new XViewerAtsAttributeColumn(
COLUMN_NAMESPACE + ".weeklyBenefitHrs", AtsAttributeTypes.WeeklyBenefit, 40, SWT.CENTER, false,
SortDataType.Float, true);

Back to the top