diff options
author | kkomissarchik | 2006-07-05 22:54:16 +0000 |
---|---|---|
committer | kkomissarchik | 2006-07-05 22:54:16 +0000 |
commit | 360f98096976b00b9585f81cbec2588210f9df7c (patch) | |
tree | aec4a2b06616b833899b3e01454f8328c30a0466 | |
parent | 3877376e2958f8404b467c4fa5453ef3806cac9b (diff) | |
download | webtools.common.fproj-360f98096976b00b9585f81cbec2588210f9df7c.tar.gz webtools.common.fproj-360f98096976b00b9585f81cbec2588210f9df7c.tar.xz webtools.common.fproj-360f98096976b00b9585f81cbec2588210f9df7c.zip |
149335 | Facet: When creating a web project w/o server target a de...
2 files changed, 3 insertions, 8 deletions
diff --git a/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/FacetsSelectionPanel.java b/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/FacetsSelectionPanel.java index 9af4ae6..f4bf6b9 100644 --- a/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/FacetsSelectionPanel.java +++ b/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/FacetsSelectionPanel.java @@ -856,7 +856,6 @@ public final class FacetsSelectionPanel this.filters.add( this.conflictingFilter ); refresh(); - refreshVersionsDropDown(); updateValidationDisplay(); } @@ -865,7 +864,6 @@ public final class FacetsSelectionPanel this.filters.add( filter ); refresh(); - refreshVersionsDropDown(); } public void removeFilter( final IFilter filter ) @@ -873,7 +871,6 @@ public final class FacetsSelectionPanel this.filters.remove( filter ); refresh(); - refreshVersionsDropDown(); } public boolean setFocus() @@ -1191,6 +1188,7 @@ public final class FacetsSelectionPanel this.tree.refresh(); this.tree.setCheckedElements( checked ); refreshPresetsCombo(); + refreshVersionsDropDown(); } public void syncWithPresetsModel( final Combo combo ) diff --git a/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/RuntimesPanel.java b/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/RuntimesPanel.java index eb5ed7c..97c75f9 100644 --- a/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/RuntimesPanel.java +++ b/plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/RuntimesPanel.java @@ -392,7 +392,7 @@ public final class RuntimesPanel private void handleRuntimeSelectionChanged() { final IRuntime r = getSelection(); - + if( r == null ) { if( this.runtimeComponents.getInput() != null ) @@ -411,10 +411,7 @@ public final class RuntimesPanel this.runtimeComponents.getTable().setEnabled( true ); this.runtimeComponents.setInput( r ); } - } - - if( r != null ) - { + if( this.runtimes.getChecked( r ) && this.model.getPrimaryRuntime() != null && ! this.model.getPrimaryRuntime().equals( r ) && |