java - 如何抑制 Eclipse 警告 : Referenced identifier 'VIEWNAME:secondaryid' in attribute 'id' cannot be found

标签 java eclipse eclipse-pde

在 eclipse 3.4 中,这是我的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="MY_PERSPECTIVE_ID">
     <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>

应用程序工作正常,我只是无法摆脱那个烦人的警告!

最佳答案

关于java - 如何抑制 Eclipse 警告 : Referenced identifier 'VIEWNAME:secondaryid' in attribute 'id' cannot be found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3046871/

相关文章:

java - Android BLE 无法正确连接到设备

java - Android 中不显示联系人照片?

jface - 使用 ILightweightLabelDecorator 装饰器

java - JUnitCore 在 Eclipse 插件中给出 "No runnable methods"错误

java - ILightweightLabelDecorator 的 'decorate' 方法从未被调用

java - Scala 符号到 java 枚举

java - 程序运行时卡住

java - 使大括号自动从新行开始

java - android如何区分智能手机或平板电脑

java - 使用参数作为接口(interface)项