Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshawn.f.cook2011-11-01 20:00:25 +0000
committerRoberto E. Escobar2011-11-01 20:00:25 +0000
commitaee78e3b11869af0285919ae0e5dbefc6908d47b (patch)
treea43d253c4cea770e9fe07cc64664be632c5b756e
parent01fcb91720f4f8134067f7d1d0cc5f33f6feb83f (diff)
downloadorg.eclipse.osee-aee78e3b11869af0285919ae0e5dbefc6908d47b.tar.gz
org.eclipse.osee-aee78e3b11869af0285919ae0e5dbefc6908d47b.tar.xz
org.eclipse.osee-aee78e3b11869af0285919ae0e5dbefc6908d47b.zip
feature[ats_18K4T]: RelationComp no longer disables empty lists
-rw-r--r--plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeRelationsComponent.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeRelationsComponent.java b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeRelationsComponent.java
index 4d4b8dbfb13..9bbbc8f04a7 100644
--- a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeRelationsComponent.java
+++ b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/components/OseeRelationsComponent.java
@@ -98,7 +98,7 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
if (!lockRelsListener) {
try {
ViewArtifact artifact = (ViewArtifact) leftSelect.getValue();
- handleValue(artifact);
+ selectArtifact(artifact);
} catch (Exception e) {
ComponentUtility.logError(
"OseeRelationsComponent.createLayout - CRITICAL ERROR: (WebArtifact) relationsListSelect.getValue() threw an exception.",
@@ -114,7 +114,7 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
if (!lockRelsListener) {
try {
ViewArtifact artifact = (ViewArtifact) rightSelect.getValue();
- handleValue(artifact);
+ selectArtifact(artifact);
} catch (Exception e) {
ComponentUtility.logError(
"OseeRelationsComponent.createLayout - CRITICAL ERROR: (WebArtifact) relationsListSelect.getValue() threw an exception.",
@@ -170,7 +170,7 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
setExpandRatio(listBoxesLayout, 1.0f);
}
- private void handleValue(ViewArtifact artifact) {
+ private void selectArtifact(ViewArtifact artifact) {
if (artifact != null) {
String url = ComponentUtility.getUrl(OseeRelationsComponent.this);
SearchPresenter<?, ?> presenter = ComponentUtility.getPresenter(OseeRelationsComponent.this);
@@ -194,7 +194,6 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
@Override
public void addRelationType(ViewId id) {
if (id == null) {
- relTypesSelect.setEnabled(false);
relTypesSelect.removeAllItems();
relTypesSelect.setWidth(LISTBOX_MINWIDTH, UNITS_PIXELS);
} else {
@@ -230,7 +229,6 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
@Override
public void addLeftRelated(ViewArtifact id) {
if (id == null) {
- leftSelect.setEnabled(false);
leftSelect.removeAllItems();
leftSelect.setWidth(LISTBOX_MINWIDTH, UNITS_PIXELS);
} else {
@@ -247,7 +245,6 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
@Override
public void addRightRelated(ViewArtifact id) {
if (id == null) {
- rightSelect.setEnabled(false);
rightSelect.removeAllItems();
rightSelect.setWidth(LISTBOX_MINWIDTH, UNITS_PIXELS);
} else {
@@ -264,10 +261,8 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
@Override
public void setLeftName(String name) {
if (name == null) {
- leftSelect.setEnabled(false);
leftTitle.setValue("");
} else {
- leftSelect.setEnabled(true);
leftTitle.setValue(name);
}
}
@@ -275,10 +270,8 @@ public class OseeRelationsComponent extends VerticalLayout implements RelationCo
@Override
public void setRightName(String name) {
if (name == null) {
- rightSelect.setEnabled(false);
rightTitle.setValue("");
} else {
- rightSelect.setEnabled(true);
rightTitle.setValue(name);
}
}

Back to the top

_5_maintenanceR3_5_maintenance - Next contributionJayaprakash Arthanareeswaran12 years R3_6_1_forfoundationupdate location of ecf bundlesKim Moir13 years R3_6_1_maintenanceuse R3_6_1_maintenance_patches branchKim Moir13 years R3_6_1_maintenance_patches*** empty log message ***DJ Houghton13 years R3_6_api_cleanupTag for build against merged HEAD.Curtis Windatt14 years R3_6_maintenanceBackported fix for bug 251776: [Content Type] Need a better wayDani Megert12 years R3_6_maintenance_Java7Removed releng because it was moved to a separate repositoryMarkus Keller12 years R3_6_maintenance_patchesBackported fix for bug 111525: [Import/Export] Import file system doesn't in...Dani Megert13 years R3_7_maintenanceFixed bug 251776: [Content Type] Need a better way to arbitrate contentDani Megert12 years R3_8_maintenanceBug 403963 - Update Platform Releng/common parent versionPaul Webster11 years R4_10_maintenanceBug 542450: Broken links in Eclipse whatsNew documentLakshmi Shanmugam5 years R4_11_maintenanceJetty upgradeEclipse Releng Bot3 years R4_12_maintenanceForce Javadoc re-generation for 4.12 RC2Manoj Palat5 years R4_13_maintenanceBug 550498 - N&N for 4.13Lakshmi Shanmugam5 years R4_14_maintenanceBug 553342 - N&N for 4.14Lakshmi Shanmugam4 years R4_15_maintenanceJetty updateEclipse Releng Bot3 years R4_16_maintenanceBug 563904 - Force Javadoc re-generation for 4.16 RC2Mat Booth4 years R4_17_maintenanceBug 566580 - Force Javadoc re-generation for 4.17 RC2Eclipse Releng Bot4 years R4_18_maintenanceTouch documentation bundles for javadoc regenerationEclipse Releng Bot3 years R4_19_maintenanceBug 572510 - Create Working Set not a linkkitlo3 years R4_1_maintenanceIncreased bundle version to fix wrong tagDani Megert12 years R4_20_maintenanceTouch documentation bundles for javadoc regeneration for 4.20RC2aEclipse Releng Bot3 years R4_21_maintenanceTouch documentation bundles for javadoc regenerationEclipse Releng Bot3 years R4_22_maintenanceTouch documentation bundles for javadoc regenerationEclipse Releng Bot2 years R4_23_maintenanceTouch documentation bundles for javadoc regenerationEclipse Releng Bot2 years R4_2_maintenancebug 435328 - update buildDoc.xml for jdt.doc.isv bundleSteve Francisco10 years R4_3_maintenanceFixed bug 427076: Touch documentation plug-ins to regenerate examples, Javado...Dani Megert10 years R4_4_maintenanceFixed bug 458954: Touch ISV doc to force Javadoc regeneration for 4.4.2Dani Megert9 years R4_5_maintenanceIncreased bundle versions for ISV bundles (trigger doc generation)Dani Megert8 years R4_6_maintenanceForce Javadoc re-generation for Neon.3 RC3Markus Keller7 years R4_7_maintenanceJetty upgradeEclipse Releng Bot3 years R4_8_maintenanceJetty upgradeEclipse Releng Bot3 years R4_9_maintenanceBug 538766 - Platform porting guide for 4.9 is missing in the helpKalyan Prasad Tatavarthi6 years RC1_32_branch135107 [Help] Allow users to use .html/.htm file extension for XHTML contentCurtis D'Entremont18 years SSQ_build'new version v3554a'Felipe Heidrich15 years accessibility_work_R3_6This commit was manufactured by cvs2svn to create branchcvs2svn14 years branch34M6aThis commit was manufactured by cvs2svn to create branch 'branch34M6a'.cvs2svn16 years branch_I20101102-0800This commit was manufactured by cvs2svn to create branchcvs2svn13 years bug305747Bug 305747 - 3.4 legacy org.eclipse.equinox.p2.metadata.generator.EclipseGene...DJ Houghton14 years fri_I20080422-0800update sat4j to stable and non-deleted urlKim Moir16 years generic_variable_supportBug 36930 - Support variables in launch configurationsjburns21 years git_testsync with headKim Moir13 years git_test_37xBug 349460 - Git Migration: need proof that we can build 3.7.1 against GitKim Moir13 years icu481testTesting 3.7 build with com.ibm.icu_4.5.1.v20100830.jarPaul Webster14 years masterMigration to GithubSravan Kumar Lakkimsetti2 years p2integration*** empty log message ***Pascal Rapicault16 years perf_213*** empty log message ***Jerome Lanneluc19 years perf_30*** empty log message ***Sonia Dimitrov19 years perf_301*** empty log message ***Sonia Dimitrov19 years perf_31x*** empty log message ***Darin Wright18 years perf_32xBug 229782 - Performance tests for ICU Collatorkhorne15 years perf_33xBug 229782 - Performance tests for ICU Collatorkhorne15 years perf_34x Bug 285680 No perfs results for perf_34x baseline since 06/12Kim Moir15 years perf_35xContribution for perf_35 - Fix for 322325Satyam Kandula13 years perf_36xBackport patch for bug 343242: CodeCompletionPerformanceTest#testApplicationW...Deepak Azad13 years perf_37xdisable p2.discovery tests for perf 3.8 runKim Moir12 years pre_restructureThis commit was manufactured by cvs2svn to create branch 'pre_restructure'.cvs2svn21 years pwebster/R3_8_maintenanceBump pom versions.Thanh Ha12 years pwebster/R4_2_maintenanceBump pom versionsThanh Ha12 years pwebster/bug390982Bug 390982 - Build documentation in CBI buildThanh Ha11 years refs/remotes/origin/R3_7_maintenanceBug 364980 - org.eclipse.platform.doc.user ships different binarykmoir12 years releng_testBug 183958 Source lost due to Orbit migrationKim Moir17 years unlabeled-1.246.2.5.2perf_31 - Initial branch content based on v_570 (aka R3_1)Jerome Lanneluc19 years v20090820_e4mergerevert for test build for SzymonKim Moir14 years v33M4_patches*** empty log message ***Grant Gayed17 years v33M5aReverting M5a fixBoris Bokowski17 years