This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<toolchains> | |
<toolchain> | |
<type>jdk</type> | |
<provides> | |
<id>J2SE-1.5</id> | |
</provides> | |
<configuration> | |
<jdkHome>/opt/public/common/jdk1.5.0-latest/jre</jdkHome> | |
</configuration> | |
</toolchain> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.eclipse.papyrus.uml.profile.measures; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.concurrent.TimeUnit; | |
import org.eclipse.emf.common.notify.Notifier; | |
import org.eclipse.emf.common.util.TreeIterator; | |
import org.eclipse.emf.common.util.URI; | |
import org.eclipse.emf.ecore.EObject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<toolchains> | |
<toolchain> | |
<type>jdk</type> | |
<provides> | |
<!-- The ID has to be exactly in this format --> | |
<id>JavaSE-1.7</id> | |
</provides> | |
<configuration> | |
<!-- Path to JDK; JRE will not work! --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright (c) 2010 itemis AG (http://www.itemis.eu) and others. | |
* 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 | |
*******************************************************************************/ | |
module org.eclipse.xtext.example.domainmodel.GenerateDomainmodelLanguage | |
import org.eclipse.emf.mwe.utils.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>hu.bme.mit.viatra</groupId> | |
<artifactId>viatra-maven</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.viatra</groupId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import java.io.DataInputStream; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.net.URLConnection; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Map; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "JavaFX Application Thread" java.lang.StackOverflowError | |
at javafx.scene.Parent.updateCachedBounds(Parent.java:1598) | |
at javafx.scene.Parent.recomputeBounds(Parent.java:1537) | |
at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) | |
at javafx.scene.Node.updateGeomBounds(Node.java:3526) | |
at javafx.scene.Node.getGeomBounds(Node.java:3479) | |
at javafx.scene.Node.getLocalBounds(Node.java:3427) | |
at javafx.scene.Node.updateTxBounds(Node.java:3590) | |
at javafx.scene.Node.getTransformedBounds(Node.java:3373) | |
at javafx.scene.Parent.updateCachedBounds(Parent.java:1598) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.HashSet; | |
import java.util.Set; | |
import org.eclipse.core.databinding.observable.Realm; | |
import org.eclipse.core.databinding.observable.set.ComputedSet; | |
import org.eclipse.core.databinding.observable.set.IObservableSet; | |
import org.eclipse.core.databinding.observable.set.ISetChangeListener; | |
import org.eclipse.core.databinding.observable.set.SetChangeEvent; | |
import org.eclipse.core.databinding.observable.set.UnionSet; | |
import org.eclipse.core.databinding.observable.set.WritableSet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<projectDescription> | |
<name>org.eclipse.viatra2.emf.incquery.testing.core</name> | |
<comment></comment> | |
<projects> | |
</projects> | |
<buildSpec> | |
<buildCommand> | |
<name>org.eclipse.jdt.core.javabuilder</name> | |
<arguments> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
def changeSchoolName(){ | |
val sns = snapshot | |
val pm = queryInputEIQ | |
pm.assertMatchResults(sns) | |
// MODEL MODIFICATION HERE | |
// change the School "Budapest University of Technology and Economics" name to "BME" | |
val matcher = pm.initializeMatcherFromModel(sns.EMFRootForSnapshot, "school.schools") | |
val s = matcher.oneArbitraryMatch.get("Sch") as School |
NewerOlder