Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

- https://github.com/eclipse-syson/syson/issues/1628[#1628] [services] Introduce new services organization.
https://doc.mbse-syson.org/syson/main/developer-guide/index.html#services_organization[See the developer guide in the documentation for more details].
Also introduces new `ServiceMethod` helper class to build AQL service call expressions from type-safe Java method references instead of hardcoded strings.
- [services] _isActor(Element)_ has been moved from `ViewNodeService` to `ElementQueryService`.

=== Dependency update

Expand Down Expand Up @@ -44,6 +46,7 @@ https://doc.mbse-syson.org/syson/main/developer-guide/index.html#services_organi
- https://github.com/eclipse-syson/syson/issues/1587[#1587] [diagrams] Handle `ActionUsage` and `ActionDefinition` parameters as graphical border nodes.
- https://github.com/eclipse-syson/syson/issues/1628[#1628] [services] Introduce new services organization.
https://doc.mbse-syson.org/syson/main/developer-guide/index.html#services_organization[See the developer guide in the documentation for more details].
Also introduces new `ServiceMethod` helper class to build AQL service call expressions from type-safe Java method references instead of hardcoded strings.
- https://github.com/eclipse-syson/syson/issues/1606[#1606] [explorer] Display the _shortName_ of `Elements` as part of the label in the _Explorer_ view.

== v2025.10.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
import org.eclipse.sirius.components.view.widget.reference.ReferenceFactory;
import org.eclipse.sirius.components.view.widget.reference.ReferenceWidgetDescription;
import org.eclipse.syson.application.services.DetailsViewService;
import org.eclipse.syson.form.services.FormMutationAQLService;
import org.eclipse.syson.form.services.FormQueryAQLService;
import org.eclipse.syson.model.services.ModelMutationAQLService;
import org.eclipse.syson.model.services.ModelQueryAQLService;
import org.eclipse.syson.form.services.aql.FormMutationAQLService;
import org.eclipse.syson.form.services.aql.FormQueryAQLService;
import org.eclipse.syson.model.services.aql.ModelMutationAQLService;
import org.eclipse.syson.model.services.aql.ModelQueryAQLService;
import org.eclipse.syson.services.UtilService;
import org.eclipse.syson.sysml.SysmlPackage;
import org.eclipse.syson.sysml.helper.LabelConstants;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.diagram.services;
package org.eclipse.syson.diagram.services.aql;

/**
* Entry point for all diagram-related services doing mutations in diagrams and called by AQL expressions in diagram
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.diagram.services;
package org.eclipse.syson.diagram.services.aql;

/**
* Entry point for all diagram-related services doing queries in diagrams and called by AQL expressions in diagram
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.form.services;
package org.eclipse.syson.form.services.aql;

/**
* Entry point for all form-related services doing mutations in forms and called by AQL expressions in form
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.form.services;
package org.eclipse.syson.form.services.aql;

/**
* Entry point for all form-related services doing queries in forms and called by AQL expressions in form descriptions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.model.services;
package org.eclipse.syson.model.services.aql;

/**
* Entry point for all model-related services doing mutations in models and called by AQL expressions in representation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.model.services;
package org.eclipse.syson.model.services.aql;

import org.eclipse.syson.sysml.Element;
import org.eclipse.syson.sysml.metamodel.services.ElementQueryService;

/**
* Entry point for all model-related services doing queries in models and called by AQL expressions in representation
Expand All @@ -20,4 +23,16 @@
*/
public class ModelQueryAQLService {

private final ElementQueryService elementQueryService;

public ModelQueryAQLService() {
this.elementQueryService = new ElementQueryService();
}

/**
* {@link ElementQueryService#isActor(Element)}.
*/
public boolean isActor(Element element) {
return this.elementQueryService.isActor(element);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.representation.services;
package org.eclipse.syson.representation.services.aql;

/**
* Entry point for all representation-related services doing mutations in representations and called by AQL expressions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.syson.representation.services;
package org.eclipse.syson.representation.services.aql;

/**
* Entry point for all representation-related services doing queries in representations and called by AQL expressions in
Expand Down
Loading
Loading