[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Handler stays disabled

I have a command handler defined as
 <handler
       class="de.eiswind.mango.client.search.handlers.RemoveEntityHandler"
         commandId="de.eiswind.mango.client.search.command.remove">
       <activeWhen>
       <with
               variable="activePartId">
            <equals
                  value="de.eiswind.mango.client.search.ui.Search">
            </equals>
         </with>

      </activeWhen>
      <enabledWhen>
 		<with variable="selection">
  			<count value="+" />
  		</with>
  	</enabledWhen>

It "belongs" to a view and should be active for the view.
But when another part (i.e. an editor) gets activated and i click back to the view (selection may change or not) sometimes it doent get activated.


Did I miss something there :) ?

Regards
Thomas