[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Hi all and a merry christmas to you.
Let's see if someone is online today :)
I have some handlers that do an instanceof check. I found that this
doesn't work at my side, do I need another addOn or something to make
this work ?
The addOns I currently have configured are as follows
I guess this should be working straightforward ...
<addons xmi:id="_XGB3wPZlEd-XstlTZ6nTXg"
elementId="org.eclipse.e4.core.commands.service"
contributionURI="platform:/plugin/org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
  <addons xmi:id="_XGB3wPZlEd-XstlTZ6nTXh"
elementId="org.eclipse.e4.ui.contexts.service"
contributionURI="platform:/plugin/org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
  <addons xmi:id="_XGB3wPZlEd-XstlTZ6nTXi"
elementId="org.eclipse.e4.ui.bindings.service"
contributionURI="platform:/plugin/org.eclipse.e4.ui.bindings/org.eclipse.e4.ui.bindings.BindingServiceAddon"/>
  <addons xmi:id="_LK0NgPZmEd-XstlTZ6nTXj"
elementId="org.eclipse.e4.ui.workbench.commands.model"
contributionURI="platform:/plugin/org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
  <addons xmi:id="_LK0NgPZmEd-XstlTZ6nTXk"
elementId="org.eclipse.e4.ui.workbench.contexts.model"
contributionURI="platform:/plugin/org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
  <addons xmi:id="_LK0NgPZmEd-XstlTZ6nTXl"
elementId="org.eclipse.e4.ui.workbench.bindings.model"
contributionURI="platform:/plugin/org.eclipse.e4.ui.workbench.swt/org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon"/>
<extension
      point="org.eclipse.ui.handlers">
       <handler
          class="de.eiswind.mango.client.workflow.handlers.StartWorkflowHandler"
          commandId="de.eiswind.mango.client.workflow.command.start">
       <enabledWhen>
          <with
                variable="selection">
             <or>
             <and>
                <iterate>
                   <instanceof
                         value="de.eiswind.paris.domain.BookIndex">
                   </instanceof>
                </iterate>
                <count
                      value="1">
                </count>
             </and>
             <and>
                <iterate>
                   <instanceof
                         value="de.eiswind.domain.helper.BookLucene">
                   </instanceof>
                </iterate>
                <count
                      value="1">
                </count>
             </and>
             </or>
          </with>
       </enabledWhen>
    </handler>
   </extension>
-- 
http://www.eiswind.de