Skip to content

Commit 7749d23

Browse files
Fix: Capabilities in Trequirement property page are listed again
1 parent 935250a commit 7749d23

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/handlers/propertypages/serviceTemplate/TRequirementDefinitionPropertyPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void update(IModulePropertyTable table) {
7272
table.addProperty("Name", _element.getElement().getName());
7373
// Capability
7474
table.addProperty("Capability", this._element.getCapability() != null ? this._element.getCapability().getElement() : null,
75-
Arrays.asList(Metamodel.getMClass("Attribute")), new IMObjectFilter() {
75+
Arrays.asList(Metamodel.getMClass("Class")), new IMObjectFilter() {
7676
@Override
7777
public boolean accept(MObject element) {
7878
return TCapabilityDefinition.canInstantiate(element);
-47 Bytes
Binary file not shown.
-16 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)