├── .gitignore ├── README.md ├── dev ├── README.textile ├── images │ ├── .directory │ ├── agro-activitiesecore.png │ ├── agro-activity-definition.png │ ├── agro-activity-dependencies.png │ ├── agro-climate-series.png │ ├── agro-exploitation-animated.png │ ├── agro-exploitation-design.png │ ├── agro-exploitationecore.png │ ├── agro-genexpdevs.png │ ├── agro-gensimuhtml.png │ ├── agro-javaapi.png │ ├── agro-schedule-per-surface.png │ ├── agro-scientificecore.png │ ├── agro-simulationecore.png │ ├── agro-water-analysis.png │ ├── agrodsl-exploitation.png │ ├── agrodsl-instances.png │ └── agrodsl-meta.png ├── language_workbench │ ├── org.gemoc.agro.activities.edit │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── full │ │ │ │ ├── ctool16 │ │ │ │ ├── CreateCulture_activities_ExploitationActivity.gif │ │ │ │ ├── CreateExploitationActivity_endDate_Date.gif │ │ │ │ ├── CreateExploitationActivity_predicates_DelaySinceActivy.gif │ │ │ │ ├── CreateExploitationActivity_predicates_GrainIs.gif │ │ │ │ ├── CreateExploitationActivity_predicates_NoRain.gif │ │ │ │ ├── CreateExploitationActivity_predicates_Predicate.gif │ │ │ │ ├── CreateExploitationActivity_predicates_TempOfTheDay.gif │ │ │ │ ├── CreateExploitationActivity_startDate_Date.gif │ │ │ │ ├── CreateModel_cultures_Culture.gif │ │ │ │ └── CreateModel_resourceKinds_ResourceKind.gif │ │ │ │ └── obj16 │ │ │ │ ├── .directory │ │ │ │ ├── Culture.gif │ │ │ │ ├── Culture.png │ │ │ │ ├── Culture_32.gif │ │ │ │ ├── Culture_32.png │ │ │ │ ├── Date.gif │ │ │ │ ├── Date.png │ │ │ │ ├── DelaySinceActivy.gif │ │ │ │ ├── ExploitationActivity.gif │ │ │ │ ├── ExploitationActivity.png │ │ │ │ ├── GrainIs.gif │ │ │ │ ├── Model.gif │ │ │ │ ├── Model.png │ │ │ │ ├── NoRain.gif │ │ │ │ ├── Predicate.gif │ │ │ │ ├── ResourceKind.gif │ │ │ │ ├── ResourceKind.png │ │ │ │ ├── ResourceKind_32.png │ │ │ │ └── TempOfTheDay.gif │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ └── src-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── activitiesDSL │ │ │ └── provider │ │ │ ├── ActivitiesDSLEditPlugin.java │ │ │ ├── ActivitiesDSLItemProviderAdapterFactory.java │ │ │ ├── CultureItemProvider.java │ │ │ ├── DateItemProvider.java │ │ │ ├── DelaySinceActivyItemProvider.java │ │ │ ├── ExploitationActivityItemProvider.java │ │ │ ├── GrainIsItemProvider.java │ │ │ ├── ModelItemProvider.java │ │ │ ├── NoRainItemProvider.java │ │ │ ├── PredicateItemProvider.java │ │ │ ├── ResourceKindItemProvider.java │ │ │ └── TempOfTheDayItemProvider.java │ ├── org.gemoc.agro.activities.k3dsa │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.core.resources.prefs │ │ ├── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── xtend-gen │ │ │ │ └── org.gemoc.agro.activities.k3dsa.k3_aspect_mapping.properties │ │ ├── build.properties │ │ ├── plugin.xml │ │ ├── src │ │ │ ├── org.gemoc.agro.activities.k3dsa │ │ │ │ └── Context.xtend │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ ├── activitiesDSL │ │ │ │ └── activitiesDSL.xtend │ │ │ │ └── exploitation │ │ │ │ └── Exploitation.xtend │ │ └── xtend-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ ├── activities │ │ │ └── k3dsa │ │ │ │ └── .gitignore │ │ │ ├── activitiesDSL │ │ │ └── .gitignore │ │ │ └── exploitation │ │ │ └── .gitignore │ ├── org.gemoc.agro.activities.sdk │ │ ├── .project │ │ ├── build.properties │ │ └── feature.xml │ ├── org.gemoc.agro.activities.tests │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── .settings │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── org.gemoc.agro.activities.tests.launch │ │ ├── src-gen │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ ├── ActivitiesDSLInjectorProvider.java │ │ │ │ └── ActivitiesDSLUiInjectorProvider.java │ │ ├── src │ │ │ └── PLACEHOLDER │ │ └── xtend-gen │ │ │ └── PLACEHOLDER │ ├── org.gemoc.agro.activities.ui │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── .settings │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── plugin.xml │ │ ├── plugin.xml_gen │ │ ├── src-gen │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ └── ui │ │ │ │ ├── AbstractActivitiesDSLUiModule.java │ │ │ │ ├── ActivitiesDSLExecutableExtensionFactory.java │ │ │ │ ├── contentassist │ │ │ │ ├── AbstractActivitiesDSLProposalProvider.java │ │ │ │ └── antlr │ │ │ │ │ ├── ActivitiesDSLParser.java │ │ │ │ │ ├── PartialActivitiesDSLContentAssistParser.java │ │ │ │ │ └── internal │ │ │ │ │ ├── InternalActivitiesDSL.g │ │ │ │ │ ├── InternalActivitiesDSL.tokens │ │ │ │ │ ├── InternalActivitiesDSLLexer.java │ │ │ │ │ └── InternalActivitiesDSLParser.java │ │ │ │ └── internal │ │ │ │ └── ActivitiesDSLActivator.java │ │ ├── src │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ └── ui │ │ │ │ ├── ActivitiesDSLUiModule.java │ │ │ │ ├── contentassist │ │ │ │ └── ActivitiesDSLProposalProvider.xtend │ │ │ │ ├── labeling │ │ │ │ ├── ActivitiesDSLDescriptionLabelProvider.xtend │ │ │ │ └── ActivitiesDSLLabelProvider.xtend │ │ │ │ ├── outline │ │ │ │ └── ActivitiesDSLOutlineTreeProvider.xtend │ │ │ │ └── quickfix │ │ │ │ └── ActivitiesDSLQuickfixProvider.xtend │ │ └── xtend-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── ui │ │ │ ├── contentassist │ │ │ └── .gitignore │ │ │ ├── labeling │ │ │ └── .gitignore │ │ │ ├── outline │ │ │ └── .gitignore │ │ │ └── quickfix │ │ │ └── .gitignore │ ├── org.gemoc.agro.activities │ │ ├── .antlr-generator-3.2.0-patch.jar │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .launch │ │ │ └── Generate Language Infrastructure (org.gemoc.agro.activities).launch │ │ ├── .project │ │ ├── .settings │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── model │ │ │ └── generated │ │ │ │ ├── ActivitiesDSL.ecore │ │ │ │ └── ActivitiesDSL.genmodel │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ ├── plugin.xml_gen │ │ ├── src-gen │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ ├── AbstractActivitiesDSLRuntimeModule.java │ │ │ │ ├── ActivitiesDSL.xtextbin │ │ │ │ ├── ActivitiesDSLStandaloneSetupGenerated.java │ │ │ │ ├── activitiesDSL │ │ │ │ ├── ActivitiesDSLFactory.java │ │ │ │ ├── ActivitiesDSLPackage.java │ │ │ │ ├── ActivityResource.java │ │ │ │ ├── Comp.java │ │ │ │ ├── Culture.java │ │ │ │ ├── Date.java │ │ │ │ ├── DelaySinceActivy.java │ │ │ │ ├── ExploitationActivity.java │ │ │ │ ├── Frequency.java │ │ │ │ ├── GrainIs.java │ │ │ │ ├── Model.java │ │ │ │ ├── Month.java │ │ │ │ ├── NoRain.java │ │ │ │ ├── Predicate.java │ │ │ │ ├── ResourceKind.java │ │ │ │ ├── TempOfTheDay.java │ │ │ │ ├── TempUnit.java │ │ │ │ ├── impl │ │ │ │ │ ├── ActivitiesDSLFactoryImpl.java │ │ │ │ │ ├── ActivitiesDSLPackageImpl.java │ │ │ │ │ ├── ActivityResourceImpl.java │ │ │ │ │ ├── CultureImpl.java │ │ │ │ │ ├── DateImpl.java │ │ │ │ │ ├── DelaySinceActivyImpl.java │ │ │ │ │ ├── ExploitationActivityImpl.java │ │ │ │ │ ├── GrainIsImpl.java │ │ │ │ │ ├── ModelImpl.java │ │ │ │ │ ├── NoRainImpl.java │ │ │ │ │ ├── PredicateImpl.java │ │ │ │ │ ├── ResourceKindImpl.java │ │ │ │ │ └── TempOfTheDayImpl.java │ │ │ │ └── util │ │ │ │ │ ├── ActivitiesDSLAdapterFactory.java │ │ │ │ │ └── ActivitiesDSLSwitch.java │ │ │ │ ├── parser │ │ │ │ └── antlr │ │ │ │ │ ├── ActivitiesDSLAntlrTokenFileProvider.java │ │ │ │ │ ├── ActivitiesDSLParser.java │ │ │ │ │ └── internal │ │ │ │ │ ├── InternalActivitiesDSL.g │ │ │ │ │ ├── InternalActivitiesDSL.tokens │ │ │ │ │ ├── InternalActivitiesDSLLexer.java │ │ │ │ │ └── InternalActivitiesDSLParser.java │ │ │ │ ├── serializer │ │ │ │ ├── ActivitiesDSLSemanticSequencer.java │ │ │ │ └── ActivitiesDSLSyntacticSequencer.java │ │ │ │ ├── services │ │ │ │ └── ActivitiesDSLGrammarAccess.java │ │ │ │ └── validation │ │ │ │ └── AbstractActivitiesDSLValidator.java │ │ ├── src │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ ├── ActivitiesDSL.xtext │ │ │ │ ├── ActivitiesDSLRuntimeModule.java │ │ │ │ ├── ActivitiesDSLStandaloneSetup.java │ │ │ │ ├── GenerateActivitiesDSL.mwe2 │ │ │ │ ├── formatting │ │ │ │ └── ActivitiesDSLFormatter.xtend │ │ │ │ ├── generator │ │ │ │ └── ActivitiesDSLGenerator.xtend │ │ │ │ ├── scoping │ │ │ │ └── ActivitiesDSLScopeProvider.xtend │ │ │ │ └── validation │ │ │ │ └── ActivitiesDSLValidator.xtend │ │ └── xtend-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ ├── formatting │ │ │ └── .gitignore │ │ │ ├── generator │ │ │ └── .gitignore │ │ │ ├── scoping │ │ │ └── .gitignore │ │ │ └── validation │ │ │ └── .gitignore │ ├── org.gemoc.agro.design │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── description │ │ │ └── agro.odesign │ │ ├── images │ │ │ ├── lrun_obj48.png │ │ │ ├── terminatedlaunch_obj48.png │ │ │ └── web │ │ │ │ ├── .directory │ │ │ │ ├── ControlFlow.gif │ │ │ │ ├── Dependency.gif │ │ │ │ ├── Transition.gif │ │ │ │ ├── cow.png │ │ │ │ ├── cows.gif │ │ │ │ ├── cows2.gif │ │ │ │ ├── farm.jpg │ │ │ │ ├── farm2.jpg │ │ │ │ ├── in.png │ │ │ │ ├── inout.jpeg │ │ │ │ ├── out.svg │ │ │ │ ├── tractor.png │ │ │ │ └── tractors.gif │ │ ├── plugin.xml │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── design │ │ │ ├── Activator.java │ │ │ └── services │ │ │ └── Services.java │ ├── org.gemoc.agro.exploitation.edit │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── full │ │ │ │ ├── ctool16 │ │ │ │ ├── CreateDay_activitiesWork_ActivityWork.gif │ │ │ │ ├── CreateDay_climate_Climate.gif │ │ │ │ ├── CreateExploitation_groups_Crop.gif │ │ │ │ ├── CreateExploitation_groups_Daily.gif │ │ │ │ ├── CreateExploitation_groups_Ewe.gif │ │ │ │ ├── CreateExploitation_resources_Resource.gif │ │ │ │ ├── CreateExploitation_surfaces_Surface.gif │ │ │ │ ├── CreateSimulation_climate_ClimateDefinition.gif │ │ │ │ └── CreateSimulation_planning_Day.gif │ │ │ │ └── obj16 │ │ │ │ ├── .directory │ │ │ │ ├── ActivityWork.gif │ │ │ │ ├── Climate.gif │ │ │ │ ├── ClimateDefinition.gif │ │ │ │ ├── Crop.gif │ │ │ │ ├── Crop.png │ │ │ │ ├── Crop_32.png │ │ │ │ ├── Daily.gif │ │ │ │ ├── Daily.png │ │ │ │ ├── Daily_32.png │ │ │ │ ├── Day.gif │ │ │ │ ├── Ewe.gif │ │ │ │ ├── Ewe.png │ │ │ │ ├── Ewe_128.png │ │ │ │ ├── Ewe_32.png │ │ │ │ ├── Exploitation.gif │ │ │ │ ├── Exploitation.png │ │ │ │ ├── Resource.gif │ │ │ │ ├── Resource.png │ │ │ │ ├── Resource_32.png │ │ │ │ ├── Resource_people.gif │ │ │ │ ├── Resource_people.png │ │ │ │ ├── Resource_people_32.png │ │ │ │ ├── Simulation.gif │ │ │ │ ├── Surface.gif │ │ │ │ ├── Surface.png │ │ │ │ ├── Surface_32.png │ │ │ │ ├── WorkGroup.gif │ │ │ │ └── WorkGroup.png │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ └── src-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── exploitation │ │ │ └── provider │ │ │ ├── CropItemProvider.java │ │ │ ├── DailyItemProvider.java │ │ │ ├── EweItemProvider.java │ │ │ ├── ExploitationEditPlugin.java │ │ │ ├── ExploitationItemProvider.java │ │ │ ├── ExploitationItemProviderAdapterFactory.java │ │ │ ├── ResourceItemProvider.java │ │ │ ├── SurfaceItemProvider.java │ │ │ └── WorkGroupItemProvider.java │ ├── org.gemoc.agro.exploitation.editor │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── full │ │ │ │ ├── obj16 │ │ │ │ └── ExploitationModelFile.gif │ │ │ │ └── wizban │ │ │ │ └── NewExploitation.gif │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ └── src-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── exploitation │ │ │ └── presentation │ │ │ ├── ExploitationActionBarContributor.java │ │ │ ├── ExploitationEditor.java │ │ │ ├── ExploitationEditorPlugin.java │ │ │ └── ExploitationModelWizard.java │ ├── org.gemoc.agro.exploitation.tests │ │ └── src-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ ├── ExploitationInjectorProvider.java │ │ │ └── ExploitationUiInjectorProvider.java │ ├── org.gemoc.agro.exploitation.ui │ │ ├── plugin.xml │ │ ├── plugin.xml_gen │ │ ├── src-gen │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ └── ui │ │ │ │ ├── AbstractExploitationUiModule.java │ │ │ │ ├── ExploitationExecutableExtensionFactory.java │ │ │ │ └── contentassist │ │ │ │ ├── AbstractExploitationProposalProvider.java │ │ │ │ └── antlr │ │ │ │ ├── ExploitationParser.java │ │ │ │ ├── PartialExploitationContentAssistParser.java │ │ │ │ └── internal │ │ │ │ ├── InternalExploitation.g │ │ │ │ ├── InternalExploitation.tokens │ │ │ │ ├── InternalExploitationLexer.java │ │ │ │ └── InternalExploitationParser.java │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── ui │ │ │ ├── ExploitationUiModule.java │ │ │ ├── contentassist │ │ │ └── ExploitationProposalProvider.xtend │ │ │ ├── labeling │ │ │ ├── ExploitationDescriptionLabelProvider.xtend │ │ │ └── ExploitationLabelProvider.xtend │ │ │ ├── outline │ │ │ └── ExploitationOutlineTreeProvider.xtend │ │ │ └── quickfix │ │ │ └── ExploitationQuickfixProvider.xtend │ ├── org.gemoc.agro.exploitation │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── model │ │ │ ├── exploitation.aird │ │ │ ├── exploitation.ecore │ │ │ └── exploitation.genmodel │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ └── src-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── exploitation │ │ │ ├── Crop.java │ │ │ ├── Daily.java │ │ │ ├── Ewe.java │ │ │ ├── Exploitation.java │ │ │ ├── ExploitationFactory.java │ │ │ ├── ExploitationPackage.java │ │ │ ├── Resource.java │ │ │ ├── Surface.java │ │ │ ├── WorkGroup.java │ │ │ ├── impl │ │ │ ├── CropImpl.java │ │ │ ├── DailyImpl.java │ │ │ ├── EweImpl.java │ │ │ ├── ExploitationFactoryImpl.java │ │ │ ├── ExploitationImpl.java │ │ │ ├── ExploitationPackageImpl.java │ │ │ ├── ResourceImpl.java │ │ │ ├── SurfaceImpl.java │ │ │ └── WorkGroupImpl.java │ │ │ └── util │ │ │ ├── ExploitationAdapterFactory.java │ │ │ └── ExploitationSwitch.java │ ├── org.gemoc.agro.generator.ui │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── default.gif │ │ ├── plugin.xml │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── generator │ │ │ └── ui │ │ │ ├── Activator.java │ │ │ ├── common │ │ │ └── GenerateAll.java │ │ │ └── popupMenus │ │ │ └── AcceleoGenerateGeneratorAction.java │ ├── org.gemoc.agro.generator │ │ ├── .classpath │ │ ├── .gitignore │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── generator │ │ │ ├── Activator.java │ │ │ └── main │ │ │ ├── Generate.java │ │ │ └── generate.mtl │ ├── org.gemoc.agro.scientific.edit │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── full │ │ │ │ ├── ctool16 │ │ │ │ ├── CreateExploitationAnalysis_biomassModels_BiomassModel.gif │ │ │ │ └── CreateExploitationAnalysis_surfaceDatas_SurfaceData.gif │ │ │ │ └── obj16 │ │ │ │ ├── .directory │ │ │ │ ├── BiomassModel.gif │ │ │ │ ├── BiomassModel.png │ │ │ │ ├── BiomassModel_128.png │ │ │ │ ├── BiomassModel_128_gray.png │ │ │ │ ├── BiomassModel_128_lev1.png │ │ │ │ ├── BiomassModel_128_lev2.png │ │ │ │ ├── BiomassModel_128_lev4.png │ │ │ │ ├── BiomassModel_128_lev5.png │ │ │ │ ├── BiomassModel_128_lev6.png │ │ │ │ ├── BiomassModel_128_lev7.png │ │ │ │ ├── BiomassModel_128_lev8.png │ │ │ │ ├── ExploitationAnalysis.gif │ │ │ │ ├── ExploitationAnalysis.png │ │ │ │ ├── SurfaceData.gif │ │ │ │ └── SurfaceData.png │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ └── src-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── scientific │ │ │ └── provider │ │ │ ├── BiomassModelItemProvider.java │ │ │ ├── ExploitationAnalysisItemProvider.java │ │ │ ├── ScientificEditPlugin.java │ │ │ ├── ScientificItemProviderAdapterFactory.java │ │ │ └── SurfaceDataItemProvider.java │ ├── org.gemoc.agro.scientific.editor │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── full │ │ │ │ ├── obj16 │ │ │ │ └── ScientificModelFile.gif │ │ │ │ └── wizban │ │ │ │ └── NewScientific.gif │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ ├── src-gen │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ └── scientific │ │ │ │ └── presentation │ │ │ │ ├── ScientificActionBarContributor.java │ │ │ │ ├── ScientificEditor.java │ │ │ │ ├── ScientificEditorPlugin.java │ │ │ │ └── ScientificModelWizard.java │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── scientific │ │ │ └── editor │ │ │ └── popup │ │ │ └── actions │ │ │ └── ComputeAnalysis.java │ ├── org.gemoc.agro.scientific │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── model │ │ │ ├── scientific.ecore │ │ │ └── scientific.genmodel │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ ├── representations.aird │ │ ├── src-gen │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ └── scientific │ │ │ │ ├── BiomassModel.java │ │ │ │ ├── ExploitationAnalysis.java │ │ │ │ ├── ScientificFactory.java │ │ │ │ ├── ScientificPackage.java │ │ │ │ ├── SurfaceData.java │ │ │ │ ├── impl │ │ │ │ ├── BiomassModelImpl.java │ │ │ │ ├── ExploitationAnalysisImpl.java │ │ │ │ ├── ScientificFactoryImpl.java │ │ │ │ ├── ScientificPackageImpl.java │ │ │ │ └── SurfaceDataImpl.java │ │ │ │ └── util │ │ │ │ ├── ScientificAdapterFactory.java │ │ │ │ └── ScientificSwitch.java │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── scientific │ │ │ ├── Calculator.java │ │ │ └── WaterAnalysis.java │ ├── org.gemoc.agro.simulation.edit │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── full │ │ │ │ ├── ctool16 │ │ │ │ ├── CreateActivityWork_schedulingFeedback_SchedulingFeedback.gif │ │ │ │ ├── CreateClimateData_days_Day.gif │ │ │ │ ├── CreateDay_activitiesWork_ActivityWork.gif │ │ │ │ ├── CreateDay_climate_Climate.gif │ │ │ │ ├── CreateSchedule_allocations_ResourceAllocation.gif │ │ │ │ ├── CreateSchedule_workToDo_ActivityWork.gif │ │ │ │ ├── CreateSimulation_climate_ClimateDefinition.gif │ │ │ │ ├── CreateSimulation_days_Day.gif │ │ │ │ ├── CreateSimulation_planning_Day.gif │ │ │ │ └── CreateSimulation_workToDo_ActivityWork.gif │ │ │ │ └── obj16 │ │ │ │ ├── .directory │ │ │ │ ├── ActivityWork.gif │ │ │ │ ├── ActivityWork.png │ │ │ │ ├── Climate.png │ │ │ │ ├── ClimateData.gif │ │ │ │ ├── ClimateDefinition.gif │ │ │ │ ├── Day.gif │ │ │ │ ├── Day.png │ │ │ │ ├── ResourceAllocation.gif │ │ │ │ ├── ResourceAllocation.png │ │ │ │ ├── Schedule.gif │ │ │ │ ├── Schedule.png │ │ │ │ ├── Schedule_128.png │ │ │ │ ├── Schedule_128_active.png │ │ │ │ ├── SchedulingFeedback.gif │ │ │ │ ├── SchedulingFeedback.png │ │ │ │ └── Simulation.gif │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ └── src-gen │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── simulation │ │ │ └── provider │ │ │ ├── ActivityWorkItemProvider.java │ │ │ ├── ClimateDataItemProvider.java │ │ │ ├── DayItemProvider.java │ │ │ ├── ResourceAllocationItemProvider.java │ │ │ ├── ScheduleItemProvider.java │ │ │ ├── SchedulingFeedbackItemProvider.java │ │ │ ├── SimulationEditPlugin.java │ │ │ └── SimulationItemProviderAdapterFactory.java │ ├── org.gemoc.agro.simulation.editor │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── icons │ │ │ └── full │ │ │ │ ├── obj16 │ │ │ │ └── SimulationModelFile.gif │ │ │ │ └── wizban │ │ │ │ └── NewSimulation.gif │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ ├── src-gen │ │ │ └── org │ │ │ │ └── gemoc │ │ │ │ └── agro │ │ │ │ └── simulation │ │ │ │ └── presentation │ │ │ │ ├── SimulationActionBarContributor.java │ │ │ │ ├── SimulationEditor.java │ │ │ │ ├── SimulationEditorPlugin.java │ │ │ │ └── SimulationModelWizard.java │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── simulation │ │ │ └── editor │ │ │ └── popup │ │ │ └── actions │ │ │ └── ComputePlanner.java │ ├── org.gemoc.agro.simulation.tests │ │ ├── .classpath │ │ ├── .project │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── build.properties │ │ ├── plugin.properties │ │ └── src │ │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── simulation │ │ │ └── tests │ │ │ ├── ActivityWorkTest.java │ │ │ ├── ClimateDataTest.java │ │ │ ├── DayTest.java │ │ │ ├── ImportCSV.java │ │ │ ├── ScheduleTest.java │ │ │ ├── SchedulingFeedbackTest.java │ │ │ ├── SimulationAllTests.java │ │ │ ├── SimulationExample.java │ │ │ └── SimulationTests.java │ └── org.gemoc.agro.simulation │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ ├── org.eclipse.jdt.core.prefs │ │ └── org.eclipse.jdt.ui.prefs │ │ ├── META-INF │ │ └── MANIFEST.MF │ │ ├── NOTES.textile │ │ ├── build.properties │ │ ├── lib │ │ ├── commons-codec-1.4.jar │ │ ├── commons-io-2.1.jar │ │ ├── commons-lang-2.6.jar │ │ ├── commons-math3-3.2.jar │ │ ├── drools-core-6.2.0.Final.jar │ │ ├── kie-api-6.2.0.Final.jar │ │ ├── optaplanner-core-6.2.0.Final.jar │ │ ├── slf4j-api-1.7.2.jar │ │ ├── xml-apis-1.3.04.jar │ │ ├── xmlbeans-2.3.0.jar │ │ ├── xmlpull-1.1.3.1.jar │ │ ├── xpp3_min-1.1.4c.jar │ │ └── xstream-1.4.7.jar │ │ ├── model │ │ ├── simulation.aird │ │ ├── simulation.ecore │ │ └── simulation.genmodel │ │ ├── plugin.properties │ │ ├── plugin.xml │ │ ├── src-gen │ │ └── org │ │ │ └── gemoc │ │ │ └── agro │ │ │ └── simulation │ │ │ ├── ActivityWork.java │ │ │ ├── ClimateData.java │ │ │ ├── Day.java │ │ │ ├── FeedbackLevel.java │ │ │ ├── ResourceAllocation.java │ │ │ ├── Schedule.java │ │ │ ├── SchedulingFeedback.java │ │ │ ├── SimulationFactory.java │ │ │ ├── SimulationPackage.java │ │ │ ├── impl │ │ │ ├── ActivityWorkImpl.java │ │ │ ├── ClimateDataImpl.java │ │ │ ├── DayImpl.java │ │ │ ├── ResourceAllocationImpl.java │ │ │ ├── ScheduleImpl.java │ │ │ ├── SchedulingFeedbackImpl.java │ │ │ ├── SimulationFactoryImpl.java │ │ │ └── SimulationPackageImpl.java │ │ │ └── util │ │ │ ├── SimulationAdapterFactory.java │ │ │ └── SimulationSwitch.java │ │ └── src │ │ └── org │ │ └── gemoc │ │ └── agro │ │ └── simulation │ │ ├── resource │ │ ├── ClimateDataResourceFactoryImpl.java │ │ └── ClimateDataResourceImpl.java │ │ └── solver │ │ ├── ActivityWorkDifficultyComparator.java │ │ ├── AgroScoreCalculator.java │ │ ├── ExploitationActivitiesScheduler.java │ │ ├── ResourceAllocationDifficultyComparator.java │ │ ├── ResourceAllocationMoveFilter.java │ │ ├── ScheduledDateMoveFilter.java │ │ ├── SimulationSolution.java │ │ └── config.xml └── modeling_workbench │ ├── John │ ├── .project │ ├── INRA_STATION_31035002.csv │ ├── definitions.activities │ ├── estate.exploitation │ ├── plan.simulation │ ├── qHydro.scientific │ └── representations.aird │ └── MyExploitation │ ├── .project │ ├── John.exploitation │ ├── analysis.scientific │ ├── cultures.activities │ ├── farmManagement_2_INRA_STATION_31035002-only2012.csv │ ├── representations.aird │ └── schedule.simulation └── materials ├── 2015-06-Modeling-for-Sustainability-INRASeminar-combemale.pdf ├── FarmingModeling-UseCase-Description.docx ├── climate ├── Toulouse_2010-2013_INRA_SERIES_31035001.csv ├── farmManagement_1_INRA_STATION_31035002.csv └── farmManagement_2_INRA_STATION_31035002.csv └── modeling4sustainability-vision-draft.pdf /.gitignore: -------------------------------------------------------------------------------- 1 | .~lock*# 2 | bin 3 | target/ 4 | .repositoryMaven/ 5 | !*.target 6 | target 7 | class 8 | build.acceleo 9 | *.xtendbin 10 | debug.log 11 | plugins/org.eclipse.sirius.tests.swtbot/screenshots 12 | plugins/org.eclipse.sirius.tests.junit/test.aird 13 | plugins/org.eclipse.sirius.tests.junit/test.ecore 14 | .DS_Store 15 | -------------------------------------------------------------------------------- /dev/images/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | PreviewsShown=true 3 | Timestamp=2015,6,12,8,7,55 4 | Version=3 5 | -------------------------------------------------------------------------------- /dev/images/agro-activitiesecore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-activitiesecore.png -------------------------------------------------------------------------------- /dev/images/agro-activity-definition.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-activity-definition.png -------------------------------------------------------------------------------- /dev/images/agro-activity-dependencies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-activity-dependencies.png -------------------------------------------------------------------------------- /dev/images/agro-climate-series.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-climate-series.png -------------------------------------------------------------------------------- /dev/images/agro-exploitation-animated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-exploitation-animated.png -------------------------------------------------------------------------------- /dev/images/agro-exploitation-design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-exploitation-design.png -------------------------------------------------------------------------------- /dev/images/agro-exploitationecore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-exploitationecore.png -------------------------------------------------------------------------------- /dev/images/agro-genexpdevs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-genexpdevs.png -------------------------------------------------------------------------------- /dev/images/agro-gensimuhtml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-gensimuhtml.png -------------------------------------------------------------------------------- /dev/images/agro-javaapi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-javaapi.png -------------------------------------------------------------------------------- /dev/images/agro-schedule-per-surface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-schedule-per-surface.png -------------------------------------------------------------------------------- /dev/images/agro-scientificecore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-scientificecore.png -------------------------------------------------------------------------------- /dev/images/agro-simulationecore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-simulationecore.png -------------------------------------------------------------------------------- /dev/images/agro-water-analysis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agro-water-analysis.png -------------------------------------------------------------------------------- /dev/images/agrodsl-exploitation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agrodsl-exploitation.png -------------------------------------------------------------------------------- /dev/images/agrodsl-instances.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agrodsl-instances.png -------------------------------------------------------------------------------- /dev/images/agrodsl-meta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/images/agrodsl-meta.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.activities.edit 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.activities.edit;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Activator: org.gemoc.agro.activitiesDSL.provider.ActivitiesDSLEditPlugin$Implementation 8 | Bundle-Vendor: %providerName 9 | Bundle-Localization: plugin 10 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 11 | Export-Package: org.gemoc.agro.activitiesDSL.provider 12 | Require-Bundle: org.eclipse.core.runtime, 13 | org.gemoc.agro.activities;visibility:=reexport, 14 | org.eclipse.emf.edit;visibility:=reexport 15 | Bundle-ActivationPolicy: lazy 16 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | icons/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin/ 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateCulture_activities_ExploitationActivity.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateCulture_activities_ExploitationActivity.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_endDate_Date.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_endDate_Date.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_DelaySinceActivy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_DelaySinceActivy.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_GrainIs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_GrainIs.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_NoRain.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_NoRain.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_Predicate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_Predicate.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_TempOfTheDay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_predicates_TempOfTheDay.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_startDate_Date.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateExploitationActivity_startDate_Date.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateModel_cultures_Culture.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateModel_cultures_Culture.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateModel_resourceKinds_ResourceKind.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/ctool16/CreateModel_resourceKinds_ResourceKind.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | PreviewsShown=true 3 | Timestamp=2015,6,8,9,39,1 4 | Version=3 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture_32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture_32.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Culture_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Date.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Date.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Date.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Date.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/DelaySinceActivy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/DelaySinceActivy.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ExploitationActivity.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ExploitationActivity.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ExploitationActivity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ExploitationActivity.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/GrainIs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/GrainIs.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Model.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Model.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Model.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/NoRain.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/NoRain.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Predicate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/Predicate.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ResourceKind.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ResourceKind.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ResourceKind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ResourceKind.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ResourceKind_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/ResourceKind_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/TempOfTheDay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/icons/full/obj16/TempOfTheDay.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/plugin.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.edit/plugin.properties -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.edit/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.activities.k3dsa 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.xtext.ui.shared.xtextBuilder 15 | 16 | 17 | 18 | 19 | fr.inria.diverse.k3.ui.k3Builder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ManifestBuilder 25 | 26 | 27 | 28 | 29 | org.eclipse.pde.SchemaBuilder 30 | 31 | 32 | 33 | 34 | 35 | fr.inria.diverse.k3.ui.k3Nature 36 | org.eclipse.jdt.core.javanature 37 | org.eclipse.xtext.ui.shared.xtextNature 38 | org.eclipse.pde.PluginNature 39 | 40 | 41 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Export-Package: org.gemoc.agro.activitiesDSL, 2 | org.gemoc.agro.activities.k3dsa, 3 | org.gemoc.agro.exploitation 4 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/META-INF/xtend-gen/org.gemoc.agro.activities.k3dsa.k3_aspect_mapping.properties: -------------------------------------------------------------------------------- 1 | # List of the Java classes that have been aspectized and name of the aspect classes separated by comma 2 | org.gemoc.agro.exploitation.Exploitation = org.gemoc.agro.exploitation.ExploitationAspect 3 | org.gemoc.agro.activitiesDSL.ExploitationActivity = org.gemoc.agro.activitiesDSL.ExploitationActivityAspect -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/,\ 2 | xtend-gen/ 3 | output.. = bin/ 4 | bin.includes = plugin.xml,\ 5 | META-INF/,\ 6 | . 7 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/src/org.gemoc.agro.activities.k3dsa/Context.xtend: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.activities.k3dsa 2 | 3 | class Context { 4 | 5 | new (){ 6 | 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/src/org/gemoc/agro/activitiesDSL/activitiesDSL.xtend: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.activitiesDSL 2 | 3 | import fr.inria.diverse.k3.al.annotationprocessor.Aspect 4 | import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod 5 | import org.gemoc.agro.activities.k3dsa.Context 6 | import org.gemoc.agro.activitiesDSL.Model 7 | import org.gemoc.agro.activitiesDSL.ResourceKind 8 | import org.gemoc.agro.activitiesDSL.Culture 9 | import org.gemoc.agro.activitiesDSL.ExploitationActivity 10 | import org.gemoc.agro.activitiesDSL.Predicate 11 | import org.gemoc.agro.activitiesDSL.NoRain 12 | import org.gemoc.agro.activitiesDSL.TempOfTheDay 13 | import org.gemoc.agro.activitiesDSL.DelaySinceActivy 14 | import org.gemoc.agro.activitiesDSL.GrainIs 15 | import org.gemoc.agro.activitiesDSL.Date 16 | 17 | import static extension org.gemoc.agro.activitiesDSL.ExploitationActivityAspect.* 18 | 19 | 20 | @Aspect(className=ExploitationActivity) 21 | class ExploitationActivityAspect { 22 | def public void start (Context context) { 23 | println ("start "+_self.name) 24 | } 25 | } 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/src/org/gemoc/agro/exploitation/Exploitation.xtend: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.exploitation 2 | 3 | import fr.inria.diverse.k3.al.annotationprocessor.Aspect 4 | import org.gemoc.agro.activities.k3dsa.Context 5 | import org.gemoc.agro.exploitation.Exploitation 6 | 7 | 8 | import static extension org.gemoc.agro.exploitation.ExploitationAspect.* 9 | 10 | 11 | @Aspect(className=Exploitation) 12 | class ExploitationAspect { 13 | def public void start (Context context) { 14 | println ("start "+_self.name) 15 | } 16 | } 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/xtend-gen/org/gemoc/agro/activities/k3dsa/.gitignore: -------------------------------------------------------------------------------- 1 | /.Context.java._trace 2 | /Context.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/xtend-gen/org/gemoc/agro/activitiesDSL/.gitignore: -------------------------------------------------------------------------------- 1 | /.ExploitationActivityAspect.java._trace 2 | /.ExploitationActivityAspectExploitationActivityAspectContext.java._trace 3 | /.ExploitationActivityAspectExploitationActivityAspectProperties.java._trace 4 | /ExploitationActivityAspect.java 5 | /ExploitationActivityAspectExploitationActivityAspectContext.java 6 | /ExploitationActivityAspectExploitationActivityAspectProperties.java 7 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.k3dsa/xtend-gen/org/gemoc/agro/exploitation/.gitignore: -------------------------------------------------------------------------------- 1 | /.ExploitationAspect.java._trace 2 | /.ExploitationAspectExploitationAspectContext.java._trace 3 | /.ExploitationAspectExploitationAspectProperties.java._trace 4 | /ExploitationAspect.java 5 | /ExploitationAspectExploitationAspectContext.java 6 | /ExploitationAspectExploitationAspectProperties.java 7 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.sdk/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.activities.sdk 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.sdk/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes =feature.xml 2 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.sdk/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 11 | 17 | 18 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.activities.tests 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.xtext.ui.shared.xtextBuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jdt.core.javanature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.xtext.ui.shared.xtextNature 33 | 34 | 35 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.8 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.gemoc.agro.activities.tests 4 | Bundle-Vendor: My Company 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-SymbolicName: org.gemoc.agro.activities.tests; singleton:=true 7 | Bundle-ActivationPolicy: lazy 8 | Require-Bundle: org.gemoc.agro.activities, 9 | org.gemoc.agro.activities.ui, 10 | org.eclipse.core.runtime, 11 | org.eclipse.xtext.junit4, 12 | org.eclipse.ui.workbench;resolution:=optional, 13 | org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional 14 | Import-Package: org.apache.log4j, 15 | org.junit;version="4.5.0", 16 | org.junit.runner;version="4.5.0", 17 | org.junit.runner.manipulation;version="4.5.0", 18 | org.junit.runner.notification;version="4.5.0", 19 | org.junit.runners;version="4.5.0", 20 | org.junit.runners.model;version="4.5.0", 21 | org.hamcrest.core 22 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 23 | Export-Package: org.gemoc.agro 24 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/,\ 2 | src-gen/,\ 3 | xtend-gen/ 4 | bin.includes = META-INF/,\ 5 | . 6 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/org.gemoc.agro.activities.tests.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/src-gen/org/gemoc/agro/ActivitiesDSLInjectorProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro; 5 | 6 | import org.eclipse.xtext.junit4.GlobalRegistries; 7 | import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; 8 | import org.eclipse.xtext.junit4.IInjectorProvider; 9 | import org.eclipse.xtext.junit4.IRegistryConfigurator; 10 | 11 | import com.google.inject.Injector; 12 | 13 | public class ActivitiesDSLInjectorProvider implements IInjectorProvider, IRegistryConfigurator { 14 | 15 | protected GlobalStateMemento stateBeforeInjectorCreation; 16 | protected GlobalStateMemento stateAfterInjectorCreation; 17 | protected Injector injector; 18 | 19 | static { 20 | GlobalRegistries.initializeDefaults(); 21 | } 22 | 23 | public Injector getInjector() 24 | { 25 | if (injector == null) { 26 | stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); 27 | this.injector = internalCreateInjector(); 28 | stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); 29 | } 30 | return injector; 31 | } 32 | 33 | protected Injector internalCreateInjector() { 34 | return new ActivitiesDSLStandaloneSetup().createInjectorAndDoEMFRegistration(); 35 | } 36 | 37 | public void restoreRegistry() { 38 | stateBeforeInjectorCreation.restoreGlobalState(); 39 | } 40 | 41 | public void setupRegistry() { 42 | getInjector(); 43 | stateAfterInjectorCreation.restoreGlobalState(); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/src-gen/org/gemoc/agro/ActivitiesDSLUiInjectorProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro; 5 | 6 | import org.eclipse.xtext.junit4.IInjectorProvider; 7 | 8 | import com.google.inject.Injector; 9 | 10 | public class ActivitiesDSLUiInjectorProvider implements IInjectorProvider { 11 | 12 | public Injector getInjector() { 13 | return org.gemoc.agro.ui.internal.ActivitiesDSLActivator.getInstance().getInjector("org.gemoc.agro.ActivitiesDSL"); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/src/PLACEHOLDER: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.tests/src/PLACEHOLDER -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.tests/xtend-gen/PLACEHOLDER: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities.tests/xtend-gen/PLACEHOLDER -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.activities.ui 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.xtext.ui.shared.xtextBuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jdt.core.javanature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.xtext.ui.shared.xtextNature 33 | 34 | 35 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.7 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.source=1.7 13 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.gemoc.agro.activities.ui 4 | Bundle-Vendor: My Company 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-SymbolicName: org.gemoc.agro.activities.ui; singleton:=true 7 | Bundle-ActivationPolicy: lazy 8 | Require-Bundle: org.gemoc.agro.activities;visibility:=reexport, 9 | org.eclipse.xtext.ui, 10 | org.eclipse.ui.editors;bundle-version="3.5.0", 11 | org.eclipse.ui.ide;bundle-version="3.5.0", 12 | org.eclipse.xtext.ui.shared, 13 | org.eclipse.ui, 14 | org.eclipse.xtext.builder, 15 | org.eclipse.xtext.xbase.lib, 16 | org.antlr.runtime, 17 | org.eclipse.xtext.common.types.ui, 18 | org.eclipse.xtext.ui.codetemplates.ui, 19 | org.eclipse.compare 20 | Import-Package: org.apache.log4j, 21 | org.eclipse.xtext.xbase.lib 22 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 23 | Export-Package: org.gemoc.agro.ui.quickfix, 24 | org.gemoc.agro.ui.contentassist, 25 | org.gemoc.agro.ui.contentassist.antlr, 26 | org.gemoc.agro.ui.internal 27 | Bundle-Activator: org.gemoc.agro.ui.internal.ActivitiesDSLActivator 28 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/,\ 2 | src-gen/,\ 3 | xtend-gen/ 4 | bin.includes = META-INF/,\ 5 | .,\ 6 | plugin.xml -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src-gen/org/gemoc/agro/ui/ActivitiesDSLExecutableExtensionFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui; 5 | 6 | import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; 7 | import org.osgi.framework.Bundle; 8 | 9 | import com.google.inject.Injector; 10 | 11 | import org.gemoc.agro.ui.internal.ActivitiesDSLActivator; 12 | 13 | /** 14 | * This class was generated. Customizations should only happen in a newly 15 | * introduced subclass. 16 | */ 17 | public class ActivitiesDSLExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { 18 | 19 | @Override 20 | protected Bundle getBundle() { 21 | return ActivitiesDSLActivator.getInstance().getBundle(); 22 | } 23 | 24 | @Override 25 | protected Injector getInjector() { 26 | return ActivitiesDSLActivator.getInstance().getInjector(ActivitiesDSLActivator.ORG_GEMOC_AGRO_ACTIVITIESDSL); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src-gen/org/gemoc/agro/ui/contentassist/antlr/PartialActivitiesDSLContentAssistParser.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.contentassist.antlr; 5 | 6 | import java.util.Collection; 7 | import java.util.Collections; 8 | 9 | import org.eclipse.xtext.AbstractRule; 10 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; 11 | import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; 12 | import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; 13 | import org.eclipse.xtext.util.PolymorphicDispatcher; 14 | 15 | /** 16 | * @author Sebastian Zarnekow - Initial contribution and API 17 | */ 18 | @SuppressWarnings("restriction") 19 | public class PartialActivitiesDSLContentAssistParser extends ActivitiesDSLParser implements IPartialContentAssistParser { 20 | 21 | private AbstractRule rule; 22 | 23 | public void initializeFor(AbstractRule rule) { 24 | this.rule = rule; 25 | } 26 | 27 | @Override 28 | protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { 29 | if (rule == null || rule.eIsProxy()) 30 | return Collections.emptyList(); 31 | String methodName = "entryRule" + rule.getName(); 32 | PolymorphicDispatcher> dispatcher = 33 | new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); 34 | dispatcher.invoke(); 35 | return parser.getFollowElements(); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src-gen/org/gemoc/agro/ui/contentassist/antlr/internal/InternalActivitiesDSL.tokens: -------------------------------------------------------------------------------- 1 | '&&'=42 2 | '<'=24 3 | '>'=23 4 | '['=40 5 | '\u00B0C'=25 6 | '\u00B0F'=26 7 | ']'=41 8 | 'activity'=37 9 | 'after'=48 10 | 'and'=44 11 | 'apr'=14 12 | 'aug'=18 13 | 'culture'=34 14 | 'daily'=28 15 | 'days'=46 16 | 'dec'=22 17 | 'feb'=12 18 | 'from '=38 19 | 'grain is'=50 20 | 'is done since'=49 21 | 'jan'=11 22 | 'jul'=17 23 | 'jun'=16 24 | 'mar'=13 25 | 'may'=15 26 | 'monthly'=30 27 | 'no rain since'=45 28 | 'nov'=21 29 | 'oct'=20 30 | 'once'=27 31 | 'quaterly'=31 32 | 'resource'=33 33 | 'sept'=19 34 | 'temperature'=47 35 | 'to'=39 36 | 'using'=43 37 | 'weekly'=29 38 | 'yearly'=32 39 | '{'=35 40 | '}'=36 41 | RULE_ANY_OTHER=10 42 | RULE_ID=4 43 | RULE_INT=5 44 | RULE_ML_COMMENT=7 45 | RULE_SL_COMMENT=8 46 | RULE_STRING=6 47 | RULE_WS=9 48 | T__11=11 49 | T__12=12 50 | T__13=13 51 | T__14=14 52 | T__15=15 53 | T__16=16 54 | T__17=17 55 | T__18=18 56 | T__19=19 57 | T__20=20 58 | T__21=21 59 | T__22=22 60 | T__23=23 61 | T__24=24 62 | T__25=25 63 | T__26=26 64 | T__27=27 65 | T__28=28 66 | T__29=29 67 | T__30=30 68 | T__31=31 69 | T__32=32 70 | T__33=33 71 | T__34=34 72 | T__35=35 73 | T__36=36 74 | T__37=37 75 | T__38=38 76 | T__39=39 77 | T__40=40 78 | T__41=41 79 | T__42=42 80 | T__43=43 81 | T__44=44 82 | T__45=45 83 | T__46=46 84 | T__47=47 85 | T__48=48 86 | T__49=49 87 | T__50=50 88 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src/org/gemoc/agro/ui/ActivitiesDSLUiModule.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui; 5 | 6 | import org.eclipse.ui.plugin.AbstractUIPlugin; 7 | 8 | /** 9 | * Use this class to register components to be used within the IDE. 10 | */ 11 | public class ActivitiesDSLUiModule extends org.gemoc.agro.ui.AbstractActivitiesDSLUiModule { 12 | public ActivitiesDSLUiModule(AbstractUIPlugin plugin) { 13 | super(plugin); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src/org/gemoc/agro/ui/contentassist/ActivitiesDSLProposalProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.contentassist 5 | 6 | import org.gemoc.agro.ui.contentassist.AbstractActivitiesDSLProposalProvider 7 | 8 | /** 9 | * see http://www.eclipse.org/Xtext/documentation.html#contentAssist on how to customize content assistant 10 | */ 11 | class ActivitiesDSLProposalProvider extends AbstractActivitiesDSLProposalProvider { 12 | } 13 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src/org/gemoc/agro/ui/labeling/ActivitiesDSLDescriptionLabelProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.labeling 5 | 6 | //import org.eclipse.xtext.resource.IEObjectDescription 7 | 8 | /** 9 | * Provides labels for a IEObjectDescriptions and IResourceDescriptions. 10 | * 11 | * see http://www.eclipse.org/Xtext/documentation.html#labelProvider 12 | */ 13 | class ActivitiesDSLDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { 14 | 15 | // Labels and icons can be computed like this: 16 | 17 | // override text(IEObjectDescription ele) { 18 | // ele.name.toString 19 | // } 20 | // 21 | // override image(IEObjectDescription ele) { 22 | // ele.EClass.name + '.gif' 23 | // } 24 | } 25 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src/org/gemoc/agro/ui/labeling/ActivitiesDSLLabelProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.labeling 5 | 6 | import com.google.inject.Inject 7 | 8 | /** 9 | * Provides labels for a EObjects. 10 | * 11 | * see http://www.eclipse.org/Xtext/documentation.html#labelProvider 12 | */ 13 | class ActivitiesDSLLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { 14 | 15 | @Inject 16 | new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { 17 | super(delegate); 18 | } 19 | 20 | // Labels and icons can be computed like this: 21 | 22 | // def text(Greeting ele) { 23 | // 'A greeting to ' + ele.name 24 | // } 25 | // 26 | // def image(Greeting ele) { 27 | // 'Greeting.gif' 28 | // } 29 | } 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src/org/gemoc/agro/ui/outline/ActivitiesDSLOutlineTreeProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.outline 5 | 6 | /** 7 | * Customization of the default outline structure. 8 | * 9 | * see http://www.eclipse.org/Xtext/documentation.html#outline 10 | */ 11 | class ActivitiesDSLOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/src/org/gemoc/agro/ui/quickfix/ActivitiesDSLQuickfixProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.quickfix 5 | 6 | //import org.eclipse.xtext.ui.editor.quickfix.Fix 7 | //import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor 8 | //import org.eclipse.xtext.validation.Issue 9 | 10 | /** 11 | * Custom quickfixes. 12 | * 13 | * see http://www.eclipse.org/Xtext/documentation.html#quickfixes 14 | */ 15 | class ActivitiesDSLQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { 16 | 17 | // @Fix(MyDslValidator::INVALID_NAME) 18 | // def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { 19 | // acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ 20 | // context | 21 | // val xtextDocument = context.xtextDocument 22 | // val firstLetter = xtextDocument.get(issue.offset, 1) 23 | // xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) 24 | // ] 25 | // } 26 | } 27 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/xtend-gen/org/gemoc/agro/ui/contentassist/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLProposalProvider.java._trace 2 | /ActivitiesDSLProposalProvider.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/xtend-gen/org/gemoc/agro/ui/labeling/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLDescriptionLabelProvider.java._trace 2 | /.ActivitiesDSLLabelProvider.java._trace 3 | /ActivitiesDSLDescriptionLabelProvider.java 4 | /ActivitiesDSLLabelProvider.java 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/xtend-gen/org/gemoc/agro/ui/outline/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLOutlineTreeProvider.java._trace 2 | /ActivitiesDSLOutlineTreeProvider.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities.ui/xtend-gen/org/gemoc/agro/ui/quickfix/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLQuickfixProvider.java._trace 2 | /ActivitiesDSLQuickfixProvider.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/.antlr-generator-3.2.0-patch.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities/.antlr-generator-3.2.0-patch.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.activities 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.xtext.ui.shared.xtextBuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jdt.core.javanature 31 | org.eclipse.pde.PluginNature 32 | org.eclipse.xtext.ui.shared.xtextNature 33 | 34 | 35 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.7 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.source=1.7 13 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.gemoc.agro.activities 4 | Bundle-Vendor: My Company 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-SymbolicName: org.gemoc.agro.activities; singleton:=true 7 | Bundle-ActivationPolicy: lazy 8 | Require-Bundle: org.eclipse.xtext;visibility:=reexport, 9 | org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport, 10 | org.eclipse.xtext.generator;resolution:=optional, 11 | org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional, 12 | org.eclipse.emf.codegen.ecore;resolution:=optional, 13 | org.eclipse.emf.mwe.utils;resolution:=optional, 14 | org.eclipse.emf.mwe2.launch;resolution:=optional, 15 | org.eclipse.xtext.util, 16 | org.eclipse.emf.ecore, 17 | org.eclipse.emf.common, 18 | org.eclipse.xtext.xbase.lib, 19 | org.antlr.runtime, 20 | org.eclipse.xtext.common.types, 21 | org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional, 22 | org.eclipse.equinox.common;bundle-version="3.6.200" 23 | Import-Package: org.apache.log4j, 24 | org.eclipse.xtext.xbase.lib 25 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 26 | Export-Package: org.gemoc.agro, 27 | org.gemoc.agro.services, 28 | org.gemoc.agro.activitiesDSL, 29 | org.gemoc.agro.activitiesDSL.impl, 30 | org.gemoc.agro.activitiesDSL.util, 31 | org.gemoc.agro.serializer, 32 | org.gemoc.agro.parser.antlr, 33 | org.gemoc.agro.parser.antlr.internal, 34 | org.gemoc.agro.validation, 35 | org.gemoc.agro.scoping, 36 | org.gemoc.agro.generator, 37 | org.gemoc.agro.formatting 38 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/,\ 2 | src-gen/,\ 3 | xtend-gen/ 4 | bin.includes = model/,\ 5 | META-INF/,\ 6 | .,\ 7 | plugin.xml -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/plugin.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | pluginName = ActivitiesDSL Model 4 | providerName = www.example.org 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/plugin.xml_gen: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/ActivitiesDSL.xtextbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/ActivitiesDSL.xtextbin -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/ActivitiesDSLStandaloneSetupGenerated.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro; 5 | 6 | import org.eclipse.emf.ecore.EPackage; 7 | import org.eclipse.xtext.ISetup; 8 | import org.eclipse.emf.ecore.resource.Resource; 9 | 10 | import com.google.inject.Guice; 11 | import com.google.inject.Injector; 12 | 13 | /** 14 | * Generated from StandaloneSetup.xpt! 15 | */ 16 | @SuppressWarnings("all") 17 | public class ActivitiesDSLStandaloneSetupGenerated implements ISetup { 18 | 19 | public Injector createInjectorAndDoEMFRegistration() { 20 | org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); 21 | 22 | Injector injector = createInjector(); 23 | register(injector); 24 | return injector; 25 | } 26 | 27 | public Injector createInjector() { 28 | return Guice.createInjector(new org.gemoc.agro.ActivitiesDSLRuntimeModule()); 29 | } 30 | 31 | public void register(Injector injector) { 32 | if (!EPackage.Registry.INSTANCE.containsKey("http://www.gemoc.org/agro/ActivitiesDSL")) { 33 | EPackage.Registry.INSTANCE.put("http://www.gemoc.org/agro/ActivitiesDSL", org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage.eINSTANCE); 34 | } 35 | 36 | org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); 37 | org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); 38 | Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("activities", resourceFactory); 39 | org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("activities", serviceProvider); 40 | 41 | 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/activitiesDSL/GrainIs.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.activitiesDSL; 4 | 5 | 6 | /** 7 | * 8 | * A representation of the model object 'Grain Is'. 9 | * 10 | * 11 | *

12 | * The following features are supported: 13 | *

    14 | *
  • {@link org.gemoc.agro.activitiesDSL.GrainIs#getState State}
  • 15 | *
16 | *

17 | * 18 | * @see org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage#getGrainIs() 19 | * @model 20 | * @generated 21 | */ 22 | public interface GrainIs extends Predicate 23 | { 24 | /** 25 | * Returns the value of the 'State' attribute. 26 | * 27 | *

28 | * If the meaning of the 'State' attribute isn't clear, 29 | * there really should be more of a description here... 30 | *

31 | * 32 | * @return the value of the 'State' attribute. 33 | * @see #setState(String) 34 | * @see org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage#getGrainIs_State() 35 | * @model 36 | * @generated 37 | */ 38 | String getState(); 39 | 40 | /** 41 | * Sets the value of the '{@link org.gemoc.agro.activitiesDSL.GrainIs#getState State}' attribute. 42 | * 43 | * 44 | * @param value the new value of the 'State' attribute. 45 | * @see #getState() 46 | * @generated 47 | */ 48 | void setState(String value); 49 | 50 | } // GrainIs 51 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/activitiesDSL/NoRain.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.activitiesDSL; 4 | 5 | 6 | /** 7 | * 8 | * A representation of the model object 'No Rain'. 9 | * 10 | * 11 | *

12 | * The following features are supported: 13 | *

    14 | *
  • {@link org.gemoc.agro.activitiesDSL.NoRain#getDays Days}
  • 15 | *
16 | *

17 | * 18 | * @see org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage#getNoRain() 19 | * @model 20 | * @generated 21 | */ 22 | public interface NoRain extends Predicate 23 | { 24 | /** 25 | * Returns the value of the 'Days' attribute. 26 | * 27 | *

28 | * If the meaning of the 'Days' attribute isn't clear, 29 | * there really should be more of a description here... 30 | *

31 | * 32 | * @return the value of the 'Days' attribute. 33 | * @see #setDays(int) 34 | * @see org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage#getNoRain_Days() 35 | * @model 36 | * @generated 37 | */ 38 | int getDays(); 39 | 40 | /** 41 | * Sets the value of the '{@link org.gemoc.agro.activitiesDSL.NoRain#getDays Days}' attribute. 42 | * 43 | * 44 | * @param value the new value of the 'Days' attribute. 45 | * @see #getDays() 46 | * @generated 47 | */ 48 | void setDays(int value); 49 | 50 | } // NoRain 51 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/activitiesDSL/Predicate.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.activitiesDSL; 4 | 5 | import org.eclipse.emf.ecore.EObject; 6 | 7 | /** 8 | * 9 | * A representation of the model object 'Predicate'. 10 | * 11 | * 12 | * 13 | * @see org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage#getPredicate() 14 | * @model 15 | * @generated 16 | */ 17 | public interface Predicate extends EObject 18 | { 19 | } // Predicate 20 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/activitiesDSL/ResourceKind.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.activitiesDSL; 4 | 5 | import org.eclipse.emf.ecore.EObject; 6 | 7 | /** 8 | * 9 | * A representation of the model object 'Resource Kind'. 10 | * 11 | * 12 | *

13 | * The following features are supported: 14 | *

    15 | *
  • {@link org.gemoc.agro.activitiesDSL.ResourceKind#getName Name}
  • 16 | *
17 | *

18 | * 19 | * @see org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage#getResourceKind() 20 | * @model 21 | * @generated 22 | */ 23 | public interface ResourceKind extends EObject 24 | { 25 | /** 26 | * Returns the value of the 'Name' attribute. 27 | * 28 | *

29 | * If the meaning of the 'Name' attribute isn't clear, 30 | * there really should be more of a description here... 31 | *

32 | * 33 | * @return the value of the 'Name' attribute. 34 | * @see #setName(String) 35 | * @see org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage#getResourceKind_Name() 36 | * @model 37 | * @generated 38 | */ 39 | String getName(); 40 | 41 | /** 42 | * Sets the value of the '{@link org.gemoc.agro.activitiesDSL.ResourceKind#getName Name}' attribute. 43 | * 44 | * 45 | * @param value the new value of the 'Name' attribute. 46 | * @see #getName() 47 | * @generated 48 | */ 49 | void setName(String value); 50 | 51 | } // ResourceKind 52 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/activitiesDSL/impl/PredicateImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.activitiesDSL.impl; 4 | 5 | import org.eclipse.emf.ecore.EClass; 6 | 7 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 8 | 9 | import org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage; 10 | import org.gemoc.agro.activitiesDSL.Predicate; 11 | 12 | /** 13 | * 14 | * An implementation of the model object 'Predicate'. 15 | * 16 | *

17 | *

18 | * 19 | * @generated 20 | */ 21 | public class PredicateImpl extends MinimalEObjectImpl.Container implements Predicate 22 | { 23 | /** 24 | * 25 | * 26 | * @generated 27 | */ 28 | protected PredicateImpl() 29 | { 30 | super(); 31 | } 32 | 33 | /** 34 | * 35 | * 36 | * @generated 37 | */ 38 | @Override 39 | protected EClass eStaticClass() 40 | { 41 | return ActivitiesDSLPackage.Literals.PREDICATE; 42 | } 43 | 44 | } //PredicateImpl 45 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/parser/antlr/ActivitiesDSLAntlrTokenFileProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.parser.antlr; 5 | 6 | import java.io.InputStream; 7 | import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; 8 | 9 | public class ActivitiesDSLAntlrTokenFileProvider implements IAntlrTokenFileProvider { 10 | 11 | public InputStream getAntlrTokenFile() { 12 | ClassLoader classLoader = getClass().getClassLoader(); 13 | return classLoader.getResourceAsStream("org/gemoc/agro/parser/antlr/internal/InternalActivitiesDSL.tokens"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/parser/antlr/ActivitiesDSLParser.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.parser.antlr; 5 | 6 | import com.google.inject.Inject; 7 | 8 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; 9 | import org.gemoc.agro.services.ActivitiesDSLGrammarAccess; 10 | 11 | public class ActivitiesDSLParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { 12 | 13 | @Inject 14 | private ActivitiesDSLGrammarAccess grammarAccess; 15 | 16 | @Override 17 | protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { 18 | tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); 19 | } 20 | 21 | @Override 22 | protected org.gemoc.agro.parser.antlr.internal.InternalActivitiesDSLParser createParser(XtextTokenStream stream) { 23 | return new org.gemoc.agro.parser.antlr.internal.InternalActivitiesDSLParser(stream, getGrammarAccess()); 24 | } 25 | 26 | @Override 27 | protected String getDefaultRuleName() { 28 | return "Model"; 29 | } 30 | 31 | public ActivitiesDSLGrammarAccess getGrammarAccess() { 32 | return this.grammarAccess; 33 | } 34 | 35 | public void setGrammarAccess(ActivitiesDSLGrammarAccess grammarAccess) { 36 | this.grammarAccess = grammarAccess; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/parser/antlr/internal/InternalActivitiesDSL.tokens: -------------------------------------------------------------------------------- 1 | '&&'=19 2 | '<'=42 3 | '>'=41 4 | '['=18 5 | '\u00B0C'=43 6 | '\u00B0F'=44 7 | ']'=20 8 | 'activity'=15 9 | 'after'=26 10 | 'and'=22 11 | 'apr'=32 12 | 'aug'=36 13 | 'culture'=12 14 | 'daily'=46 15 | 'days'=24 16 | 'dec'=40 17 | 'feb'=30 18 | 'from '=16 19 | 'grain is'=28 20 | 'is done since'=27 21 | 'jan'=29 22 | 'jul'=35 23 | 'jun'=34 24 | 'mar'=31 25 | 'may'=33 26 | 'monthly'=48 27 | 'no rain since'=23 28 | 'nov'=39 29 | 'oct'=38 30 | 'once'=45 31 | 'quaterly'=49 32 | 'resource'=11 33 | 'sept'=37 34 | 'temperature'=25 35 | 'to'=17 36 | 'using'=21 37 | 'weekly'=47 38 | 'yearly'=50 39 | '{'=13 40 | '}'=14 41 | RULE_ANY_OTHER=10 42 | RULE_ID=4 43 | RULE_INT=5 44 | RULE_ML_COMMENT=7 45 | RULE_SL_COMMENT=8 46 | RULE_STRING=6 47 | RULE_WS=9 48 | T__11=11 49 | T__12=12 50 | T__13=13 51 | T__14=14 52 | T__15=15 53 | T__16=16 54 | T__17=17 55 | T__18=18 56 | T__19=19 57 | T__20=20 58 | T__21=21 59 | T__22=22 60 | T__23=23 61 | T__24=24 62 | T__25=25 63 | T__26=26 64 | T__27=27 65 | T__28=28 66 | T__29=29 67 | T__30=30 68 | T__31=31 69 | T__32=32 70 | T__33=33 71 | T__34=34 72 | T__35=35 73 | T__36=36 74 | T__37=37 75 | T__38=38 76 | T__39=39 77 | T__40=40 78 | T__41=41 79 | T__42=42 80 | T__43=43 81 | T__44=44 82 | T__45=45 83 | T__46=46 84 | T__47=47 85 | T__48=48 86 | T__49=49 87 | T__50=50 88 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/serializer/ActivitiesDSLSyntacticSequencer.java: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.serializer; 2 | 3 | import com.google.inject.Inject; 4 | import java.util.List; 5 | import org.eclipse.emf.ecore.EObject; 6 | import org.eclipse.xtext.IGrammarAccess; 7 | import org.eclipse.xtext.RuleCall; 8 | import org.eclipse.xtext.nodemodel.INode; 9 | import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; 10 | import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; 11 | import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; 12 | import org.gemoc.agro.services.ActivitiesDSLGrammarAccess; 13 | 14 | @SuppressWarnings("all") 15 | public class ActivitiesDSLSyntacticSequencer extends AbstractSyntacticSequencer { 16 | 17 | protected ActivitiesDSLGrammarAccess grammarAccess; 18 | 19 | @Inject 20 | protected void init(IGrammarAccess access) { 21 | grammarAccess = (ActivitiesDSLGrammarAccess) access; 22 | } 23 | 24 | @Override 25 | protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { 26 | return ""; 27 | } 28 | 29 | 30 | @Override 31 | protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { 32 | if (transition.getAmbiguousSyntaxes().isEmpty()) return; 33 | List transitionNodes = collectNodes(fromNode, toNode); 34 | for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { 35 | List syntaxNodes = getNodesFor(transitionNodes, syntax); 36 | acceptNodes(getLastNavigableState(), syntaxNodes); 37 | } 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src-gen/org/gemoc/agro/validation/AbstractActivitiesDSLValidator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.validation; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | import org.eclipse.emf.ecore.EPackage; 9 | 10 | public class AbstractActivitiesDSLValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { 11 | 12 | @Override 13 | protected List getEPackages() { 14 | List result = new ArrayList(); 15 | result.add(org.gemoc.agro.activitiesDSL.ActivitiesDSLPackage.eINSTANCE); 16 | return result; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src/org/gemoc/agro/ActivitiesDSL.xtext: -------------------------------------------------------------------------------- 1 | grammar org.gemoc.agro.ActivitiesDSL with org.eclipse.xtext.common.Terminals 2 | 3 | generate activitiesDSL "http://www.gemoc.org/agro/ActivitiesDSL" 4 | 5 | Model: 6 | cultures+=Culture* 7 | resourceKinds+=ResourceKind*; 8 | 9 | ResourceKind: 10 | 'resource' name=ID; 11 | 12 | Culture: 13 | 'culture' name=ID '{' activities+=ExploitationActivity* '}'; 14 | 15 | ExploitationActivity: 16 | 'activity' name=ID (frequency=Frequency)? ('from ' startDate=Date 'to' endDate=Date)? ('[' predicates+=Predicate ('&&' 17 | predicates+=Predicate)* ']')? ('using' uses+=ActivityResource ('and' uses+=ActivityResource)*)?; 18 | 19 | ActivityResource: 20 | quantity=INT resourceKind=[ResourceKind]; 21 | 22 | Predicate: 23 | NoRain | TempOfTheDay | DelaySinceActivy | GrainIs; 24 | 25 | NoRain: 26 | 'no rain since' days=INT 'days'; 27 | 28 | TempOfTheDay: 29 | 'temperature' comparison=Comp lowerTempBound=INT unit=TempUnit; 30 | 31 | DelaySinceActivy: 32 | 'after' (prerequisite=[ExploitationActivity]) ('is done since' days=INT 'days')?; 33 | 34 | GrainIs: 35 | 'grain is' state=STRING; 36 | 37 | Date: 38 | day=INT month=Month; 39 | 40 | enum Month: 41 | jan='jan' | feb='feb' | mar='mar' | apr='apr' | may='may' | jun='jun' | jul='jul' | aug='aug' | sept='sept' | 42 | oct='oct' | nov='nov' | dec='dec'; 43 | 44 | enum Comp: 45 | moreThan='>' | lessThan='<'; 46 | 47 | enum TempUnit: 48 | celsius='°C' | farenheit='°F'; 49 | 50 | enum Frequency: 51 | once='once' | daily='daily' | weekly='weekly' | monthly='monthly' | quaterly='quaterly' | yearly='yearly'; -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src/org/gemoc/agro/ActivitiesDSLRuntimeModule.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro; 5 | 6 | /** 7 | * Use this class to register components to be used at runtime / without the Equinox extension registry. 8 | */ 9 | public class ActivitiesDSLRuntimeModule extends org.gemoc.agro.AbstractActivitiesDSLRuntimeModule { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src/org/gemoc/agro/ActivitiesDSLStandaloneSetup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro; 5 | 6 | /** 7 | * Initialization support for running Xtext languages 8 | * without equinox extension registry 9 | */ 10 | public class ActivitiesDSLStandaloneSetup extends ActivitiesDSLStandaloneSetupGenerated{ 11 | 12 | public static void doSetup() { 13 | new ActivitiesDSLStandaloneSetup().createInjectorAndDoEMFRegistration(); 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src/org/gemoc/agro/formatting/ActivitiesDSLFormatter.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.formatting 5 | 6 | import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter 7 | import org.eclipse.xtext.formatting.impl.FormattingConfig 8 | // import com.google.inject.Inject; 9 | // import org.gemoc.agro.services.ActivitiesDSLGrammarAccess 10 | 11 | /** 12 | * This class contains custom formatting description. 13 | * 14 | * see : http://www.eclipse.org/Xtext/documentation.html#formatting 15 | * on how and when to use it 16 | * 17 | * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example 18 | */ 19 | class ActivitiesDSLFormatter extends AbstractDeclarativeFormatter { 20 | 21 | // @Inject extension ActivitiesDSLGrammarAccess 22 | 23 | override protected void configureFormatting(FormattingConfig c) { 24 | // It's usually a good idea to activate the following three statements. 25 | // They will add and preserve newlines around comments 26 | // c.setLinewrap(0, 1, 2).before(SL_COMMENTRule) 27 | // c.setLinewrap(0, 1, 2).before(ML_COMMENTRule) 28 | // c.setLinewrap(0, 1, 1).after(ML_COMMENTRule) 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src/org/gemoc/agro/generator/ActivitiesDSLGenerator.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.generator 5 | 6 | import org.eclipse.emf.ecore.resource.Resource 7 | import org.eclipse.xtext.generator.IGenerator 8 | import org.eclipse.xtext.generator.IFileSystemAccess 9 | 10 | /** 11 | * Generates code from your model files on save. 12 | * 13 | * see http://www.eclipse.org/Xtext/documentation.html#TutorialCodeGeneration 14 | */ 15 | class ActivitiesDSLGenerator implements IGenerator { 16 | 17 | override void doGenerate(Resource resource, IFileSystemAccess fsa) { 18 | // fsa.generateFile('greetings.txt', 'People to greet: ' + 19 | // resource.allContents 20 | // .filter(typeof(Greeting)) 21 | // .map[name] 22 | // .join(', ')) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src/org/gemoc/agro/scoping/ActivitiesDSLScopeProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.scoping 5 | 6 | /** 7 | * This class contains custom scoping description. 8 | * 9 | * see : http://www.eclipse.org/Xtext/documentation.html#scoping 10 | * on how and when to use it 11 | * 12 | */ 13 | class ActivitiesDSLScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/src/org/gemoc/agro/validation/ActivitiesDSLValidator.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.validation 5 | //import org.eclipse.xtext.validation.Check 6 | 7 | /** 8 | * Custom validation rules. 9 | * 10 | * see http://www.eclipse.org/Xtext/documentation.html#validation 11 | */ 12 | class ActivitiesDSLValidator extends AbstractActivitiesDSLValidator { 13 | 14 | // public static val INVALID_NAME = 'invalidName' 15 | // 16 | // @Check 17 | // def checkGreetingStartsWithCapital(Greeting greeting) { 18 | // if (!Character.isUpperCase(greeting.name.charAt(0))) { 19 | // warning('Name should start with a capital', 20 | // MyDslPackage.Literals.GREETING__NAME, 21 | // INVALID_NAME) 22 | // } 23 | // } 24 | } 25 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/xtend-gen/org/gemoc/agro/formatting/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLFormatter.java._trace 2 | /ActivitiesDSLFormatter.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/xtend-gen/org/gemoc/agro/generator/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLGenerator.java._trace 2 | /ActivitiesDSLGenerator.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/xtend-gen/org/gemoc/agro/scoping/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLScopeProvider.java._trace 2 | /ActivitiesDSLScopeProvider.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.activities/xtend-gen/org/gemoc/agro/validation/.gitignore: -------------------------------------------------------------------------------- 1 | /.ActivitiesDSLValidator.java._trace 2 | /ActivitiesDSLValidator.java 3 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.design 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.acceleo.ide.ui.acceleoBuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.acceleo.ide.ui.acceleoNature 31 | org.eclipse.jdt.core.javanature 32 | org.eclipse.pde.PluginNature 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: org.gemoc.agro.design 4 | Bundle-SymbolicName: org.gemoc.agro.design;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-Activator: org.gemoc.agro.design.Activator 7 | Require-Bundle: org.eclipse.ui, 8 | org.eclipse.core.runtime, 9 | org.eclipse.sirius, 10 | org.eclipse.sirius.common.acceleo.mtl, 11 | org.eclipse.core.resources;bundle-version="3.9.1", 12 | org.gemoc.agro.simulation;bundle-version="1.0.0", 13 | org.gemoc.agro.scientific;bundle-version="1.0.0", 14 | org.eclipse.emf.transaction;bundle-version="1.8.0", 15 | org.eclipse.ui.ide;bundle-version="3.10.2", 16 | org.eclipse.ui.workbench.texteditor;bundle-version="3.9.0", 17 | org.eclipse.sirius.common.acceleo.aql;bundle-version="4.1.1" 18 | Bundle-ActivationPolicy: lazy 19 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 20 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | description/,\ 6 | plugin.xml,\ 7 | images/ 8 | customBuildCallbacks = build.acceleo 9 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/lrun_obj48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/lrun_obj48.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/terminatedlaunch_obj48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/terminatedlaunch_obj48.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | PreviewsShown=true 3 | Timestamp=2014,9,23,17,45,45 4 | Version=3 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/ControlFlow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/ControlFlow.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/Dependency.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/Dependency.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/Transition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/Transition.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/cow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/cow.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/cows.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/cows.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/cows2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/cows2.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/farm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/farm.jpg -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/farm2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/farm2.jpg -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/in.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/inout.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/inout.jpeg -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/tractor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/tractor.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/images/web/tractors.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.design/images/web/tractors.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.design/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.exploitation.edit 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.exploitation.edit;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Activator: org.gemoc.agro.exploitation.provider.ExploitationEditPlugin$Implementation 8 | Bundle-Vendor: %providerName 9 | Bundle-Localization: plugin 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 11 | Export-Package: org.gemoc.agro.exploitation.provider 12 | Require-Bundle: org.eclipse.core.runtime, 13 | org.gemoc.agro.exploitation;visibility:=reexport, 14 | org.eclipse.emf.edit;visibility:=reexport, 15 | org.gemoc.agro.activities;visibility:=reexport, 16 | org.gemoc.agro.activities.edit;visibility:=reexport 17 | Bundle-ActivationPolicy: lazy 18 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | icons/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin/ 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateDay_activitiesWork_ActivityWork.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateDay_activitiesWork_ActivityWork.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateDay_climate_Climate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateDay_climate_Climate.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_groups_Crop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_groups_Crop.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_groups_Daily.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_groups_Daily.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_groups_Ewe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_groups_Ewe.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_resources_Resource.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_resources_Resource.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_surfaces_Surface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateExploitation_surfaces_Surface.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateSimulation_climate_ClimateDefinition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateSimulation_climate_ClimateDefinition.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateSimulation_planning_Day.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/ctool16/CreateSimulation_planning_Day.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | PreviewsShown=true 3 | Timestamp=2015,6,8,9,14,29 4 | Version=3 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/ActivityWork.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/ActivityWork.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Climate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Climate.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/ClimateDefinition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/ClimateDefinition.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Crop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Crop.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Crop.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Crop_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Crop_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Daily.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Daily.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Daily.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Daily.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Daily_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Daily_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Day.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Day.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe_128.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Ewe_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Exploitation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Exploitation.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Exploitation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Exploitation.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_people.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_people.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_people.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_people_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Resource_people_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Simulation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Simulation.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Surface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Surface.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Surface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Surface.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Surface_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/Surface_32.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/WorkGroup.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/WorkGroup.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/WorkGroup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.edit/icons/full/obj16/WorkGroup.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.edit/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.editor/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.editor/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.exploitation.editor 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.editor/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.exploitation.editor;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Activator: org.gemoc.agro.exploitation.presentation.ExploitationEditorPlugin$Implementation 8 | Bundle-Vendor: %providerName 9 | Bundle-Localization: plugin 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 11 | Export-Package: org.gemoc.agro.exploitation.presentation 12 | Require-Bundle: org.eclipse.core.runtime, 13 | org.eclipse.core.resources;visibility:=reexport, 14 | org.gemoc.agro.exploitation.edit;visibility:=reexport, 15 | org.eclipse.emf.ecore.xmi;visibility:=reexport, 16 | org.eclipse.emf.edit.ui;visibility:=reexport, 17 | org.eclipse.ui.ide;visibility:=reexport, 18 | org.gemoc.agro.activities.edit;visibility:=reexport 19 | Bundle-ActivationPolicy: lazy 20 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.editor/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | icons/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.editor/icons/full/obj16/ExploitationModelFile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.editor/icons/full/obj16/ExploitationModelFile.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.editor/icons/full/wizban/NewExploitation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.exploitation.editor/icons/full/wizban/NewExploitation.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.editor/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 20 | %_UI_ExploitationModelWizard_description 21 | 22 | 23 | 24 | 25 | 26 | 27 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.tests/src-gen/org/gemoc/agro/ExploitationInjectorProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro; 5 | 6 | import org.eclipse.xtext.junit4.GlobalRegistries; 7 | import org.eclipse.xtext.junit4.GlobalRegistries.GlobalStateMemento; 8 | import org.eclipse.xtext.junit4.IInjectorProvider; 9 | import org.eclipse.xtext.junit4.IRegistryConfigurator; 10 | 11 | import com.google.inject.Injector; 12 | 13 | public class ExploitationInjectorProvider implements IInjectorProvider, IRegistryConfigurator { 14 | 15 | protected GlobalStateMemento stateBeforeInjectorCreation; 16 | protected GlobalStateMemento stateAfterInjectorCreation; 17 | protected Injector injector; 18 | 19 | static { 20 | GlobalRegistries.initializeDefaults(); 21 | } 22 | 23 | public Injector getInjector() 24 | { 25 | if (injector == null) { 26 | stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); 27 | this.injector = internalCreateInjector(); 28 | stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState(); 29 | } 30 | return injector; 31 | } 32 | 33 | protected Injector internalCreateInjector() { 34 | return new ExploitationStandaloneSetup().createInjectorAndDoEMFRegistration(); 35 | } 36 | 37 | public void restoreRegistry() { 38 | stateBeforeInjectorCreation.restoreGlobalState(); 39 | } 40 | 41 | public void setupRegistry() { 42 | getInjector(); 43 | stateAfterInjectorCreation.restoreGlobalState(); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.tests/src-gen/org/gemoc/agro/ExploitationUiInjectorProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro; 5 | 6 | import org.eclipse.xtext.junit4.IInjectorProvider; 7 | 8 | import com.google.inject.Injector; 9 | 10 | public class ExploitationUiInjectorProvider implements IInjectorProvider { 11 | 12 | public Injector getInjector() { 13 | return org.gemoc.agro.ui.internal.ExploitationActivator.getInstance().getInjector("org.gemoc.agro.Exploitation"); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src-gen/org/gemoc/agro/ui/ExploitationExecutableExtensionFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui; 5 | 6 | import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; 7 | import org.osgi.framework.Bundle; 8 | 9 | import com.google.inject.Injector; 10 | 11 | import org.gemoc.agro.ui.internal.ExploitationActivator; 12 | 13 | /** 14 | * This class was generated. Customizations should only happen in a newly 15 | * introduced subclass. 16 | */ 17 | public class ExploitationExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { 18 | 19 | @Override 20 | protected Bundle getBundle() { 21 | return ExploitationActivator.getInstance().getBundle(); 22 | } 23 | 24 | @Override 25 | protected Injector getInjector() { 26 | return ExploitationActivator.getInstance().getInjector(ExploitationActivator.ORG_GEMOC_AGRO_EXPLOITATION); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src-gen/org/gemoc/agro/ui/contentassist/antlr/PartialExploitationContentAssistParser.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.contentassist.antlr; 5 | 6 | import java.util.Collection; 7 | import java.util.Collections; 8 | 9 | import org.eclipse.xtext.AbstractRule; 10 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser; 11 | import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; 12 | import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; 13 | import org.eclipse.xtext.util.PolymorphicDispatcher; 14 | 15 | /** 16 | * @author Sebastian Zarnekow - Initial contribution and API 17 | */ 18 | @SuppressWarnings("restriction") 19 | public class PartialExploitationContentAssistParser extends ExploitationParser implements IPartialContentAssistParser { 20 | 21 | private AbstractRule rule; 22 | 23 | public void initializeFor(AbstractRule rule) { 24 | this.rule = rule; 25 | } 26 | 27 | @Override 28 | protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { 29 | if (rule == null || rule.eIsProxy()) 30 | return Collections.emptyList(); 31 | String methodName = "entryRule" + rule.getName(); 32 | PolymorphicDispatcher> dispatcher = 33 | new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); 34 | dispatcher.invoke(); 35 | return parser.getFollowElements(); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src-gen/org/gemoc/agro/ui/contentassist/antlr/internal/InternalExploitation.tokens: -------------------------------------------------------------------------------- 1 | ' days'=31 2 | '&&'=32 3 | '['=28 4 | ']'=29 5 | 'activity '=34 6 | 'activity'=25 7 | 'apr'=16 8 | 'aug'=20 9 | 'dec'=24 10 | 'feb'=14 11 | 'from '=26 12 | 'grain'=11 13 | 'is done since'=35 14 | 'is'=36 15 | 'jan'=13 16 | 'jul'=19 17 | 'june'=18 18 | 'mar'=15 19 | 'may'=17 20 | 'no rain since'=30 21 | 'nov'=23 22 | 'oct'=22 23 | 'sept'=21 24 | 'soil'=12 25 | 'temperature >'=33 26 | 'to'=27 27 | RULE_ANY_OTHER=10 28 | RULE_ID=4 29 | RULE_INT=5 30 | RULE_ML_COMMENT=7 31 | RULE_SL_COMMENT=8 32 | RULE_STRING=6 33 | RULE_WS=9 34 | T__11=11 35 | T__12=12 36 | T__13=13 37 | T__14=14 38 | T__15=15 39 | T__16=16 40 | T__17=17 41 | T__18=18 42 | T__19=19 43 | T__20=20 44 | T__21=21 45 | T__22=22 46 | T__23=23 47 | T__24=24 48 | T__25=25 49 | T__26=26 50 | T__27=27 51 | T__28=28 52 | T__29=29 53 | T__30=30 54 | T__31=31 55 | T__32=32 56 | T__33=33 57 | T__34=34 58 | T__35=35 59 | T__36=36 60 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src/org/gemoc/agro/ui/ExploitationUiModule.java: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui; 5 | 6 | import org.eclipse.ui.plugin.AbstractUIPlugin; 7 | 8 | /** 9 | * Use this class to register components to be used within the IDE. 10 | */ 11 | public class ExploitationUiModule extends org.gemoc.agro.ui.AbstractExploitationUiModule { 12 | public ExploitationUiModule(AbstractUIPlugin plugin) { 13 | super(plugin); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src/org/gemoc/agro/ui/contentassist/ExploitationProposalProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.contentassist 5 | 6 | import org.gemoc.agro.ui.contentassist.AbstractExploitationProposalProvider 7 | 8 | /** 9 | * see http://www.eclipse.org/Xtext/documentation.html#contentAssist on how to customize content assistant 10 | */ 11 | class ExploitationProposalProvider extends AbstractExploitationProposalProvider { 12 | } 13 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src/org/gemoc/agro/ui/labeling/ExploitationDescriptionLabelProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.labeling 5 | 6 | //import org.eclipse.xtext.resource.IEObjectDescription 7 | 8 | /** 9 | * Provides labels for a IEObjectDescriptions and IResourceDescriptions. 10 | * 11 | * see http://www.eclipse.org/Xtext/documentation.html#labelProvider 12 | */ 13 | class ExploitationDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { 14 | 15 | // Labels and icons can be computed like this: 16 | 17 | // override text(IEObjectDescription ele) { 18 | // ele.name.toString 19 | // } 20 | // 21 | // override image(IEObjectDescription ele) { 22 | // ele.EClass.name + '.gif' 23 | // } 24 | } 25 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src/org/gemoc/agro/ui/labeling/ExploitationLabelProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.labeling 5 | 6 | import com.google.inject.Inject 7 | 8 | /** 9 | * Provides labels for a EObjects. 10 | * 11 | * see http://www.eclipse.org/Xtext/documentation.html#labelProvider 12 | */ 13 | class ExploitationLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { 14 | 15 | @Inject 16 | new(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { 17 | super(delegate); 18 | } 19 | 20 | // Labels and icons can be computed like this: 21 | 22 | // def text(Greeting ele) { 23 | // 'A greeting to ' + ele.name 24 | // } 25 | // 26 | // def image(Greeting ele) { 27 | // 'Greeting.gif' 28 | // } 29 | } 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src/org/gemoc/agro/ui/outline/ExploitationOutlineTreeProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.outline 5 | 6 | /** 7 | * Customization of the default outline structure. 8 | * 9 | * see http://www.eclipse.org/Xtext/documentation.html#outline 10 | */ 11 | class ExploitationOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation.ui/src/org/gemoc/agro/ui/quickfix/ExploitationQuickfixProvider.xtend: -------------------------------------------------------------------------------- 1 | /* 2 | * generated by Xtext 3 | */ 4 | package org.gemoc.agro.ui.quickfix 5 | 6 | //import org.eclipse.xtext.ui.editor.quickfix.Fix 7 | //import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor 8 | //import org.eclipse.xtext.validation.Issue 9 | 10 | /** 11 | * Custom quickfixes. 12 | * 13 | * see http://www.eclipse.org/Xtext/documentation.html#quickfixes 14 | */ 15 | class ExploitationQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { 16 | 17 | // @Fix(MyDslValidator::INVALID_NAME) 18 | // def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { 19 | // acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ 20 | // context | 21 | // val xtextDocument = context.xtextDocument 22 | // val firstLetter = xtextDocument.get(issue.offset, 1) 23 | // xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) 24 | // ] 25 | // } 26 | } 27 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.exploitation 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.sirius.nature.modelingproject 26 | org.eclipse.jdt.core.javanature 27 | org.eclipse.pde.PluginNature 28 | 29 | 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.exploitation;singleton:=true 5 | Bundle-Version: 0.1.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Vendor: %providerName 8 | Bundle-Localization: plugin 9 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 10 | Export-Package: org.gemoc.agro.exploitation, 11 | org.gemoc.agro.exploitation.impl, 12 | org.gemoc.agro.exploitation.util 13 | Require-Bundle: org.eclipse.core.runtime, 14 | org.eclipse.emf.ecore;visibility:=reexport, 15 | org.gemoc.agro.activities;visibility:=reexport 16 | Bundle-ActivationPolicy: lazy 17 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | model/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin/ 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/plugin.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | pluginName = Exploitation Model 4 | providerName = www.example.org 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/src-gen/org/gemoc/agro/exploitation/Crop.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.exploitation; 4 | 5 | 6 | /** 7 | * 8 | * A representation of the model object 'Crop'. 9 | * 10 | * 11 | * 12 | * @see org.gemoc.agro.exploitation.ExploitationPackage#getCrop() 13 | * @model 14 | * @generated 15 | */ 16 | public interface Crop extends WorkGroup { 17 | } // Crop 18 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/src-gen/org/gemoc/agro/exploitation/Daily.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.exploitation; 4 | 5 | 6 | /** 7 | * 8 | * A representation of the model object 'Daily'. 9 | * 10 | * 11 | *

12 | * The following features are supported: 13 | *

    14 | *
  • {@link org.gemoc.agro.exploitation.Daily#getHerdSize Herd Size}
  • 15 | *
16 | *

17 | * 18 | * @see org.gemoc.agro.exploitation.ExploitationPackage#getDaily() 19 | * @model 20 | * @generated 21 | */ 22 | public interface Daily extends WorkGroup { 23 | /** 24 | * Returns the value of the 'Herd Size' attribute. 25 | * 26 | *

27 | * If the meaning of the 'Herd Size' attribute isn't clear, 28 | * there really should be more of a description here... 29 | *

30 | * 31 | * @return the value of the 'Herd Size' attribute. 32 | * @see #setHerdSize(int) 33 | * @see org.gemoc.agro.exploitation.ExploitationPackage#getDaily_HerdSize() 34 | * @model 35 | * @generated 36 | */ 37 | int getHerdSize(); 38 | 39 | /** 40 | * Sets the value of the '{@link org.gemoc.agro.exploitation.Daily#getHerdSize Herd Size}' attribute. 41 | * 42 | * 43 | * @param value the new value of the 'Herd Size' attribute. 44 | * @see #getHerdSize() 45 | * @generated 46 | */ 47 | void setHerdSize(int value); 48 | 49 | } // Daily 50 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/src-gen/org/gemoc/agro/exploitation/Ewe.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.exploitation; 4 | 5 | 6 | /** 7 | * 8 | * A representation of the model object 'Ewe'. 9 | * 10 | * 11 | *

12 | * The following features are supported: 13 | *

    14 | *
  • {@link org.gemoc.agro.exploitation.Ewe#getHerdSize Herd Size}
  • 15 | *
16 | *

17 | * 18 | * @see org.gemoc.agro.exploitation.ExploitationPackage#getEwe() 19 | * @model 20 | * @generated 21 | */ 22 | public interface Ewe extends WorkGroup { 23 | /** 24 | * Returns the value of the 'Herd Size' attribute. 25 | * 26 | *

27 | * If the meaning of the 'Herd Size' attribute isn't clear, 28 | * there really should be more of a description here... 29 | *

30 | * 31 | * @return the value of the 'Herd Size' attribute. 32 | * @see #setHerdSize(int) 33 | * @see org.gemoc.agro.exploitation.ExploitationPackage#getEwe_HerdSize() 34 | * @model 35 | * @generated 36 | */ 37 | int getHerdSize(); 38 | 39 | /** 40 | * Sets the value of the '{@link org.gemoc.agro.exploitation.Ewe#getHerdSize Herd Size}' attribute. 41 | * 42 | * 43 | * @param value the new value of the 'Herd Size' attribute. 44 | * @see #getHerdSize() 45 | * @generated 46 | */ 47 | void setHerdSize(int value); 48 | 49 | } // Ewe 50 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.exploitation/src-gen/org/gemoc/agro/exploitation/impl/CropImpl.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.exploitation.impl; 4 | 5 | import org.eclipse.emf.ecore.EClass; 6 | 7 | import org.gemoc.agro.exploitation.Crop; 8 | import org.gemoc.agro.exploitation.ExploitationPackage; 9 | 10 | /** 11 | * 12 | * An implementation of the model object 'Crop'. 13 | * 14 | *

15 | *

16 | * 17 | * @generated 18 | */ 19 | public class CropImpl extends WorkGroupImpl implements Crop { 20 | /** 21 | * 22 | * 23 | * @generated 24 | */ 25 | protected CropImpl() { 26 | super(); 27 | } 28 | 29 | /** 30 | * 31 | * 32 | * @generated 33 | */ 34 | @Override 35 | protected EClass eStaticClass() { 36 | return ExploitationPackage.Literals.CROP; 37 | } 38 | 39 | } //CropImpl 40 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator.ui/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator.ui/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.generator.ui 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator.ui/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 5 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 6 | org.eclipse.jdt.core.compiler.source=1.5 7 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator.ui/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Acceleo Generator Module IDE Plug-in 4 | Bundle-SymbolicName: org.gemoc.agro.generator.ui;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-Activator: org.gemoc.agro.generator.ui.Activator 7 | Bundle-Vendor: Eclipse Modeling Project 8 | Require-Bundle: org.eclipse.ui, 9 | org.eclipse.core.runtime, 10 | org.eclipse.core.resources, 11 | org.gemoc.agro.generator, 12 | org.eclipse.emf.ecore, 13 | org.eclipse.emf.ecore.xmi, 14 | org.eclipse.ocl, 15 | org.eclipse.ocl.ecore, 16 | org.eclipse.acceleo.model, 17 | org.eclipse.acceleo.engine 18 | Bundle-RequiredExecutionEnvironment: J2SE-1.5 19 | Bundle-ActivationPolicy: lazy 20 | Eclipse-LazyStart: true 21 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator.ui/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | icons/ 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator.ui/icons/default.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.generator.ui/icons/default.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator.ui/src/org/gemoc/agro/generator/ui/Activator.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2008, 2012 Obeo. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Obeo - initial API and implementation 10 | *******************************************************************************/ 11 | package org.gemoc.agro.generator.ui; 12 | 13 | import org.eclipse.ui.plugin.AbstractUIPlugin; 14 | import org.osgi.framework.BundleContext; 15 | 16 | /** 17 | * The activator class controls the plug-in life cycle. 18 | */ 19 | public class Activator extends AbstractUIPlugin { 20 | 21 | /** 22 | * The plug-in ID. 23 | */ 24 | public static final String PLUGIN_ID = "org.gemoc.agro.generator.ui"; 25 | 26 | /** 27 | * The shared instance. 28 | */ 29 | private static Activator plugin; 30 | 31 | /** 32 | * The constructor. 33 | */ 34 | public Activator() { 35 | } 36 | 37 | /**{@inheritDoc} 38 | * 39 | * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) 40 | * @generated 41 | */ 42 | public void start(BundleContext context) throws Exception { 43 | super.start(context); 44 | plugin = this; 45 | } 46 | 47 | /**{@inheritDoc} 48 | * 49 | * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) 50 | * @generated 51 | */ 52 | public void stop(BundleContext context) throws Exception { 53 | plugin = null; 54 | super.stop(context); 55 | } 56 | 57 | /** 58 | * Returns the shared instance. 59 | * 60 | * @return the shared instance 61 | */ 62 | public static Activator getDefault() { 63 | return plugin; 64 | } 65 | 66 | } 67 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.generator 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.acceleo.ide.ui.acceleoBuilder 25 | 26 | 27 | compilation.kind 28 | compilation.platform.resource 29 | 30 | 31 | compliance 32 | pragmatic 33 | 34 | 35 | resource.kind 36 | xmi 37 | 38 | 39 | trim-position 40 | false 41 | 42 | 43 | 44 | 45 | 46 | org.eclipse.acceleo.ide.ui.acceleoNature 47 | org.eclipse.jdt.core.javanature 48 | org.eclipse.pde.PluginNature 49 | 50 | 51 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Acceleo Generator Module Runtime Plug-in 4 | Bundle-SymbolicName: org.gemoc.agro.generator 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-Activator: org.gemoc.agro.generator.Activator 7 | Bundle-Vendor: Eclipse Modeling Project 8 | Require-Bundle: org.eclipse.core.runtime, 9 | org.eclipse.emf.ecore, 10 | org.eclipse.emf.ecore, 11 | org.eclipse.emf.ecore.xmi, 12 | org.eclipse.ocl, 13 | org.eclipse.ocl.ecore, 14 | org.eclipse.acceleo.common;bundle-version="3.3.0", 15 | org.eclipse.acceleo.model;bundle-version="3.3.0", 16 | org.eclipse.acceleo.profiler;bundle-version="3.3.0", 17 | org.eclipse.acceleo.engine;bundle-version="3.3.0", 18 | com.google.guava, 19 | org.gemoc.agro.activities;bundle-version="1.0.0", 20 | org.gemoc.agro.exploitation;bundle-version="0.1.0", 21 | org.gemoc.agro.simulation;bundle-version="1.0.0" 22 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 23 | Bundle-ActivationPolicy: lazy 24 | Eclipse-LazyStart: true 25 | Export-Package: org.gemoc.agro.generator.main 26 | 27 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | jre.compilation.profile = JavaSE-1.7 6 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.generator/src/org/gemoc/agro/generator/main/generate.mtl: -------------------------------------------------------------------------------- 1 | [comment encoding = UTF-8 /] 2 | [module generate('http://www.gemoc.org/agro/ActivitiesDSL', 'http://www.gemoc.org/agro/simulation', 'http://www.gemoc.org/exploitation')] 3 | 4 | 5 | [template public generateHTMLReport(aSimulation : Schedule)] 6 | [comment @main/] 7 | 8 | [file ('schedule.html', false, 'UTF-8')] 9 | 10 | 11 |

Activities Schedule

12 | Exploitation : [self.exploitation.name/] 13 |
    14 | 15 | [for (d : Day | self.climateData.days)] 16 |
  • [d.day/]/[d.month/] : 17 |
      18 | [for (work : ActivityWork | d.eInverse(ActivityWork))] 19 |
    • 20 | [work.activity.name/] planned with resources : [work.eInverse(ResourceAllocation).resource.name->sep(',')/] 21 |
    • 22 | [/for] 23 |
    24 |
  • 25 | [/for] 26 |
27 | 28 | 29 | [/file] 30 | 31 | [/template] 32 | 33 | 34 | 35 | [template public generateHTMLReport(exp : Exploitation)] 36 | [comment @main/] 37 | 38 | [file (exp.name + '.html', false, 'UTF-8')] 39 | 40 | 41 |

Exploitation [exp.name/]

42 |
    43 | [for (d : WorkGroup | self.groups)] 44 |
  • Work Group [name/] : 45 | Cultures 46 |
      47 | [for (ac : Culture | d.cultures)] 48 |
    • 49 | [ac.name/] 50 |
    • 51 | [/for] 52 |
    53 |
  • 54 | [/for] 55 |
56 | 57 | 58 | [/file] 59 | 60 | [/template] 61 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.scientific.edit 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.scientific.edit;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Activator: org.gemoc.agro.scientific.provider.ScientificEditPlugin$Implementation 8 | Bundle-Vendor: %providerName 9 | Bundle-Localization: plugin 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 11 | Export-Package: org.gemoc.agro.scientific.provider 12 | Require-Bundle: org.eclipse.core.runtime, 13 | org.gemoc.agro.scientific;visibility:=reexport, 14 | org.eclipse.emf.edit;visibility:=reexport, 15 | org.gemoc.agro.activities;visibility:=reexport, 16 | org.gemoc.agro.activities.edit;visibility:=reexport, 17 | org.gemoc.agro.exploitation;visibility:=reexport, 18 | org.gemoc.agro.exploitation.edit;visibility:=reexport, 19 | org.gemoc.agro.simulation;visibility:=reexport, 20 | org.gemoc.agro.simulation.edit;visibility:=reexport 21 | Bundle-ActivationPolicy: lazy 22 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | icons/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin/ 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/ctool16/CreateExploitationAnalysis_biomassModels_BiomassModel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/ctool16/CreateExploitationAnalysis_biomassModels_BiomassModel.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/ctool16/CreateExploitationAnalysis_surfaceDatas_SurfaceData.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/ctool16/CreateExploitationAnalysis_surfaceDatas_SurfaceData.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | PreviewsShown=true 3 | Timestamp=2015,6,8,12,13,28 4 | Version=3 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_gray.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev1.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev2.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev4.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev5.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev6.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev7.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/BiomassModel_128_lev8.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/ExploitationAnalysis.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/ExploitationAnalysis.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/ExploitationAnalysis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/ExploitationAnalysis.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/SurfaceData.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/SurfaceData.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/SurfaceData.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.edit/icons/full/obj16/SurfaceData.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.edit/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.editor/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.editor/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.scientific.editor 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.editor/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.scientific.editor;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Activator: org.gemoc.agro.scientific.presentation.ScientificEditorPlugin$Implementation 8 | Bundle-Vendor: %providerName 9 | Bundle-Localization: plugin 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 11 | Export-Package: org.gemoc.agro.scientific.presentation 12 | Require-Bundle: org.eclipse.core.runtime, 13 | org.eclipse.core.resources;visibility:=reexport, 14 | org.gemoc.agro.scientific.edit;visibility:=reexport, 15 | org.eclipse.emf.ecore.xmi;visibility:=reexport, 16 | org.eclipse.emf.edit.ui;visibility:=reexport, 17 | org.eclipse.ui.ide;visibility:=reexport, 18 | org.gemoc.agro.activities.edit;visibility:=reexport, 19 | org.gemoc.agro.exploitation.edit;visibility:=reexport, 20 | org.eclipse.sirius;bundle-version="2.0.5", 21 | org.eclipse.emf.transaction;bundle-version="1.8.0" 22 | Bundle-ActivationPolicy: lazy 23 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.editor/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | icons/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.editor/icons/full/obj16/ScientificModelFile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.editor/icons/full/obj16/ScientificModelFile.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific.editor/icons/full/wizban/NewScientific.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.scientific.editor/icons/full/wizban/NewScientific.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.scientific 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.sirius.nature.modelingproject 26 | org.eclipse.pde.PluginNature 27 | org.eclipse.jdt.core.javanature 28 | 29 | 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.scientific;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Vendor: %providerName 8 | Bundle-Localization: plugin 9 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 10 | Export-Package: org.gemoc.agro.scientific, 11 | org.gemoc.agro.scientific.impl, 12 | org.gemoc.agro.scientific.util 13 | Require-Bundle: org.eclipse.core.runtime, 14 | org.eclipse.emf.ecore;visibility:=reexport, 15 | org.gemoc.agro.activities;visibility:=reexport, 16 | org.gemoc.agro.exploitation;visibility:=reexport, 17 | org.gemoc.agro.simulation;visibility:=reexport 18 | Bundle-ActivationPolicy: lazy 19 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | model/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin/ 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/plugin.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | pluginName = Scientific Model 4 | providerName = www.example.org 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/src-gen/org/gemoc/agro/scientific/ScientificFactory.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.scientific; 4 | 5 | import org.eclipse.emf.ecore.EFactory; 6 | 7 | /** 8 | * 9 | * The Factory for the model. 10 | * It provides a create method for each non-abstract class of the model. 11 | * 12 | * @see org.gemoc.agro.scientific.ScientificPackage 13 | * @generated 14 | */ 15 | public interface ScientificFactory extends EFactory { 16 | /** 17 | * The singleton instance of the factory. 18 | * 19 | * 20 | * @generated 21 | */ 22 | ScientificFactory eINSTANCE = org.gemoc.agro.scientific.impl.ScientificFactoryImpl.init(); 23 | 24 | /** 25 | * Returns a new object of class 'Surface Data'. 26 | * 27 | * 28 | * @return a new object of class 'Surface Data'. 29 | * @generated 30 | */ 31 | SurfaceData createSurfaceData(); 32 | 33 | /** 34 | * Returns a new object of class 'Biomass Model'. 35 | * 36 | * 37 | * @return a new object of class 'Biomass Model'. 38 | * @generated 39 | */ 40 | BiomassModel createBiomassModel(); 41 | 42 | /** 43 | * Returns a new object of class 'Exploitation Analysis'. 44 | * 45 | * 46 | * @return a new object of class 'Exploitation Analysis'. 47 | * @generated 48 | */ 49 | ExploitationAnalysis createExploitationAnalysis(); 50 | 51 | /** 52 | * Returns the package supported by this factory. 53 | * 54 | * 55 | * @return the package supported by this factory. 56 | * @generated 57 | */ 58 | ScientificPackage getScientificPackage(); 59 | 60 | } //ScientificFactory 61 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.scientific/src/org/gemoc/agro/scientific/Calculator.java: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.scientific; 2 | import org.gemoc.agro.simulation.Day; 3 | 4 | public class Calculator { 5 | 6 | 7 | /** 8 | * CALCUL DE L'INDEX de la SURFACE FOLIAIRE 9 | */ 10 | public static double calculateLAI(Day dday, double STeveValue, double LMax, double A, double Ti, double B){ 11 | double e1 = 1/(Math.exp(-A*(calculateSt(STeveValue,dday)-Ti))+1); 12 | double e2 = Math.exp(B*(calculateSt(STeveValue,dday)-calculateTr(A, B, Ti))); 13 | return LMax*(e1-e2); 14 | } 15 | 16 | public static double calculateLAI(Day dday,double STeveValue, BiomassModel culture){ 17 | return calculateLAI(dday, STeveValue, culture.getLmax(), culture.getA(), culture.getTI(), culture.getB()); 18 | } 19 | 20 | /** 21 | * CALCUL DE LA BIOMASS 22 | */ 23 | public static double calculateBiomass(double eveValue, Day dday, double eB, double eImax, double K, double LAI){ 24 | /* 25 | * this divide is here to change unit and avoid double overflow. 26 | */ 27 | double PAR = dday.getRay() / 100; 28 | return eveValue+(eImax*(1-Math.exp(-K*LAI))*eB*PAR); 29 | } 30 | 31 | public static double calculateBiomass(double eveValue, Day dday, BiomassModel culture){ 32 | return calculateBiomass(eveValue, dday, culture.getEb(),culture.getEimax(),culture.getK(),calculateLAI(dday,eveValue, culture)); 33 | } 34 | 35 | /** 36 | * CALCUL INTERMEDIAIRE 37 | */ 38 | public static double calculateTr(double A, double B, double Ti){ 39 | return (1/B)*Math.log(1+Math.exp(A*Ti)); 40 | } 41 | 42 | public static double calculateTr(BiomassModel culture){ 43 | return calculateTr(culture.getA(),culture.getB(),culture.getTI()); 44 | } 45 | 46 | 47 | public static double calculateSt(double eveValue,Day dday){ 48 | return eveValue+dday.getTemperature(); 49 | } 50 | 51 | 52 | } -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.simulation.edit 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.simulation.edit;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Activator: org.gemoc.agro.simulation.provider.SimulationEditPlugin$Implementation 8 | Bundle-Vendor: %providerName 9 | Bundle-Localization: plugin 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 11 | Export-Package: org.gemoc.agro.simulation.provider 12 | Require-Bundle: org.eclipse.core.runtime, 13 | org.gemoc.agro.simulation;visibility:=reexport, 14 | org.eclipse.emf.edit;visibility:=reexport, 15 | org.gemoc.agro.activities;visibility:=reexport, 16 | org.gemoc.agro.activities.edit;visibility:=reexport, 17 | org.gemoc.agro.exploitation;visibility:=reexport, 18 | org.gemoc.agro.exploitation.edit;visibility:=reexport 19 | Bundle-ActivationPolicy: lazy 20 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | icons/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin/ 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateActivityWork_schedulingFeedback_SchedulingFeedback.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateActivityWork_schedulingFeedback_SchedulingFeedback.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateClimateData_days_Day.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateClimateData_days_Day.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateDay_activitiesWork_ActivityWork.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateDay_activitiesWork_ActivityWork.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateDay_climate_Climate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateDay_climate_Climate.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSchedule_allocations_ResourceAllocation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSchedule_allocations_ResourceAllocation.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSchedule_workToDo_ActivityWork.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSchedule_workToDo_ActivityWork.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_climate_ClimateDefinition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_climate_ClimateDefinition.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_days_Day.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_days_Day.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_planning_Day.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_planning_Day.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_workToDo_ActivityWork.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/ctool16/CreateSimulation_workToDo_ActivityWork.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | PreviewsShown=true 3 | Timestamp=2015,6,8,9,15,59 4 | Version=3 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ActivityWork.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ActivityWork.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ActivityWork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ActivityWork.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Climate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Climate.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ClimateData.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ClimateData.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ClimateDefinition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ClimateDefinition.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Day.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Day.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Day.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ResourceAllocation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ResourceAllocation.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ResourceAllocation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/ResourceAllocation.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule_128.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule_128_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Schedule_128_active.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/SchedulingFeedback.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/SchedulingFeedback.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/SchedulingFeedback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/SchedulingFeedback.png -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Simulation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.edit/icons/full/obj16/Simulation.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.edit/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.editor/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.editor/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.simulation.editor 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.editor/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.simulation.editor;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Activator: org.gemoc.agro.simulation.presentation.SimulationEditorPlugin$Implementation 8 | Bundle-Vendor: %providerName 9 | Bundle-Localization: plugin 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 11 | Export-Package: org.gemoc.agro.simulation.presentation 12 | Require-Bundle: org.eclipse.core.runtime, 13 | org.eclipse.core.resources;visibility:=reexport, 14 | org.gemoc.agro.simulation.edit;visibility:=reexport, 15 | org.eclipse.emf.ecore.xmi;visibility:=reexport, 16 | org.eclipse.emf.edit.ui;visibility:=reexport, 17 | org.eclipse.ui.ide;visibility:=reexport, 18 | org.gemoc.agro.activities.edit;visibility:=reexport, 19 | org.gemoc.agro.exploitation.edit;visibility:=reexport, 20 | org.eclipse.ui, 21 | org.eclipse.sirius;bundle-version="2.0.5", 22 | org.eclipse.emf.transaction;bundle-version="1.8.0", 23 | org.eclipse.sirius.ui;bundle-version="2.0.5" 24 | Bundle-ActivationPolicy: lazy 25 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.editor/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | icons/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties 8 | jars.compile.order = . 9 | source.. = src-gen/ 10 | output.. = bin 11 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.editor/icons/full/obj16/SimulationModelFile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.editor/icons/full/obj16/SimulationModelFile.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.editor/icons/full/wizban/NewSimulation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation.editor/icons/full/wizban/NewSimulation.gif -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.tests/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.tests/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.simulation.tests 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jdt.core.javanature 26 | org.eclipse.pde.PluginNature 27 | 28 | 29 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.tests/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.simulation.tests;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: . 7 | Bundle-Vendor: %providerName 8 | Bundle-Localization: plugin 9 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 10 | Export-Package: org.gemoc.agro.simulation.tests 11 | Require-Bundle: org.eclipse.core.runtime, 12 | org.gemoc.agro.simulation;visibility:=reexport, 13 | org.gemoc.agro.activities;visibility:=reexport, 14 | org.gemoc.agro.exploitation;visibility:=reexport, 15 | org.eclipse.emf.ecore.xmi;visibility:=reexport, 16 | org.junit;visibility:=reexport 17 | Bundle-ActivationPolicy: lazy 18 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.tests/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | META-INF/,\ 5 | plugin.properties 6 | jars.compile.order = . 7 | source.. = src/ 8 | output.. = bin/ 9 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.tests/plugin.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | pluginName = Simulation Tests 4 | providerName = www.example.org 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.tests/src/org/gemoc/agro/simulation/tests/SimulationAllTests.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.simulation.tests; 4 | 5 | import junit.framework.Test; 6 | import junit.framework.TestSuite; 7 | 8 | import junit.textui.TestRunner; 9 | 10 | /** 11 | * 12 | * A test suite for the 'Schedule' model. 13 | * 14 | * @generated 15 | */ 16 | public class SimulationAllTests extends TestSuite { 17 | 18 | /** 19 | * 20 | * 21 | * @generated 22 | */ 23 | public static void main(String[] args) { 24 | TestRunner.run(suite()); 25 | } 26 | 27 | /** 28 | * 29 | * 30 | * @generated 31 | */ 32 | public static Test suite() { 33 | TestSuite suite = new SimulationAllTests("Simulation Tests"); 34 | return suite; 35 | } 36 | 37 | /** 38 | * 39 | * 40 | * @generated 41 | */ 42 | public SimulationAllTests(String name) { 43 | super(name); 44 | } 45 | 46 | } //SimulationAllTests 47 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation.tests/src/org/gemoc/agro/simulation/tests/SimulationTests.java: -------------------------------------------------------------------------------- 1 | /** 2 | */ 3 | package org.gemoc.agro.simulation.tests; 4 | 5 | import junit.framework.Test; 6 | import junit.framework.TestSuite; 7 | 8 | import junit.textui.TestRunner; 9 | 10 | /** 11 | * 12 | * A test suite for the 'simulation' package. 13 | * 14 | * @generated 15 | */ 16 | public class SimulationTests extends TestSuite { 17 | 18 | /** 19 | * 20 | * 21 | * @generated 22 | */ 23 | public static void main(String[] args) { 24 | TestRunner.run(suite()); 25 | } 26 | 27 | /** 28 | * 29 | * 30 | * @generated 31 | */ 32 | public static Test suite() { 33 | TestSuite suite = new SimulationTests("simulation Tests"); 34 | return suite; 35 | } 36 | 37 | /** 38 | * 39 | * 40 | * @generated 41 | */ 42 | public SimulationTests(String name) { 43 | super(name); 44 | } 45 | 46 | } //SimulationTests 47 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.gemoc.agro.simulation 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.sirius.nature.modelingproject 26 | org.eclipse.jdt.core.javanature 27 | org.eclipse.pde.PluginNature 28 | 29 | 30 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | formatter_profile=_Compact 3 | formatter_settings_version=12 4 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: %pluginName 4 | Bundle-SymbolicName: org.gemoc.agro.simulation;singleton:=true 5 | Bundle-Version: 1.0.0.qualifier 6 | Bundle-ClassPath: ., 7 | lib/slf4j-api-1.7.2.jar, 8 | lib/drools-core-6.2.0.Final.jar, 9 | lib/commons-math3-3.2.jar, 10 | lib/commons-lang-2.6.jar, 11 | lib/xstream-1.4.7.jar, 12 | lib/xmlpull-1.1.3.1.jar, 13 | lib/kie-api-6.2.0.Final.jar, 14 | lib/commons-codec-1.4.jar, 15 | lib/commons-io-2.1.jar, 16 | lib/xml-apis-1.3.04.jar, 17 | lib/xmlbeans-2.3.0.jar, 18 | lib/xpp3_min-1.1.4c.jar, 19 | lib/optaplanner-core-6.2.0.Final.jar 20 | Bundle-Vendor: %providerName 21 | Bundle-Localization: plugin 22 | Bundle-RequiredExecutionEnvironment: JavaSE-1.7 23 | Export-Package: org.gemoc.agro.simulation, 24 | org.gemoc.agro.simulation.impl, 25 | org.gemoc.agro.simulation.solver, 26 | org.gemoc.agro.simulation.util 27 | Require-Bundle: org.eclipse.core.runtime, 28 | org.eclipse.emf.ecore;visibility:=reexport, 29 | org.gemoc.agro.activities;visibility:=reexport, 30 | org.gemoc.agro.exploitation;visibility:=reexport 31 | Bundle-ActivationPolicy: lazy 32 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/NOTES.textile: -------------------------------------------------------------------------------- 1 | 2 | h1. Output 3 | 4 | 5 | Planning des personnes 6 | 7 | Planning des irrigations 8 | 9 | 10 | TODOs : 11 | 12 | * icones/nommages (tout français) 13 | * Modèle scientifique (les paramétrages INRA/fonctions de modélisation) 14 | * Calcul de la biomasse pour un calendrier donné. 15 | * animation de la vue principale pour montrer les resources utilisées. 16 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | bin.includes = .,\ 4 | model/,\ 5 | META-INF/,\ 6 | plugin.xml,\ 7 | plugin.properties,\ 8 | lib/slf4j-api-1.7.2.jar,\ 9 | lib/drools-core-6.2.0.Final.jar,\ 10 | lib/commons-math3-3.2.jar,\ 11 | lib/commons-lang-2.6.jar,\ 12 | lib/xstream-1.4.7.jar,\ 13 | lib/xmlpull-1.1.3.1.jar,\ 14 | lib/kie-api-6.2.0.Final.jar,\ 15 | lib/commons-codec-1.4.jar,\ 16 | lib/commons-io-2.1.jar,\ 17 | lib/xml-apis-1.3.04.jar,\ 18 | lib/xmlbeans-2.3.0.jar,\ 19 | lib/xpp3_min-1.1.4c.jar,\ 20 | lib/optaplanner-core-6.2.0.Final.jar 21 | jars.compile.order = . 22 | source.. = src-gen/,\ 23 | src/ 24 | output.. = bin/ 25 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/commons-codec-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/commons-codec-1.4.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/commons-io-2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/commons-io-2.1.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/commons-lang-2.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/commons-lang-2.6.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/commons-math3-3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/commons-math3-3.2.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/drools-core-6.2.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/drools-core-6.2.0.Final.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/kie-api-6.2.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/kie-api-6.2.0.Final.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/optaplanner-core-6.2.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/optaplanner-core-6.2.0.Final.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/slf4j-api-1.7.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/slf4j-api-1.7.2.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/xml-apis-1.3.04.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/xml-apis-1.3.04.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/xmlbeans-2.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/xmlbeans-2.3.0.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/xmlpull-1.1.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/xmlpull-1.1.3.1.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/xpp3_min-1.1.4c.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/xpp3_min-1.1.4c.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/lib/xstream-1.4.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/dev/language_workbench/org.gemoc.agro.simulation/lib/xstream-1.4.7.jar -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/plugin.properties: -------------------------------------------------------------------------------- 1 | # 2 | 3 | pluginName = Simulation Model 4 | providerName = www.example.org 5 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 18 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/src/org/gemoc/agro/simulation/resource/ClimateDataResourceFactoryImpl.java: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.simulation.resource; 2 | 3 | import org.eclipse.emf.common.util.URI; 4 | import org.eclipse.emf.ecore.resource.Resource; 5 | import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; 6 | 7 | public class ClimateDataResourceFactoryImpl extends ResourceFactoryImpl { 8 | 9 | @Override 10 | public Resource createResource(URI uri) { 11 | return new ClimateDataResourceImpl(uri); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/src/org/gemoc/agro/simulation/solver/ActivityWorkDifficultyComparator.java: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.simulation.solver; 2 | 3 | import java.io.Serializable; 4 | import java.util.Comparator; 5 | 6 | import org.gemoc.agro.simulation.ActivityWork; 7 | 8 | public class ActivityWorkDifficultyComparator implements 9 | Comparator, Serializable { 10 | 11 | public int compare(ActivityWork a, ActivityWork b) { 12 | if (hasStartEnd(a) && ! hasStartEnd(b)) { 13 | /* 14 | * a is harder than b and should be upper 15 | */ 16 | return 1; 17 | } 18 | if (hasStartEnd(b) && !hasStartEnd(a)) { 19 | /* 20 | * b is harder than a so a should be lower 21 | */ 22 | return -1; 23 | } 24 | return 0; 25 | // return new CompareToBuilder().append(a.getScheduledOn(), 26 | // b.getScheduledOn()).toComparison(); 27 | } 28 | 29 | private boolean hasStartEnd(ActivityWork a) { 30 | return a.getActivity().getStartDate()!=null && a.getActivity().getEndDate()!=null; 31 | } 32 | 33 | } -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/src/org/gemoc/agro/simulation/solver/ResourceAllocationDifficultyComparator.java: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.simulation.solver; 2 | 3 | import java.io.Serializable; 4 | import java.util.Comparator; 5 | 6 | import org.gemoc.agro.simulation.ResourceAllocation; 7 | 8 | public class ResourceAllocationDifficultyComparator implements 9 | Comparator, Serializable { 10 | 11 | public int compare(ResourceAllocation a, ResourceAllocation b) { 12 | return 0; 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/src/org/gemoc/agro/simulation/solver/ResourceAllocationMoveFilter.java: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.simulation.solver; 2 | 3 | import org.gemoc.agro.exploitation.Resource; 4 | import org.gemoc.agro.simulation.ResourceAllocation; 5 | import org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter; 6 | import org.optaplanner.core.impl.heuristic.selector.move.generic.ChangeMove; 7 | import org.optaplanner.core.impl.score.director.ScoreDirector; 8 | 9 | public class ResourceAllocationMoveFilter implements 10 | SelectionFilter { 11 | 12 | public boolean accept(ScoreDirector scoreDirector, ChangeMove move) { 13 | 14 | ResourceAllocation allocation = (ResourceAllocation) move.getEntity(); 15 | Resource resource = (Resource) move.getToPlanningValue(); 16 | 17 | return allocation.getKind() == resource.getKind(); 18 | 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /dev/language_workbench/org.gemoc.agro.simulation/src/org/gemoc/agro/simulation/solver/ScheduledDateMoveFilter.java: -------------------------------------------------------------------------------- 1 | package org.gemoc.agro.simulation.solver; 2 | 3 | import org.gemoc.agro.activitiesDSL.Date; 4 | import org.gemoc.agro.simulation.ActivityWork; 5 | import org.gemoc.agro.simulation.Day; 6 | import org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionFilter; 7 | import org.optaplanner.core.impl.heuristic.selector.move.generic.ChangeMove; 8 | import org.optaplanner.core.impl.score.director.ScoreDirector; 9 | 10 | public class ScheduledDateMoveFilter implements SelectionFilter { 11 | 12 | public boolean accept(ScoreDirector scoreDirector, ChangeMove move) { 13 | 14 | /* 15 | * we should return true if the given day is in the range of the possible 16 | * ones. 17 | */ 18 | ActivityWork work = (ActivityWork) move.getEntity(); 19 | Day day = (Day) move.getToPlanningValue(); 20 | 21 | int scheduledDay = AgroScoreCalculator.numberOfDayInYear(day); 22 | 23 | boolean startInRange = false; 24 | boolean endInRange = false; 25 | 26 | Date minimumDayToStart = work.getActivity().getStartDate(); 27 | Date maximumDayToStart = work.getActivity().getEndDate(); 28 | 29 | if (minimumDayToStart != null) { 30 | int minDayToStart = AgroScoreCalculator 31 | .numberOfDayInYear(minimumDayToStart); 32 | startInRange = !(scheduledDay < minDayToStart); 33 | } else { 34 | startInRange = true; 35 | } 36 | if (maximumDayToStart != null) { 37 | int maxDayToStart = AgroScoreCalculator.numberOfDayInYear(work 38 | .getActivity().getEndDate()); 39 | endInRange = !(scheduledDay > maxDayToStart); 40 | 41 | } else { 42 | endInRange = true; 43 | } 44 | 45 | return startInRange && endInRange; 46 | 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /dev/modeling_workbench/John/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | John 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.xtext.ui.shared.xtextBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.sirius.nature.modelingproject 16 | org.eclipse.xtext.ui.shared.xtextNature 17 | 18 | 19 | -------------------------------------------------------------------------------- /dev/modeling_workbench/John/definitions.activities: -------------------------------------------------------------------------------- 1 | culture corn { 2 | 3 | activity SOW from 15 mar to 15 apr [ 4 | no rain since 3 days && 5 | temperature > 10 °C 6 | ] using 1 Tractor and 2 People 7 | 8 | activity WEED weekly from 15 jun to 15 aug [ 9 | after SOW 10 | ] using 1 Tractor and 1 People 11 | 12 | activity FERTILIZATION from 15 mar to 15 jun [ 13 | after SOW is done since 30 days && 14 | no rain since 1 days 15 | ] using 1 Tractor and 1 People 16 | 17 | activity HARVEST from 1 sept to 30 sept [ 18 | grain is "mature" && 19 | after SOW 20 | ] using 1 Tractor and 2 People 21 | 22 | } 23 | 24 | 25 | culture wheat { 26 | 27 | activity PLOUGH from 1 sept to 30 sept [ 28 | no rain since 3 days 29 | ] using 1 Tractor and 1 People 30 | 31 | activity SOW from 1 oct to 31 oct [ 32 | after PLOUGH && 33 | no rain since 3 days && 34 | temperature > 5°C 35 | ] using 1 Tractor and 1 People 36 | 37 | activity FERTILIZATION from 1 feb to 28 feb [ 38 | after SOW is done since 30 days && 39 | no rain since 1 days 40 | ] using 1 Tractor and 1 People 41 | 42 | activity HARVEST from 1 jun to 30 jun [ 43 | grain is "mature" && 44 | after SOW 45 | ] using 1 Tractor and 1 People 46 | 47 | } 48 | 49 | culture sorgho { 50 | activity PLOUGH from 1 jan to 30 mar [ 51 | no rain since 3 days 52 | ] using 1 Tractor and 1 People 53 | 54 | activity SOW from 1 may to 15 may [ 55 | after PLOUGH && 56 | no rain since 5 days && 57 | temperature > 5 °C 58 | ] using 1 Tractor and 1 People 59 | 60 | activity HARVEST from 1 oct to 15 oct [ 61 | grain is "mature" 62 | 63 | ] using 1 Tractor and 1 People 64 | } 65 | 66 | 67 | resource Tractor 68 | 69 | resource People -------------------------------------------------------------------------------- /dev/modeling_workbench/John/estate.exploitation: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /dev/modeling_workbench/MyExploitation/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | MyExploitation 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.xtext.ui.shared.xtextBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.sirius.nature.modelingproject 16 | org.eclipse.xtext.ui.shared.xtextNature 17 | 18 | 19 | -------------------------------------------------------------------------------- /dev/modeling_workbench/MyExploitation/John.exploitation: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /dev/modeling_workbench/MyExploitation/cultures.activities: -------------------------------------------------------------------------------- 1 | culture corn { 2 | 3 | activity LABOUR from 1 jan to 28 feb 4 | using 1 Tractor and 1 People 5 | 6 | 7 | activity SOW from 15 mar to 15 apr [ 8 | after LABOUR && 9 | no rain since 3 days && 10 | temperature > 10 °C 11 | ] using 1 Tractor and 2 People 12 | 13 | activity WEED weekly from 15 jun to 15 aug [ 14 | after SOW 15 | ] using 1 Tractor and 1 People 16 | 17 | activity FERTILIZATION from 15 mar to 15 jun [ 18 | after SOW is done since 30 days && 19 | no rain since 1 days 20 | ] using 1 Tractor and 1 People 21 | 22 | activity HARVEST from 1 sept to 30 sept [ 23 | grain is "mature" && 24 | after SOW 25 | ] using 1 Tractor and 2 People 26 | 27 | } 28 | 29 | culture wheat { 30 | 31 | activity PLOUGH from 1 sept to 30 sept [ 32 | no rain since 3 days 33 | ] using 1 Tractor and 1 People 34 | 35 | activity SOW from 1 oct to 31 oct [ 36 | after PLOUGH && 37 | no rain since 3 days && 38 | temperature > 5°C 39 | ] using 1 Tractor and 1 People 40 | 41 | activity FERTILIZATION from 1 feb to 28 feb [ 42 | after SOW is done since 30 days && 43 | no rain since 1 days 44 | ] using 1 Tractor and 1 People 45 | 46 | activity HARVEST from 1 jun to 30 jun [ 47 | grain is "mature" && 48 | after SOW 49 | ] using 1 Tractor and 1 People 50 | 51 | } 52 | 53 | culture sorgho { 54 | activity PLOUGH from 1 jan to 30 mar [ 55 | no rain since 3 days 56 | ] using 1 Tractor and 1 People 57 | 58 | activity SEMIS from 1 may to 15 may [ 59 | after PLOUGH && 60 | no rain since 5 days && 61 | temperature > 5 °C 62 | ] using 1 Tractor and 1 People 63 | 64 | activity HARVEST from 1 oct to 15 oct [ 65 | grain is "mature" 66 | 67 | ] using 1 Tractor and 1 People 68 | } 69 | 70 | 71 | resource Tractor 72 | 73 | resource People -------------------------------------------------------------------------------- /materials/2015-06-Modeling-for-Sustainability-INRASeminar-combemale.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/materials/2015-06-Modeling-for-Sustainability-INRASeminar-combemale.pdf -------------------------------------------------------------------------------- /materials/FarmingModeling-UseCase-Description.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/materials/FarmingModeling-UseCase-Description.docx -------------------------------------------------------------------------------- /materials/modeling4sustainability-vision-draft.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gemoc/farmingmodeling/35299f5c04a73b86cd2a509645c4956a1c0f49a2/materials/modeling4sustainability-vision-draft.pdf --------------------------------------------------------------------------------