Author: rob.stryker(a)jboss.com
Date: 2008-08-22 16:14:53 -0400 (Fri, 22 Aug 2008)
New Revision: 9872
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesCommonView.java
Log:
JBIDE-2665 - reacting to each other, added view's selection action to not re-set the
input if the project has not changed.
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesCommonView.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesCommonView.java 2008-08-22
19:59:25 UTC (rev 9871)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/views/ProjectArchivesCommonView.java 2008-08-22
20:14:53 UTC (rev 9872)
@@ -68,7 +68,7 @@
Object element = ((IStructuredSelection)selection).getFirstElement();
IProject project = getProject(element);
- if( project != null ) {
+ if( project != null && project != currentProject ) {
currentProject = project;
if( showProjectRoot())
getCommonViewer().setInput(ResourcesPlugin.getWorkspace().getRoot());
Show replies by date