Skip to content

Commit

Permalink
Merge pull request #6 from Jose-Badeau/feature/attila/rename_dependen…
Browse files Browse the repository at this point in the history
…cies

Feature/attila/rename dependencies
  • Loading branch information
abartha authored Oct 28, 2016
2 parents 170a5ba + ff51e34 commit 8840b02
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package org.boomslang.dsl.feature.tests

import org.boomslang.dsl.feature.tests.FeatureInjectorProvider
import com.google.inject.Injector
import com.wireframesketcher.model.xtext.BoomslangWFSModelResourceFactory
import com.wireframesketcher.model.xtext.ScreenEmfSupport
import org.boomslang.wireframesketcher.model.xtext.BoomslangWFSModelResourceFactory
import org.boomslang.wireframesketcher.model.xtext.ScreenEmfSupport
import org.eclipse.emf.ecore.resource.Resource
import com.wireframesketcher.model.xtext.ScreenStandaloneSetupGenerated
import org.boomslang.wireframesketcher.model.xtext.ScreenStandaloneSetupGenerated

class FeatureInjectorProviderCustom extends FeatureInjectorProvider {

Expand Down
2 changes: 1 addition & 1 deletion org.boomslang.dsl.feature.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Require-Bundle: org.boomslang.dsl.feature,
org.eclipse.xtend.lib;resolution:=optional,
org.boomslang.dsl.mapping,
org.boomslang.core.ui,
com.wireframesketcher.model.xtext,
org.boomslang.wireframesketcher.model.xtext,
org.apache.commons.lang
Import-Package: org.boomslang.dsl.mapping.mapping,
org.apache.log4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ import static extension org.eclipse.xtext.EcoreUtil2.*
import com.wireframesketcher.model.WidgetGroup
import com.wireframesketcher.model.TabbedPane
import com.wireframesketcher.model.Tree
import com.wireframesketcher.model.xtext.ScreenResourceDescriptionStrategyUtil
import com.wireframesketcher.model.xtext.IEObjectDescriptionUtil
import org.boomslang.wireframesketcher.model.xtext.ScreenResourceDescriptionStrategyUtil
import org.boomslang.wireframesketcher.model.xtext.IEObjectDescriptionUtil
import org.boomslang.dsl.feature.feature.NodeQName
import org.eclipse.xtext.scoping.impl.FilteringScope
import org.apache.commons.lang.StringUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ import org.eclipse.xtext.ui.editor.quickfix.Fix
import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor
import org.eclipse.xtext.validation.Issue
import org.boomslang.dsl.feature.validation.TypeCorrespondsToRefValidator
import org.boomslang.dsl.feature.feature.BClickAction
import org.boomslang.dsl.feature.feature.BTypeAction

/**
* Custom quickfixes.
Expand Down
2 changes: 1 addition & 1 deletion org.boomslang.dsl.feature/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.xbase,
org.eclipse.equinox.common;bundle-version="3.5.0",
com.wireframesketcher.model.xtext;visibility:=reexport,
org.boomslang.wireframesketcher.model.xtext;visibility:=reexport,
org.eclipse.xtext.generator;bundle-version="2.10.0",
org.eclipse.xtext.xtext.generator;bundle-version="2.10.0",
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.eclipse.xtext.scoping.IScope
import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
import org.eclipse.xtext.scoping.impl.FilteringScope
import com.wireframesketcher.model.WidgetContainer
import com.wireframesketcher.model.xtext.IEObjectDescriptionUtil
import org.boomslang.wireframesketcher.model.xtext.IEObjectDescriptionUtil
import java.util.ArrayList
import org.boomslang.dsl.feature.feature.BToScreenSwitch
import org.eclipse.xtext.resource.IEObjectDescription
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@ package org.boomslang.dsl.feature.validation

import org.boomslang.core.validation.PackageFolderStructureValidator
import org.boomslang.dsl.feature.feature.BScenario
import org.boomslang.dsl.feature.feature.BWidgetWrapper
import org.boomslang.dsl.feature.feature.FeaturePackage
//import org.boomslang.dsl.mapping.mapping.BMappingPackage
//import org.boomslang.dsl.mapping.mapping.MappingPackage
import com.google.inject.Inject
import com.wireframesketcher.model.Screen
import java.util.List
import org.eclipse.xtext.resource.IContainer
import org.eclipse.xtext.resource.IEObjectDescription
import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider
import org.eclipse.xtext.validation.Check
import org.eclipse.xtext.validation.ComposedChecks
Expand Down Expand Up @@ -71,15 +66,15 @@ class FeatureValidator extends AbstractFeatureValidator {
}
if (!nextScenarioInChain.params.nullOrEmpty || nextScenarioInChain.dataProvider != null) {
error(
'''Only unparameterized scenarios may be used as dependencies, but «nextScenarioInChain.name» is parameterized (chain: «scenarioChain.
map[name].join(" -> ")» -> «nextScenarioInChain.name»)''', scenarioChain.head,
'''Only unparameterized scenarios may be used as dependencies, but nextScenarioInChain.name is parameterized (chain: scenarioChain.
map[name].join(" -> ") -> nextScenarioInChain.name)''', scenarioChain.head,
FeaturePackage.Literals.BSCENARIO__PRE_SCENARIO, REFERENCED_PARAMETERIZED_SCENARIO)
return
}
if (scenarioChain.contains(nextScenarioInChain)) {
error(
'''Recursive dependencies, the chain is: «scenarioChain.map[name].join(" -> ")» -> «scenarioChain.head.
name»''', scenarioChain.head, FeaturePackage.Literals.BSCENARIO__PRE_SCENARIO, SCENARIO_DEPENDENCY_LOOP)
'''Recursive dependencies, the chain is: scenarioChain.map[name].join(" -> ") -> scenarioChain.head.
name''', scenarioChain.head, FeaturePackage.Literals.BSCENARIO__PRE_SCENARIO, SCENARIO_DEPENDENCY_LOOP)
return
}
scenarioChain.add(nextScenarioInChain)
Expand Down
2 changes: 1 addition & 1 deletion org.boomslang.dsl.mapping.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Require-Bundle: org.boomslang.dsl.mapping,
org.xpect.xtext.lib,
org.eclipse.ui.workbench;resolution:=optional,
org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional,
com.wireframesketcher.model.xtext;bundle-version="4.7.0"
org.boomslang.wireframesketcher.model.xtext;bundle-version="4.7.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: org.boomslang.dsl.mapping.tests
Import-Package: org.junit.runner;version="4.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package org.boomslang.dsl.mapping.tests

import org.boomslang.dsl.mapping.tests.MappingInjectorProvider
import com.google.inject.Injector
import com.wireframesketcher.model.xtext.BoomslangWFSModelResourceFactory
import com.wireframesketcher.model.xtext.ScreenEmfSupport
import org.boomslang.wireframesketcher.model.xtext.BoomslangWFSModelResourceFactory
import org.boomslang.wireframesketcher.model.xtext.ScreenEmfSupport
import org.eclipse.emf.ecore.resource.Resource
import com.wireframesketcher.model.xtext.ScreenStandaloneSetupGenerated
import org.boomslang.wireframesketcher.model.xtext.ScreenStandaloneSetupGenerated

class MappingInjectorProviderCustom extends MappingInjectorProvider {

Expand Down
2 changes: 1 addition & 1 deletion org.boomslang.dsl.mapping.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Require-Bundle: org.boomslang.dsl.mapping,
org.eclipse.xtext.builder,
org.eclipse.xtext.xbase.lib,
org.boomslang.core.ui,
com.wireframesketcher.model.xtext,
org.boomslang.wireframesketcher.model.xtext,
org.apache.commons.lang;bundle-version="2.6.0"
Import-Package: org.boomslang.core.contentassist,
org.boomslang.dsl.mapping.services,
Expand Down
6 changes: 3 additions & 3 deletions org.boomslang.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
version="0.0.0"/>

<includes
id="com.wireframesketcher.model.patch"
id="org.boomslang.wireframesketcher.model.patch"
version="0.0.0"/>

<includes
Expand All @@ -54,7 +54,7 @@
<import plugin="com.google.guava"/>
<import plugin="org.eclipse.xtext.ui"/>
<import plugin="org.eclipse.xtext"/>
<import plugin="com.wireframesketcher.model.xtext"/>
<import plugin="org.boomslang.wireframesketcher.model.xtext"/>
<import plugin="org.eclipse.xtext.util"/>
<import plugin="org.eclipse.emf.common"/>
<import plugin="org.antlr.runtime"/>
Expand All @@ -67,7 +67,7 @@
<import plugin="org.eclipse.xtext.common.types.ui"/>
<import plugin="org.eclipse.xtext.ui.codetemplates.ui"/>
<import plugin="org.eclipse.compare"/>
<import plugin="com.wireframesketcher.model.xtext.ui"/>
<import plugin="org.boomslang.wireframesketcher.model.xtext.ui"/>
<import plugin="com.wireframesketcher.model"/>
<import plugin="org.eclipse.xtext.xbase.ui"/>
<import plugin="org.apache.commons.lang"/>
Expand Down
2 changes: 1 addition & 1 deletion org.boomslang.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</dependency>
<dependency>
<groupId>com.wireframesketcher</groupId>
<artifactId>com.wireframesketcher.model.xtext</artifactId>
<artifactId>org.boomslang.wireframesketcher.model.xtext</artifactId>
<version>${wfs.version}</version>
</dependency> -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Require-Bundle: org.eclipse.xtext;visibility:=reexport,
org.eclipse.emf.common,
org.antlr.runtime,
org.eclipse.xtext.common.types,
com.wireframesketcher.model.xtext;visibility:=reexport,
org.boomslang.wireframesketcher.model.xtext;visibility:=reexport,
org.boomslang.dsl.feature;visibility:=reexport,
org.boomslang.dsl.mapping;visibility:=reexport,
org.apache.commons.lang,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.wireframesketcher.feature.group" version="4.7.0"/>
<unit id="com.wireframesketcher.model.xtext.ui" version="0.0.0"/>
<unit id="com.wireframesketcher.model.patch.feature.group" version="0.0.0"/>
<unit id="com.wireframesketcher.model.xtext" version="0.0.0"/>
<unit id="org.boomslang.wireframesketcher.model.xtext.ui" version="0.0.0"/>
<unit id="org.boomslang.wireframesketcher.model.patch.feature.group" version="0.0.0"/>
<unit id="org.boomslang.wireframesketcher.model.xtext" version="0.0.0"/>
<repository location="https://dl.bintray.com/jose-badeau/boomslang-wireframesketcher"/>
</location>
</locations>
Expand Down

0 comments on commit 8840b02

Please sign in to comment.