Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkkomissarchik2006-07-05 22:54:16 +0000
committerkkomissarchik2006-07-05 22:54:16 +0000
commit360f98096976b00b9585f81cbec2588210f9df7c (patch)
treeaec4a2b06616b833899b3e01454f8328c30a0466
parent3877376e2958f8404b467c4fa5453ef3806cac9b (diff)
downloadwebtools.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...
-rw-r--r--plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/FacetsSelectionPanel.java4
-rw-r--r--plugins/org.eclipse.wst.common.project.facet.ui/src/org/eclipse/wst/common/project/facet/ui/internal/RuntimesPanel.java7
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 ) &&

Back to the top