commit | da77ec93ff289943f56e17565e7baeac0e4c1758 | [log] [tgz] |
---|---|---|
author | ple <ple> | Tue Sep 16 19:31:53 2008 +0000 |
committer | ple <ple> | Tue Sep 16 19:31:53 2008 +0000 |
tree | 3f34b31d19679393e9c835faaab72e2e7196387a | |
parent | 0ebcad7a643cdd26451d0e41e28ed1e698dda183 [diff] |
[huangqf] CC_Sort Type: Sorded method contents should be saved only click OK button in Order dialog
diff --git a/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/forms/AssociationFormPage.java b/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/forms/AssociationFormPage.java index 5e3e56c..de326d4 100644 --- a/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/forms/AssociationFormPage.java +++ b/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/forms/AssociationFormPage.java
@@ -974,7 +974,7 @@ String oldSortType = (String)((IStructuredSelection)viewer_sort1 .getSelection()).getFirstElement(); - if(!oldSortType.endsWith(newSortType)){ + if(!oldSortType.equals(newSortType)){ MethodElementProperty prop = CategorySortHelper .getCategorySortProperty(contentElement); @@ -995,6 +995,7 @@ .getMethodElementProperty_Value(), oldSortType, -1); } + viewer_selected.refresh(); } } }