Generate{Rule,Script}.mwe2: do not create ScopeProvider.xtend stubs (#5506)

This commit is contained in:
Дилян Палаузов
2026-04-21 15:01:30 +02:00
committed by GitHub
parent 383c5fd43f
commit aa3ba46d09
4 changed files with 6 additions and 54 deletions
@@ -51,6 +51,9 @@ Workflow {
fileExtensions = fileExtensions
referencedResource = "platform:/resource/org.openhab.core.model.script/model/generated/Script.ecore"
referencedResource = "platform:/resource/org.openhab.core.model.script/model/generated/Script.genmodel"
scopeProvider = {
generateStub = false
}
serializer = {
generateStub = false
}
@@ -1,27 +0,0 @@
/*
* Copyright (c) 2010-2026 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
/*
* generated by Xtext 2.12.0
*/
package org.openhab.core.model.rule.scoping
/**
* This class contains custom scoping description.
*
* See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping
* on how and when to use it.
*/
class RulesScopeProvider extends AbstractRulesScopeProvider {
}
@@ -49,6 +49,9 @@ Workflow {
language = StandardLanguage {
name = languageName
fileExtensions = fileExtensions
scopeProvider = {
generateStub = false
}
serializer = {
generateStub = false
}
@@ -1,27 +0,0 @@
/*
* Copyright (c) 2010-2026 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
/*
* generated by Xtext 2.12.0
*/
package org.openhab.core.model.script.scoping
/**
* This class contains custom scoping description.
*
* See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping
* on how and when to use it.
*/
class ScriptScopeProvider extends AbstractScriptScopeProvider {
}