-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#91 Fixed transition for FilteringCriterionRulePkg
- Loading branch information
1 parent
04dbccd
commit 0386434
Showing
4 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...sition/src/org/polarsys/capella/filtering/transition/rules/FilteringCriterionRulePkg.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2023 THALES GLOBAL SERVICES. | ||
* | ||
* 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 | ||
* | ||
* Contributors: | ||
* Thales - initial API and implementation | ||
*******************************************************************************/ | ||
package org.polarsys.capella.filtering.transition.rules; | ||
|
||
import org.eclipse.emf.ecore.EClass; | ||
import org.eclipse.emf.ecore.EObject; | ||
import org.polarsys.capella.common.data.modellingcore.ModellingcorePackage; | ||
import org.polarsys.capella.core.transition.common.rules.AbstractUpdateRule; | ||
import org.polarsys.capella.filtering.FilteringPackage; | ||
import org.polarsys.kitalpha.transposer.rules.handler.rules.api.IContext; | ||
|
||
public class FilteringCriterionRulePkg extends AbstractUpdateRule { | ||
|
||
public FilteringCriterionRulePkg() { | ||
registerUpdatedAttribute(ModellingcorePackage.Literals.ABSTRACT_NAMED_ELEMENT__NAME); | ||
} | ||
|
||
@Override | ||
protected EClass getSourceType() { | ||
return FilteringPackage.Literals.FILTERING_CRITERION_PKG; | ||
} | ||
|
||
@Override | ||
public EClass getTargetType(EObject element, IContext context) { | ||
return FilteringPackage.Literals.FILTERING_CRITERION_PKG; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters