Skip to content
Snippets Groups Projects
Commit 8ea2c880 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

adapts the UI service to the new metamodel

refs 2726
parent 94bc5ccc
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,6 @@ import org.fortiss.tooling.kernel.extension.data.ITopLevelElement;
import org.fortiss.tooling.kernel.introspection.IIntrospectionDetailsItem;
import org.fortiss.tooling.kernel.introspection.IIntrospectionItem;
import org.fortiss.tooling.kernel.introspection.IIntrospectiveKernelService;
import org.fortiss.tooling.kernel.model.constraints.ConstrainedWithChecksum;
import org.fortiss.tooling.kernel.model.constraints.ConstraintInstance;
import org.fortiss.tooling.kernel.model.constraints.ConstraintsPackage;
import org.fortiss.tooling.kernel.model.constraints.IConstrained;
......@@ -57,7 +56,7 @@ import org.fortiss.tooling.kernel.utils.LoggingUtils;
* @author aravantinos
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: D38D244E6AED6DA57EE9D8FC324ECAE0
* @ConQAT.Rating YELLOW Hash: CF308FB5D940BDE66B0255F9985C55EE
*/
public final class ConstraintUIService implements IConstraintUIService, IIntrospectiveKernelService {
......@@ -183,8 +182,7 @@ public final class ConstraintUIService implements IConstraintUIService, IIntrosp
@Override
public void install(ConstraintInstance ci) {
triggerMarkersRefresh(ci);
for(ConstrainedWithChecksum cwc : ci.getConstrainedsWithChecksum()) {
IConstrained constrained = cwc.getConstrained();
for(IConstrained constrained : ci.getConstraineds()) {
Adapter currentAdapter = constrainedAdapterMap.get(constrained);
if(currentAdapter == null) {
currentAdapter = new EContentAdapter() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment