Eclipse Activity Not Working

后端 未结 1 1166
一向
一向 2021-01-15 07:51

I am trying to hide elements in the UI by means of activities like this



   

        
相关标签:
1条回答
  • 2021-01-15 08:29

    The pattern value for activityPatternBinding takes the format:

    contributing plug-in id / local id
    

    so you have to work out which plug-in contributes the menu item. Looking at the Eclipse Papyrus download the plug-in appears to be org.eclipse.papyrus.infra.discovery.ui.menu so the pattern is probably:

      pattern="org.eclipse.papyrus.infra.discovery.ui.menu/org.eclipse.papyrus.infra.discovery.ui.menu.toolbars.discoveryCommand">
    

    (assuming isEqualityPattern="true", all the . characters need escaping for the regular expression version)

    0 讨论(0)
提交回复
热议问题