org.eclipse.scripting.examples/plugin.xml.off

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (annotate)
Thu Oct 18 14:51:45 2001 UTC (8 years, 1 month ago) by vlad
Branch: MAIN
CVS Tags: v011114, v20011218, v20011211, v011113, v205, v011101, HEAD
Changes since 1.2: +20 -23 lines
turning off scripting plugins
<?xml version="1.0" encoding="UTF-8"?>

<!-- IBM Tooling Platform Scripting Examples Plugin -->

<plugin
    id          = "org.eclipse.scripting.examples"
    name        = "%S_Scripting_Examples"
    version     = "1.0"
    provider-name = "International Business Machines Corp.">

    <requires>
        <import plugin="org.eclipse.core.runtime"/>
        <import plugin="org.eclipse.core.resources"/>
        <import plugin="org.eclipse.scripting" />
        <import plugin="org.eclipse.ui"/>
    </requires>

    <runtime>
        <library name="scriptex1.jar" />
    </runtime>

    <!-- ============================================================================================ -->
    <!--                                                                                              -->
    <!-- Workbench New Wizard Scripting Adapter Examples                                              -->
    <!--                                                                                              -->
    <!-- ============================================================================================ -->
    <extension point="org.eclipse.ui.newWizards">
        <category
              name="%S_Scripting_Examples"
              id="org.eclipse.scripting.examples">
        </category>
        <wizard id                  = "ScriptWorkbenchNewWizardExample"
                name                = "%S_Scripted_JavaScript_Example"
                class               = "org.eclipse.scripting.ScriptAdapterWorkbenchNewWizard:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburScript.xhtml data=platform:/plugin/org.eclipse.scripting.examples/excaliburCompany.xml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties"
                category            = "org.eclipse.scripting.examples"
                icon                = "icons/full/ctool16/scriptui_scp.gif">
        </wizard>
        <wizard id                  = "ScriptWorkbenchNewWizardJavaExample"
                name                = "%S_Scripted_Handler_Example"
                class               = "org.eclipse.scripting.examples.ExcaliburWorkbenchNewWizardAdapter:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburScriptEventHandler.xhtml uitype=wizard data=platform:/plugin/org.eclipse.scripting.examples/excaliburCompany.xml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties"
                category            = "org.eclipse.scripting.examples"
                icon                = "icons/full/ctool16/scriptui_scp.gif">
        </wizard>
    </extension>

    <!-- ============================================================================================ -->
    <!--                                                                                              -->
    <!-- Workbench Popup Menu Scripting Adapter Example, JavaScript with User Interface               -->
    <!--                                                                                              -->
    <!-- ============================================================================================ -->
    <extension point = "org.eclipse.ui.popupMenus">
        <objectContribution id          = "ScriptWorkbenchPopupMenuExample"
                            objectClass = "org.eclipse.core.resources.IFile"
                            nameFilter  = "*.xhtml">
            <action id         = "ScriptWorkbenchPopupMenuActionExample"
                    label      = "%S_Scripted_Popup_Menu_Example"
                    icon       = "icons/full/ctool16/scriptui_scp.gif"
                    menuPath   = "additions"
                    class      = "org.eclipse.scripting.ScriptAdapterWorkbenchAction:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburScript.xhtml uitype=wizard data=platform:/plugin/org.eclipse.scripting.examples/excaliburCompany.xml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties">
                    enablesFor = "1">
            </action>
        </objectContribution>
    </extension>

    <!-- ============================================================================================ -->
    <!--                                                                                              -->
    <!-- Workbench Resource Editor Scripting Adapter Example, JavaScript with User Interface          -->
    <!--                                                                                              -->
    <!-- ============================================================================================ -->
    <extension point = "org.eclipse.ui.editors">
        <editor id         = "ScriptResourceEditorExample"
                name       = "%S_Scripted_Resource_Editor_Example"
                icon       = "icons/full/ctool16/scriptui_scp.gif"
                filenames  = "excaliburEditorScript.xml"
                class      = "org.eclipse.scripting.ScriptAdapterWorkbenchResourceEditor:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburEditorScript.xhtml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties">
        </editor>
    </extension>

    <!-- ============================================================================================ -->
    <!--                                                                                              -->
    <!-- Workbench Resource Export Wizard Scripting Adapter Example, JavaScript with User Interface   -->
    <!--                                                                                              -->
    <!-- ============================================================================================ -->
    <extension point="org.eclipse.ui.exportWizards">
        <wizard id    = "ScriptWorkbenchResourceExportWizardExample"
                name  = "%S_Scripted_JavaScript_Example"
                class = "org.eclipse.scripting.ScriptAdapterWorkbenchResourceExportWizard:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburScript.xhtml data=platform:/plugin/org.eclipse.scripting.examples/excaliburCompany.xml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties"
                icon  = "icons/full/ctool16/scriptui_scp.gif">
        </wizard>
    </extension>

    <!-- ============================================================================================ -->
    <!--                                                                                              -->
    <!-- Workbench Resource Import Wizard Scripting Adapter Example, JavaScript with User Interface   -->
    <!--                                                                                              -->
    <!-- ============================================================================================ -->
    <extension point="org.eclipse.ui.importWizards">
        <wizard id    = "ScriptWorkbenchResourceImportWizardExample"
                name  = "%S_Scripted_JavaScript_Example"
                class = "org.eclipse.scripting.ScriptAdapterWorkbenchResourceImportWizard:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburScript.xhtml data=platform:/plugin/org.eclipse.scripting.examples/excaliburCompany.xml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties"
                icon  = "icons/full/ctool16/scriptui_scp.gif">
        </wizard>
    </extension>

    <!-- ============================================================================================ -->
    <!--                                                                                              -->
    <!-- Workbench Toolbar Actions                                                                    -->
    <!--                                                                                              -->
    <!-- ============================================================================================ -->
    <extension point = "org.eclipse.ui.actionSets">
        <actionSet id="scriptActionSet" label="%S_Script_Examples" visible="true">
            <menu id="org_eclipse_scripting_examples"
                    label="%S_Script_Examples"
                    path="window/additions">
                    <separator name="slot1"/>
            </menu>
            <!-- ============================================================================================ -->
            <!--                                                                                              -->
            <!-- Workbench Toolbar Action Scripting Adapter Example, JavaScript                               -->
            <!--                                                                                              -->
            <!-- ============================================================================================ -->
            <action id          = "scriptaction1"
                    menubarPath = "window/org_eclipse_scripting_examples/slot1"
                    toolbarPath = "%S_Script_Examples"
                    label       = "%S_Scripted_Action_Example"
                    tooltip     = "%S_Perform_Scripted_JavaScript_Action"
                    icon        = "icons/full/ctool16/script_scp.gif"
                    class       = "org.eclipse.scripting.ScriptAdapterWorkbenchAction:file=platform:/plugin/org.eclipse.scripting.examples/excalibur.js language=javascript">
            </action>
            <!-- ============================================================================================ -->
            <!--                                                                                              -->
            <!-- Workbench Toolbar Action Scripting Adapter Example, JavaScript with User Interface           -->
            <!--                                                                                              -->
            <!-- ============================================================================================ -->
            <action id          = "scriptaction2"
                    menubarPath = "window/org_eclipse_scripting_examples/slot1"
                    toolbarPath = "%S_Script_Examples"
                    label       = "%S_Scripted_User_Interface_Action_Example"
                    tooltip     = "%S_Perform_Scripted_User_Interface_JavaScript_Action"
                    icon        = "icons/full/ctool16/scriptui_scp.gif"
                    class       = "org.eclipse.scripting.ScriptAdapterWorkbenchAction:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburScript.xhtml uitype=wizard data=platform:/plugin/org.eclipse.scripting.examples/excaliburCompany.xml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties">
            </action>
            <!-- ============================================================================================ -->
            <!--                                                                                              -->
            <!-- Workbench Toolbar Action Plugin Adapter Example, Script Renderer                             -->
            <!--                                                                                              -->
            <!-- ============================================================================================ -->
            <action id          = "scriptAction3"
                    menubarPath = "window/org_eclipse_scripting_examples/slot1"
                    toolbarPath = "%S_Script_Examples"
                    label       = "%S_Scripted_User_Interface_Script_Action_Example"
                    tooltip     = "%S_Perform_Scripted_User_Interface_Script_Action"
                    icon        = "icons/full/ctool16/javascript_scp.gif"
                    class       = "org.eclipse.scripting.examples.ExcaliburScriptRenderer">
            </action>
        </actionSet>
    </extension>

    <!-- ============================================================================================ -->
    <!--                                                                                              -->
    <!-- Workbench Window Preferences Page Scripting Adapter Example, JavaScript with User Interface  -->
    <!--                                                                                              -->
    <!-- ============================================================================================ -->
    <extension point="org.eclipse.ui.preferencePages">
        <page id       = "ScriptWorkbenchPreferencePageExample"
              name     = "%S_Scripted_JavaScript_Example"
              class    = "org.eclipse.scripting.ScriptAdapterWorkbenchPreferencePage:ui=platform:/plugin/org.eclipse.scripting.examples/excaliburScript.xhtml data=platform:/plugin/org.eclipse.scripting.examples/excaliburCompany.xml translations=platform:/plugin/org.eclipse.scripting.examples/excalibur.properties">
        </page>
    </extension>
</plugin>