SHARE
TWEET

Untitled

a guest Jan 18th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <extension
  2.           id="navigator-viewbinding"
  3.           point="org.eclipse.ui.navigator.viewer">
  4.        <viewerContentBinding
  5.              viewerId="org.eclipse.ui.navigator.ProjectExplorer">
  6.           <includes>
  7.              <contentExtension
  8.                    pattern="<plugin_name>.myResourceContent">
  9.              </contentExtension>            
  10.           </includes>
  11.        </viewerContentBinding>      
  12.     </extension>
  13.    
  14. <extension
  15.          id="navigator-content"
  16.          point="org.eclipse.ui.navigator.navigatorContent">
  17.       <navigatorContent
  18.             activeByDefault="true"
  19.             contentProvider="MyNavigatorContentProvider"
  20.             icon="icon.gif"
  21.             id="myResourceContent"
  22.             labelProvider="MyNavigatorLabelProvider"
  23.             name="Some Name"
  24.             priority="normal">
  25.          <triggerPoints>
  26.             <or>
  27.                <and>
  28.                   <instanceof
  29.                         value="org.eclipse.core.resources.IFile">
  30.                   </instanceof>
  31.                   <test
  32.                         property="org.eclipse.core.resources.extension"
  33.                         value="mpe">
  34.                   </test>
  35.                </and>
  36.             </or>
  37.          </triggerPoints>
  38.          <possibleChildren>
  39.             <or>
  40.                <instanceof
  41.                      value="<Class name of possible children>">
  42.                </instanceof>
  43.             </or>
  44.          </possibleChildren>      
  45.    </extension>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top