-/*******************************************************************************\r
- * Copyright (c) 2014 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * Semantum Oy - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.structural2.queries;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- * @see GetComponentLocation\r
- */\r
-public class ComponentLocation {\r
-\r
- public final boolean insideStructure;\r
- public final boolean insideModelConfiguration;\r
- public final boolean hasRepresentation;\r
-\r
- public ComponentLocation(boolean insideStructure, boolean insideConfiguration, boolean hasRepresentation) {\r
- this.insideStructure = insideStructure;\r
- this.insideModelConfiguration = insideConfiguration;\r
- this.hasRepresentation = hasRepresentation;\r
- }\r
-\r
- @Override\r
- public String toString() {\r
- return "[inside structure=" + insideStructure + ", inside model configuration=" + insideModelConfiguration + ", has representation=" + hasRepresentation + "]";\r
- }\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2014 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Semantum Oy - initial API and implementation
+ *******************************************************************************/
+package org.simantics.structural2.queries;
+
+/**
+ * @author Tuukka Lehtonen
+ * @see GetComponentLocation
+ */
+public class ComponentLocation {
+
+ public final boolean insideStructure;
+ public final boolean insideModelConfiguration;
+ public final boolean hasRepresentation;
+
+ public ComponentLocation(boolean insideStructure, boolean insideConfiguration, boolean hasRepresentation) {
+ this.insideStructure = insideStructure;
+ this.insideModelConfiguration = insideConfiguration;
+ this.hasRepresentation = hasRepresentation;
+ }
+
+ @Override
+ public String toString() {
+ return "[inside structure=" + insideStructure + ", inside model configuration=" + insideModelConfiguration + ", has representation=" + hasRepresentation + "]";
+ }
+
}
\ No newline at end of file