]> gerrit.simantics Code Review - simantics/platform.git/blob
e4c670cf5a1f82477657e4eca2e10e1d2090be04
[simantics/platform.git] /
1 package org.simantics.modeling.ui.componentTypeEditor;
2
3 import java.util.List;
4
5 import org.simantics.db.common.NamedResource;
6 import org.simantics.scl.runtime.tuple.Tuple3;
7
8 public class ComponentTypePropertiesResult extends Tuple3 {
9     public ComponentTypePropertiesResult(List<ComponentTypeViewerPropertyInfo> properties, List<NamedResource> connectionPoints, boolean immutable) {
10         super(properties, connectionPoints, immutable);
11     }
12     @SuppressWarnings("unchecked")
13     public List<ComponentTypeViewerPropertyInfo> getProperties() {
14         return (List<ComponentTypeViewerPropertyInfo>) c0;
15     }
16     @SuppressWarnings("unchecked")
17     public List<NamedResource> getConnectionPoints() {
18         return (List<NamedResource>) c1;
19     }
20     public boolean isImmutable() {
21         return (Boolean) c2;
22     }
23 }