Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] RE: udig-devel Digest, Vol 49, Issue 65

I'm still getting to grips with activities so I'm not entirely sure. One thing that I'm suspecting about them is that, once something has been made visible to the user in a workspace, then it stays visible. It all seems a bit esoteric at the moment! Anyway, try starting from a fresh workspace. If you're running from Eclipse you can just check the "Clear - workspace" bit in the Run dialog.

Frederic Renard wrote:
Dave, I tried your solution. Activities seems to be the good way. I read Eclipse documentation, but I can't do want I want.
 Here is a copy of my plugin.xml

   <extension
         point="org.eclipse.ui.activities">
      <activity
            description="SUPPRESS UDIG LAYER, PROJECT,... VIEWS"
            id="com.sodiplan.tltic.bw3.test.activity"
            name="testactivity">
      </activity>
      <activityPatternBinding
            activityId="com.sodiplan.tltic.bw3.test.activity"
            pattern="net\.refractions\.udig\..*/.*">
      </activityPatternBinding>
   </extension>

This regex suppress views , like 'Layer', 'Project'. But I can't hide menu or tools menus . I have tried a lot of regex, but without success. Any idea ?
Thanks,
Frederick.


Back to the top