Author: dazarov
Date: 2008-12-30 09:22:25 -0500 (Tue, 30 Dec 2008)
New Revision: 12850
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/handlers/FindSeamHandler.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2509
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/handlers/FindSeamHandler.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/handlers/FindSeamHandler.java 2008-12-30
14:12:03 UTC (rev 12849)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/handlers/FindSeamHandler.java 2008-12-30
14:22:25 UTC (rev 12850)
@@ -59,6 +59,10 @@
abstract public class FindSeamHandler extends AbstractHandler implements
ISelectionListener{
+ public FindSeamHandler(){
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService().addSelectionListener(this);
+ }
+
/**
* @Override
*/