<!ELEMENT extension (perspective*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT perspective (description?)>
<!ATTLIST perspective
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED
icon CDATA #IMPLIED
fixed (true | false) >
<!ELEMENT description (#PCDATA)>
パースペクティブの簡略説明テキストを本文に含むサブエレメント (オプション)。
<extension point=
"org.eclipse.ui.perspectives"
>
<perspective id=
"org.eclipse.ui.resourcePerspective"
name=
"Resource"
class=
"org.eclipse.ui.internal.ResourcePerspective"
icon=
"icons/MyIcon.gif"
>
</perspective>
</extension>
デフォルト・パースペクティブの定義には plugin_customization.ini ファイルが使用されます。 デフォルト・パースペクティブ とは、インストール後に製品を起動した際に表示される最初のパースペクティブです。 これは、ユーザーがパースペクティブを指定せずにページまたはウィンドウを開くときにも使用されます。 デフォルトのパースペクティブは、次のように plugin_customization.ini 内のプロパティーとして定義されます。 また、ワークベンチのパースペクティブ設定ページから、このパースペクティブを変更することもできます。
defaultPerspectiveId = org.eclipse.ui.resourcePerspective「パースペクティブを開く」メニューに表示されるパースペクティブは、パースペクティブを選択するためのショートカットです。 このセットは、アクティブなパースペクティブ、および perspectiveExtensions 拡張ポイントを使用した拡張機能によって定義されます。
Copyright (c) 2002, 2004 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html