How do I suppress eclipse warning: Referenced identifier 'VIEWNAME:secondaryid' in attribute 'id' ca

Posted by Jeremy on Stack Overflow See other posts from Stack Overflow or by Jeremy
Published on 2010-06-15T16:00:33Z Indexed on 2010/06/15 16:02 UTC
Read the original article Hit count: 609

Filed under:
|
|

In eclipse 3.4, here is the section of my plugin.xml:

<extension point="org.eclipse.ui.views">
  <view
    allowMultiple="true"
    class="the.full.class.name"
    icon="images/icon.gif"
    id="VIEWNAME"
    name="View Name">
  </view>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
  <perspectiveExtension targetID="com.p21csi.fps.sim.rcp.perspective.SimPerspective">
     <view
        closeable="false"
        id="VIEWNAME:secondaryid"
        minimized="false"
        moveable="false"
        ratio=".75"
        relationship="left"
        relative="org.eclipse.ui.editorss"
        showTitle="true"
        standalone="true"
        visible="true">
      </view>
    </perspectiveExtension>
  </extension>

The application works fine, I just can't get rid of that annoying warning!

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse