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
diff --git a/plugins/org.eclipse.epsilon.egl.engine/src/org/eclipse/epsilon/egl/execute/context/EglContext.java b/plugins/org.eclipse.epsilon.egl.engine/src/org/eclipse/epsilon/egl/execute/context/EglContext.java | |
index 43a15f1..efaea0c 100644 | |
--- a/plugins/org.eclipse.epsilon.egl.engine/src/org/eclipse/epsilon/egl/execute/context/EglContext.java | |
+++ b/plugins/org.eclipse.epsilon.egl.engine/src/org/eclipse/epsilon/egl/execute/context/EglContext.java | |
@@ -34,6 +34,7 @@ import org.eclipse.epsilon.egl.traceability.Template; | |
import org.eclipse.epsilon.eol.execute.context.EolContext; | |
import org.eclipse.epsilon.eol.execute.context.IEolContext; | |
import org.eclipse.epsilon.eol.execute.context.Variable; | |
+import org.eclipse.epsilon.eol.types.EolClasspathNativeTypeDelegate; | |
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
public class DeleteCascade extends FlockAcceptanceTest { | |
private static final String strategy = "@cascade" + "\n" + | |
"delete Family"; | |
private static final String originalModel = "Families {" + | |
" Family {" + | |
" name: \"The Smiths\"" + | |
" members: Person { " + | |
" name: \"John\"" + |
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
public class DynamicSectionOutputBuffer implements IOutputBuffer { | |
private final StringBuilder buffer = new StringBuilder(); | |
@Override | |
public void printdyn(Object o) { | |
buffer.append(o); | |
} | |
@Override |
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
{ | |
"name": "State", | |
"properties": [ | |
"name", | |
"recurrent", | |
"w", | |
"h" | |
], | |
"behavior": { | |
"tick" : { |
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
<?php | |
class Widget_Controller extends Dev_Controller { | |
public function show() { | |
$params = $this->app->request()->params(); | |
// Here we use a "null object" that initialises all attributes to empty strings or other sensible defaults | |
$this->render(new Widget()); | |
} | |
public function create() { |
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
public void run(IAction action) { | |
if (getFirstElementInSelection() instanceof IFile) { | |
final IFile file = (IFile)getFirstElementInSelection(); | |
String projectName = file.getProject().getName(); | |
final EglFileGeneratingTemplateFactory factory = new EglFileGeneratingTemplateFactory(); | |
final EglTemplate template = factory.load(Activator.getDefault().getBundle().getResource("transformations/my.egx").toURI()); | |
// You'll need to loop over the list returned by this method, and | |
// log any errors somewhere. |
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
// diff --git a/plugins/org.eclipse.epsilon.eol.engine/src/org/eclipse/epsilon/eol/AbstractModule.java b/plugins/org.eclipse.epsilon.eol.engine/src/org/eclipse/epsilon/eol/AbstractModule.java | |
// index 20c1972..8a98273 100644 | |
//--- a/plugins/org.eclipse.epsilon.eol.engine/src/org/eclipse/epsilon/eol/AbstractModule.java | |
//+++ b/plugins/org.eclipse.epsilon.eol.engine/src/org/eclipse/epsilon/eol/AbstractModule.java | |
//@@ -69,7 +69,9 @@ public abstract class AbstractModule extends AbstractModuleElement implements IM | |
public boolean parse(String code, File file) throws Exception { | |
this.sourceFile = file; | |
- this.sourceUri = (file != null) ? file.toURI() : null; | |
+ if (file != null) { |
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> | |
* </copyright> | |
* | |
* $Id$ | |
*/ | |
package PetriNet.tests; | |
import PetriNet.Net; | |
import PetriNet.PetriNetFactory; |
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 com.example; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.net.UnknownHostException; | |
import java.util.Set; | |
import java.util.logging.Logger; | |
import javax.servlet.ServletConfig; | |
import javax.servlet.ServletException; |
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 com.example; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.net.URISyntaxException; | |
import javax.servlet.ServletException; | |
import javax.servlet.ServletOutputStream; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; |