configtool/com.nokia.S60CT.gui/plugin.xml
changeset 0 30eb2d538f02
equal deleted inserted replaced
-1:000000000000 0:30eb2d538f02
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <?eclipse version="3.2"?>
       
     3 <plugin>
       
     4    <extension-point id="com.nokia.S60CT.impl.gui" name="com.nokia.S60CT.impl" schema="schema/com.nokia.S60CT.impl.browser.exsd"/>
       
     5 
       
     6    <extension
       
     7          id="application"
       
     8          point="org.eclipse.core.runtime.applications">
       
     9       <application>
       
    10          <run
       
    11                class="com.nokia.s60ct.gui.Application">
       
    12          </run>
       
    13       </application>
       
    14    </extension>
       
    15    <extension
       
    16          point="org.eclipse.ui.perspectives">
       
    17       <perspective
       
    18             name="Variant Creation"
       
    19             class="com.nokia.s60ct.gui.percpectives.Perspective"
       
    20             id="variant.creation.perspectie.id">
       
    21       </perspective>
       
    22    </extension>
       
    23    <extension
       
    24          point="org.eclipse.ui.views">
       
    25       <view
       
    26             class="com.nokia.s60ct.gui.views.FeatureView"
       
    27             icon="icons/Feature.gif"
       
    28             id="com.nokia.S60CT.gui.view1"
       
    29             name="Features"/>
       
    30       <view
       
    31             class="com.nokia.s60ct.gui.views.SettingEditorView"
       
    32             icon="icons/Setting.gif"
       
    33             id="com.nokia.S60CT.gui.SettingEditor"
       
    34             name="%_UI_Setting_Editor_name">
       
    35       </view>
       
    36    </extension>
       
    37    <extension
       
    38          point="org.eclipse.ui.editors">
       
    39       <editor
       
    40             class="com.nokia.s60ct.gui.editors.ViewEditor"
       
    41             default="false"
       
    42             icon="icons/view16.gif"
       
    43             id="com_nokia_s60ct_view_editor"
       
    44             name="View Editor"/>
       
    45       <editor
       
    46             class="com.nokia.s60ct.gui.editors.ConfigurationBrowser"
       
    47             default="true"
       
    48             extensions="confml"
       
    49             icon="icons/Configuration.gif"
       
    50             id="Configuration.Browser"
       
    51             name="%_UI_Configuration_Browser_name">
       
    52       </editor>
       
    53    </extension>
       
    54    <extension
       
    55          point="org.eclipse.ui.actionSets">
       
    56       <actionSet
       
    57             id="Configuration"
       
    58             label="File"
       
    59             visible="true">
       
    60          <action
       
    61                class="com.nokia.s60ct.gui.actions.NewConfigurationAction"
       
    62                definitionId="File"
       
    63                icon="icons/New_enabled.gif"
       
    64                id="S60CT_action_set_new_configuration_wizard"
       
    65                label="%_UI_Menu_Configuration"
       
    66                menubarPath="CustomFile/New/slot0"
       
    67                state="true"
       
    68                style="push"
       
    69                toolbarPath="MainToolBar/new.group"
       
    70                tooltip="New Configuration"/>
       
    71          <action
       
    72                class="com.nokia.s60ct.gui.actions.OpenConfiguration"
       
    73                icon="icons/Open_enabled.gif"
       
    74                id="com_nokia_S60CT_action_set_files_open_configuration"
       
    75                label="%_UI_Menu_Configuration"
       
    76                menubarPath="CustomFile/Open/slot0"
       
    77                style="push"
       
    78                toolbarPath="MainToolBar/open.ext"
       
    79                tooltip="Open Configuration"/>
       
    80          
       
    81       </actionSet>
       
    82       <actionSet
       
    83             id="com_nokia_S60CT_action_set_generate"
       
    84             label="GenerateAll"
       
    85             visible="true">
       
    86          <action
       
    87                class="com.nokia.s60ct.gui.actions.GenerateAll"
       
    88                definitionId="generate.all"
       
    89                disabledIcon="icons/Generate_disabled.gif"
       
    90                icon="icons/Generate_enabled.gif"
       
    91                id="com.nokia.S60CT.generate.menuAction"
       
    92                label="Generate All..."
       
    93                menubarPath="Tools/Generate"
       
    94                pulldown="true"
       
    95                state="true"
       
    96                style="pulldown"
       
    97                toolbarPath="MainToolBar/Tools">
       
    98          </action>
       
    99       </actionSet>
       
   100       <actionSet
       
   101             id="com.nokia.S60CT.gui.test"
       
   102             label="label">
       
   103          <action
       
   104                id="com.nokia.S60CT.gui.action1"
       
   105                label="label">
       
   106          </action>
       
   107       </actionSet>
       
   108       <actionSet
       
   109             id="com.nokia.S60CT.gui.ConfigurationTool.general"
       
   110             label="%_UI_ConfigurationEMFEditorAdvisor_ActionSet_label"
       
   111             visible="true">
       
   112          <action
       
   113                class="com.nokia.s60ct.gui.ApplicationActionBarAdvisor$AboutAction"
       
   114                id="com.nokia.S60CT.gui.ConfigurationTool.about"
       
   115                label="%_UI_Menu_About_label"
       
   116                menubarPath="help/additions">
       
   117          </action>
       
   118       </actionSet>
       
   119    </extension>
       
   120    <extension
       
   121          point="org.eclipse.ui.popupMenus">
       
   122       <objectContribution
       
   123             id="EObject.DefaultValue.popup"
       
   124             objectClass="org.eclipse.emf.ecore.EObject">
       
   125          <action
       
   126                class="com.nokia.s60ct.gui.actions.DefaultToValue"
       
   127                definitionId="use.default.value"
       
   128                icon="icons/UseDefaultValues.gif"
       
   129                id="com.nokia.S60CT.gui.menuactions.usedefaultvalue"
       
   130                label="Use Default Value"
       
   131                menubarPath="edit">
       
   132          </action>
       
   133          <visibility>
       
   134             <or>
       
   135                <objectClass
       
   136                      name="configurationemf.ParentSetting">
       
   137                </objectClass>
       
   138                <objectClass
       
   139                      name="configurationemf.LeafSettingDelegator">
       
   140                </objectClass>
       
   141             </or>
       
   142          </visibility>
       
   143       </objectContribution>
       
   144       <objectContribution
       
   145             id="EObject.Rename.popup"
       
   146             objectClass="org.eclipse.emf.ecore.EObject">
       
   147             <action
       
   148                class="actions.RenameAction"
       
   149                definitionId="org.eclipse.ui.edit.rename"
       
   150                id="rename.eobject"
       
   151                label="Rename"
       
   152                menubarPath="edit">
       
   153          </action>
       
   154       </objectContribution>
       
   155       <objectContribution
       
   156             id="LeafSettingDelegator.popup"
       
   157             objectClass="configurationemf.LeafSettingDelegator">
       
   158          <action
       
   159                class="com.nokia.s60ct.gui.actions.DeleteLeafSettingDelegator"
       
   160                definitionId="org.eclipse.ui.edit.delete"
       
   161                icon="icons/Delete_enabled.gif"
       
   162                id="com.nokia.S60CT.gui.delete.leafsettingdelegator"
       
   163                label="Delete"
       
   164                menubarPath="edit">
       
   165          </action>
       
   166       </objectContribution>
       
   167       <objectContribution
       
   168             id="EObject.Delete.popup"
       
   169             objectClass="org.eclipse.emf.ecore.EObject">
       
   170          <action
       
   171                class="actions.DeleteAction"
       
   172                definitionId="org.eclipse.ui.edit.delete"
       
   173                icon="icons/Delete_enabled.gif"
       
   174                id="delete.eobject"
       
   175                label="Delete"
       
   176                menubarPath="edit">
       
   177          </action>
       
   178          <visibility>
       
   179             <and>
       
   180                <not>
       
   181                   <objectClass
       
   182                         name="configurationemf.LeafSettingDelegator">
       
   183                   </objectClass>
       
   184                </not>
       
   185                <not>
       
   186                   <objectClass
       
   187                         name="configurationemf.Frame">
       
   188                   </objectClass>
       
   189                </not>
       
   190                <not>
       
   191                   <objectClass
       
   192                         name="configurationemf.Configuration">
       
   193                   </objectClass>
       
   194                </not>
       
   195             </and>
       
   196          </visibility>
       
   197       </objectContribution>
       
   198       <objectContribution
       
   199             id="Configuration.popup"
       
   200             objectClass="configurationemf.Configuration">
       
   201          <action
       
   202                class="com.nokia.s60ct.gui.actions.DeleteConfigurationAction"
       
   203                definitionId="org.eclipse.ui.edit.delete"
       
   204                icon="icons/Delete_enabled.gif"
       
   205                id="com.nokia.S60CT.gui.delete.configuration"
       
   206                label="Delete"
       
   207                menubarPath="edit">
       
   208          </action>
       
   209       </objectContribution>
       
   210       <objectContribution
       
   211             id="Feature.popup"
       
   212             objectClass="configurationemf.Feature">
       
   213          <action
       
   214                class="com.nokia.s60ct.gui.actions.AddFeatureSettingAction"
       
   215                icon="icons/Setting.gif"
       
   216                id="feature.new.setting"
       
   217                label="Setting"
       
   218                menubarPath="new/additions">
       
   219          </action>
       
   220       </objectContribution>
       
   221       <objectContribution
       
   222             id="Configuration.popup"
       
   223             objectClass="configurationemf.Configuration">
       
   224          <action
       
   225                class="com.nokia.s60ct.gui.actions.AddConfigurationFeatureAction"
       
   226                icon="icons/Feature.gif"
       
   227                id="configuration.new.feature"
       
   228                label="Feature"
       
   229                menubarPath="new/additions">
       
   230          </action>
       
   231          <action
       
   232                class="com.nokia.s60ct.gui.actions.AddConfigurationViewAction"
       
   233                icon="icons/view16.gif"
       
   234                id="cofiguration.new.view"
       
   235                label="View"
       
   236                menubarPath="new/additions">
       
   237          </action>
       
   238       </objectContribution>
       
   239       <objectContribution
       
   240             id="RootConf.popup"
       
   241             objectClass="configurationemf.RootConf">
       
   242          <action
       
   243                class="com.nokia.s60ct.gui.actions.AddConfigurationSubConfAction"
       
   244                icon="icons/Configuration.gif"
       
   245                id="configuration.new.subconf"
       
   246                label="Sub-configuration"
       
   247                menubarPath="new/additions">
       
   248          </action>
       
   249          <action
       
   250                class="com.nokia.s60ct.gui.actions.AddBasedOnAction"
       
   251                enablesFor="1"
       
   252                icon="icons/Configuration.gif"
       
   253                id="configuration.new.basedon"
       
   254                label="Based-on Configuration"
       
   255                menubarPath="new/additions">
       
   256          </action>
       
   257          <menu
       
   258                id="vd"
       
   259                label="VariantData"
       
   260                path="additions">
       
   261             <separator
       
   262                   name="slot0">
       
   263             </separator>
       
   264          </menu>
       
   265          <action
       
   266                class="com.nokia.s60ct.gui.actions.ImportVatiantDataAction"
       
   267                id="import.chain.vd.action"
       
   268                label="Chain Import..."
       
   269                menubarPath="vd/slot0">
       
   270          </action>
       
   271          <action
       
   272                class="com.nokia.s60ct.gui.actions.ImportVatiantDataAction"
       
   273                id="import.single.vd.action"
       
   274                label="Single Import..."
       
   275                menubarPath="vd/slot0">
       
   276          </action>
       
   277       </objectContribution>
       
   278       <objectContribution
       
   279             id="View.popup"
       
   280             objectClass="configurationemf.View">
       
   281          <action
       
   282                class="com.nokia.s60ct.gui.actions.AddViewGroupAction"
       
   283                id="view.new.group"
       
   284                label="Group"
       
   285                menubarPath="new/additions">
       
   286          </action>
       
   287       </objectContribution>
       
   288       <objectContribution
       
   289             id="ParentGroup.popup"
       
   290             objectClass="configurationemf.ParentGroup">
       
   291          <action
       
   292                class="com.nokia.s60ct.gui.actions.AddParentGroupGroupAction"
       
   293                id="parentgroup.new.group"
       
   294                label="Group"
       
   295                menubarPath="new/additions">
       
   296          </action>
       
   297       </objectContribution>
       
   298       <objectContribution
       
   299             adaptable="false"
       
   300             id="Generate.popup"
       
   301             objectClass="configurationemf.RootConf">
       
   302          <menu
       
   303                id="generate"
       
   304                label="Generate"
       
   305                path="additions">
       
   306             <separator
       
   307                   name="slot0">
       
   308             </separator>
       
   309          </menu>
       
   310          <action
       
   311                class="com.nokia.s60ct.gui.actions.GenerateAll"
       
   312                icon="icons/Generate_enabled.gif"
       
   313                id="com.nokia.S60CT.generate.popupAction"
       
   314                label="All"
       
   315                menubarPath="generate/slot0">
       
   316          </action>
       
   317       </objectContribution>
       
   318       <objectContribution
       
   319             id="Frame.popup"
       
   320             objectClass="configurationemf.Frame">
       
   321          <action
       
   322                class="com.nokia.s60ct.gui.actions.DeleteFrameAction"
       
   323                icon="icons/Delete_Row_enabled.gif"
       
   324                id="com.nokia.S60CT.gui.delete.frame"
       
   325                label="Remove Sequence"
       
   326                menubarPath="edit">
       
   327          </action>
       
   328          <action
       
   329                class="com.nokia.s60ct.gui.actions.MoveUpFrameAction"
       
   330                id="com.nokia.S60CT.gui.moveup"
       
   331                label="Move Up">
       
   332          </action>
       
   333          <action
       
   334                class="com.nokia.s60ct.gui.actions.MoveDownFrameAction"
       
   335                id="com.nokia.S60CT.gui.movedown"
       
   336                label="Move Down">
       
   337          </action>
       
   338          <action
       
   339                class="com.nokia.s60ct.gui.actions.CreateDuplicateAction"
       
   340                id="com.nokia.S60CT.gui.createduplicate"
       
   341                label="Create Duplicate">
       
   342          </action>
       
   343       </objectContribution>
       
   344       <objectContribution
       
   345             id="Problems.popup"
       
   346             objectClass="org.eclipse.core.internal.resources.Marker">
       
   347          <action
       
   348                class="com.nokia.s60ct.gui.actions.OpenValidationWebPagePopupAction"
       
   349                icon="icons/linkto_help.gif"
       
   350                id="open.validation.web.page"
       
   351                label="More Info...">
       
   352          </action>
       
   353       </objectContribution>
       
   354       <objectContribution
       
   355             adaptable="false"
       
   356             id="ParentSetting.popup"
       
   357             objectClass="configurationemf.ParentSetting">
       
   358          <action
       
   359                class="com.nokia.s60ct.gui.actions.CreateParentSettingDuplicateAction"
       
   360                id="com.nokia.S60CT.gui.actions.CreateParentSettingDuplicateAction"
       
   361                label="Create Duplicate"
       
   362                menubarPath="edit">
       
   363          </action>
       
   364       </objectContribution>
       
   365    </extension>
       
   366    <extension
       
   367          id="product"
       
   368          name="S60 Configuration Tool"
       
   369          point="org.eclipse.core.runtime.products">
       
   370       <product
       
   371             application="com.nokia.S60CT.gui.application"
       
   372             name="S60CT">
       
   373          <property
       
   374                name="appName"
       
   375                value="S60CT">
       
   376          </property>
       
   377          <property
       
   378                name="aboutImage"
       
   379                value="about.PNG">
       
   380          </property>
       
   381          <property
       
   382                name="windowImages"
       
   383                value="icons/application/alt_window_16.gif,icons/application/alt_window_32.gif">
       
   384          </property>
       
   385         
       
   386       </product>
       
   387    </extension>
       
   388    <extension
       
   389          point="org.eclipse.ui.elementFactories">
       
   390       <factory
       
   391             class="com.nokia.s60ct.gui.editors.ConfmlElementFactory"
       
   392             id="com.nokia.S60CT.confml">
       
   393       </factory>
       
   394    </extension>
       
   395    <extension
       
   396          point="org.eclipse.ui.viewActions">
       
   397       <viewContribution
       
   398             id="Problems.View.MoreInfo"
       
   399             targetID="org.eclipse.ui.views.ProblemView">
       
   400          <action
       
   401                class="com.nokia.s60ct.gui.actions.OpenValidationWebPageAction"
       
   402                icon="icons/linkto_help.gif"
       
   403                id="com.nokia.S60CT.gui.problems.moreInfo"
       
   404                label="More Info..."
       
   405                menubarPath="slot0"
       
   406                style="push"
       
   407                toolbarPath="slot0"
       
   408                tooltip="Show more info about selected error/warning">
       
   409          </action>
       
   410       </viewContribution>
       
   411    </extension>
       
   412    <extension
       
   413          point="org.eclipse.ui.bindings">
       
   414       <key
       
   415             commandId="generate.all"
       
   416             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
       
   417             sequence="Alt+G">
       
   418       </key>
       
   419       <key
       
   420             commandId="use.default.value"
       
   421             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
       
   422             sequence="CTRL+D">
       
   423       </key>
       
   424    </extension>
       
   425    <extension
       
   426          point="org.eclipse.ui.commands">
       
   427       <command
       
   428             id="generate.all"
       
   429             name="Generate All">
       
   430       </command>
       
   431       <command
       
   432             id="use.default.value"
       
   433             name="Use Default Value">
       
   434       </command>
       
   435    </extension>
       
   436    <extension
       
   437          point="org.eclipse.ui.preferencePages">
       
   438       <page
       
   439             category="org.eclipse.ui.preferencePages.Workbench"
       
   440             class="com.nokia.s60ct.gui.preferences.OutputPreferencePage"
       
   441             id="com.nokia.s60ct.gui.preferences.OutputPreferencePage"
       
   442             name="Environment and Output">
       
   443       </page>
       
   444    </extension>
       
   445    <extension
       
   446          point="org.eclipse.core.runtime.preferences">
       
   447       <initializer
       
   448             class="com.nokia.s60ct.gui.preferences.PreferenceInitializer">
       
   449       </initializer>
       
   450    </extension>
       
   451    <extension
       
   452 	point="org.eclipse.ui.activities">
       
   453 	<activity
       
   454        description="Removes unneede icons like Next/Prev Annotation"
       
   455        id="activity.removeUnusedIcons"
       
   456        name="Remove Unused Icons Manager"/>
       
   457 	<activityPatternBinding
       
   458 	activityId="activity.removeUnusedIcons"
       
   459 	pattern="org.eclipse.ui.editors/org.eclipse.ui.edit.text.*nnotation"> 
       
   460 	
       
   461 	</activityPatternBinding>
       
   462  <activityPatternBinding
       
   463        activityId="activity.removeUnusedIcons"
       
   464        pattern="org\.eclipse\.ui\.editors/org\.eclipse\.ui\.edit\.text\.gotoLastEditPosition">
       
   465  </activityPatternBinding> </extension>
       
   466 
       
   467 </plugin>