在 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>
该应用程序运行良好,我就是无法摆脱那个烦人的警告!