Changeset 441 for java/Framclipse


Ignore:
Timestamp:
10/23/15 04:56:47 (8 years ago)
Author:
Mateusz Poszwa
Message:

Resolved missing dependencies in Framclipse

Location:
java/Framclipse
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • java/Framclipse/com.framsticks.framclipse.feature/feature.xml

    r437 r441  
    1111
    1212   <requires>
    13       <import plugin="org.eclipse.xtext" version="1.0.0" match="greaterOrEqual"/>
    14       <import plugin="org.eclipse.xtext.util" version="1.0.0" match="greaterOrEqual"/>
    15       <import plugin="org.eclipse.emf.ecore"/>
    16       <import plugin="org.eclipse.emf.common"/>
     13      <import plugin="org.antlr.generator"/>
     14      <import plugin="org.eclipse.xtext"/>
    1715      <import plugin="org.antlr.runtime"/>
    1816      <import plugin="org.eclipse.core.runtime"/>
     17      <import plugin="org.eclipse.xtext.ui"/>
     18      <import plugin="org.eclipse.xtext.ui.shared"/>
     19      <import plugin="org.eclipse.xtext.builder"/>
    1920      <import plugin="org.apache.log4j"/>
    20       <import plugin="org.eclipse.xtext.ui" version="1.0.0" match="greaterOrEqual"/>
    21       <import plugin="org.eclipse.ui.editors" version="3.5.0" match="greaterOrEqual"/>
    22       <import plugin="org.eclipse.ui.ide" version="3.5.0" match="greaterOrEqual"/>
    23       <import plugin="org.eclipse.xtext.ui.shared" version="1.0.0" match="greaterOrEqual"/>
    24       <import plugin="org.eclipse.ui"/>
    25       <import plugin="org.eclipse.xtext.builder" version="1.0.0" match="greaterOrEqual"/>
    2621   </requires>
    2722
     
    4035         unpack="false"/>
    4136
    42    <plugin
    43          id="com.google.inject"
    44          download-size="0"
    45          install-size="0"
    46          version="0.0.0"
    47          unpack="false"/>
    48 
    4937</feature>
  • java/Framclipse/com.framsticks.framclipse.ui/META-INF/MANIFEST.MF

    r438 r441  
    88Require-Bundle: com.framsticks.framclipse;visibility:=reexport,
    99 org.eclipse.xtext.ui,
    10  org.eclipse.ui.editors;bundle-version="3.5.0",
    11  org.eclipse.ui.ide;bundle-version="3.5.0",
    1210 org.eclipse.xtext.ui.shared,
    13  org.eclipse.ui,
    14  org.antlr.runtime,
    1511 org.eclipse.xtext.builder
    1612Import-Package: org.apache.log4j
    1713Bundle-RequiredExecutionEnvironment: JavaSE-1.6
    1814Export-Package: com.framsticks.framclipse.ui.contentassist,
    19  com.framsticks.framclipse.ui.contentassist.antlr,
    20  com.framsticks.framclipse.ui.quickfix
     15 com.framsticks.framclipse.ui.contentassist.antlr
    2116Bundle-Activator: com.framsticks.framclipse.ui.internal.FramScriptActivator
  • java/Framclipse/com.framsticks.framclipse.ui/plugin.xml

    r437 r441  
    3535            </reference>
    3636         </activeWhen>
    37       </handler>
     37        </handler>
     38        <!-- copy qualified name -->
     39        <handler
     40            class="com.framsticks.framclipse.ui.FramScriptExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
     41            commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
     42            <activeWhen>
     43                                <reference definitionId="com.framsticks.framclipse.FramScript.Editor.opened" />
     44            </activeWhen>
     45        </handler>
     46        <handler
     47            class="com.framsticks.framclipse.ui.FramScriptExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
     48            commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
     49            <activeWhen>
     50                <and>
     51                        <reference definitionId="com.framsticks.framclipse.FramScript.XtextEditor.opened" />
     52                        <iterate>
     53                                                <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
     54                                        </iterate>
     55                                </and>
     56            </activeWhen>
     57        </handler>
    3858    </extension>
    3959    <extension point="org.eclipse.core.expressions.definitions">
     
    4161            <and>
    4262                <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
     63                <with variable="activeEditor">
     64                    <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
     65                        value="com.framsticks.framclipse.FramScript"
     66                        forcePluginActivation="true"/>
     67                </with>       
     68            </and>
     69        </definition>
     70        <definition id="com.framsticks.framclipse.FramScript.XtextEditor.opened">
     71            <and>
     72                <reference definitionId="isXtextEditorActive"/>
    4373                <with variable="activeEditor">
    4474                    <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
     
    73103    </extension>
    74104    <extension
     105            point="org.eclipse.ui.propertyPages">
     106        <page
     107            class="com.framsticks.framclipse.ui.FramScriptExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
     108            id="com.framsticks.framclipse.FramScript"
     109            name="FramScript">
     110            <keywordReference id="com.framsticks.framclipse.ui.keyword_FramScript"/>
     111            <enabledWhen>
     112                    <adapt type="org.eclipse.core.resources.IProject"/>
     113                        </enabledWhen>
     114                <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
     115        </page>
     116    </extension>
     117    <extension
    75118        point="org.eclipse.ui.keywords">
    76119        <keyword
     
    84127            id="com.framsticks.framclipse.FramScript.validate"
    85128            name="Validate">
     129      </command>
     130      <!-- copy qualified name -->
     131      <command
     132            id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
     133            categoryId="org.eclipse.ui.category.edit"
     134            description="Copy the qualified name for the selected element"
     135            name="Copy Qualified Name">
     136      </command>
     137      <command
     138            id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
     139            categoryId="org.eclipse.ui.category.edit"
     140            description="Copy the qualified name for the selected element"
     141            name="Copy Qualified Name">
    86142      </command>
    87143    </extension>
     
    100156         </command> 
    101157         </menuContribution>
     158         <!-- copy qualified name -->
     159         <menuContribution locationURI="popup:#TextEditorContext?after=copy">
     160                <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
     161                        style="push" tooltip="Copy Qualified Name">
     162                <visibleWhen checkEnabled="false">
     163                        <reference definitionId="com.framsticks.framclipse.FramScript.Editor.opened" />
     164                </visibleWhen>
     165                </command> 
     166         </menuContribution>
     167         <menuContribution locationURI="menu:edit?after=copy">
     168                <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
     169                style="push" tooltip="Copy Qualified Name">
     170                <visibleWhen checkEnabled="false">
     171                        <reference definitionId="com.framsticks.framclipse.FramScript.Editor.opened" />
     172                </visibleWhen>
     173                </command> 
     174         </menuContribution>
     175         <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
     176                        <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
     177                                style="push" tooltip="Copy Qualified Name">
     178                        <visibleWhen checkEnabled="false">
     179                        <and>
     180                                <reference definitionId="com.framsticks.framclipse.FramScript.XtextEditor.opened" />
     181                                                <iterate>
     182                                                        <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
     183                                                </iterate>
     184                                        </and>
     185                                </visibleWhen>
     186                        </command>
     187         </menuContribution>
    102188    </extension>
    103189    <extension point="org.eclipse.ui.menus">
     
    210296
    211297
    212 
     298    <!-- marker definitions for com.framsticks.framclipse.FramScript -->
     299    <extension
     300            id="framscript.check.fast"
     301            name="FramScript Problem"
     302            point="org.eclipse.core.resources.markers">
     303        <super type="org.eclipse.xtext.ui.check.fast"/>
     304        <persistent value="true"/>
     305    </extension>
     306    <extension
     307            id="framscript.check.normal"
     308            name="FramScript Problem"
     309            point="org.eclipse.core.resources.markers">
     310        <super type="org.eclipse.xtext.ui.check.normal"/>
     311        <persistent value="true"/>
     312    </extension>
     313    <extension
     314            id="framscript.check.expensive"
     315            name="FramScript Problem"
     316            point="org.eclipse.core.resources.markers">
     317        <super type="org.eclipse.xtext.ui.check.expensive"/>
     318        <persistent value="true"/>
     319    </extension>
    213320
    214321        <!-- Quick Outline -->
     
    245352                </menuContribution>
    246353        </extension>
    247    <!-- quickfix marker resolution generator -->
    248    <extension
    249          point="org.eclipse.ui.ide.markerResolution">
    250       <markerResolutionGenerator
    251             class="com.framsticks.framclipse.ui.FramScriptExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator">
    252       </markerResolutionGenerator>
    253    </extension>
     354    <!-- quickfix marker resolution generator for com.framsticks.framclipse.FramScript -->
     355    <extension
     356            point="org.eclipse.ui.ide.markerResolution">
     357        <markerResolutionGenerator
     358            class="com.framsticks.framclipse.ui.FramScriptExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
     359            markerType="com.framsticks.framclipse.ui.framscript.check.fast">
     360            <attribute
     361                name="FIXABLE_KEY"
     362                value="true">
     363            </attribute>
     364        </markerResolutionGenerator>
     365        <markerResolutionGenerator
     366            class="com.framsticks.framclipse.ui.FramScriptExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
     367            markerType="com.framsticks.framclipse.ui.framscript.check.normal">
     368            <attribute
     369                name="FIXABLE_KEY"
     370                value="true">
     371            </attribute>
     372        </markerResolutionGenerator>
     373        <markerResolutionGenerator
     374            class="com.framsticks.framclipse.ui.FramScriptExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
     375            markerType="com.framsticks.framclipse.ui.framscript.check.expensive">
     376            <attribute
     377                name="FIXABLE_KEY"
     378                value="true">
     379            </attribute>
     380        </markerResolutionGenerator>
     381    </extension>
     382
    254383</plugin>
  • java/Framclipse/com.framsticks.framclipse/META-INF/MANIFEST.MF

    r438 r441  
    66Bundle-SymbolicName: com.framsticks.framclipse; singleton:=true
    77Bundle-ActivationPolicy: lazy
    8 Require-Bundle: org.eclipse.xtext,
     8Require-Bundle: org.antlr.generator,
     9 org.eclipse.xtext,
    910 org.eclipse.xtext.generator;resolution:=optional,
    1011 de.itemis.xtext.antlr;resolution:=optional,
    1112 org.apache.commons.logging;resolution:=optional,
    12  org.eclipse.emf.codegen.ecore;resolution:=optional,
    13  org.eclipse.emf.mwe.utils;resolution:=optional,
    1413 org.eclipse.emf.mwe2.launch;resolution:=optional,
    15  com.ibm.icu;resolution:=optional,
    16  org.eclipse.xtext.util,
    17  org.eclipse.emf.ecore,
    18  org.eclipse.emf.common,
    1914 org.antlr.runtime,
    20  org.eclipse.core.runtime,
    21  org.eclipse.xtext.xbase.lib
    22 Import-Package: org.apache.log4j
     15 org.eclipse.core.runtime
    2316Bundle-RequiredExecutionEnvironment: JavaSE-1.6
    2417Export-Package: com.framsticks.framclipse,
    25  com.framsticks.framclipse.formatting,
    2618 com.framsticks.framclipse.framScript,
    2719 com.framsticks.framclipse.framScript.impl,
     
    2921 com.framsticks.framclipse.parser.antlr,
    3022 com.framsticks.framclipse.parser.antlr.internal,
    31  com.framsticks.framclipse.scoping,
    3223 com.framsticks.framclipse.script,
    3324 com.framsticks.framclipse.script.model,
    34  com.framsticks.framclipse.serializer,
    3525 com.framsticks.framclipse.services,
    3626 com.framsticks.framclipse.validation
    37 Bundle-ClassPath: lib/commons-io-1.4.jar,lib/xpp3_min-1.1.4c.jar,lib/xstream-1.3.1.jar,.
     27Bundle-ClassPath: lib/commons-io-1.4.jar,
     28 lib/xpp3_min-1.1.4c.jar,
     29 lib/xstream-1.3.1.jar,
     30 .
Note: See TracChangeset for help on using the changeset viewer.