-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Concurrent execution framework, rehauled and extended (#235)
* Add Footprint EClass to trace mse metamodel rebase wrt master (jd) * Ensure UTF-8 encoding * Bump xtend compiler to 2.22.0 rebase wrt master (jd) * Undo xtend bump * Format + fix null pointers in setTimelineProvider rebase wrt master (jd) * Add Footprint EClass to trace metamodel rebase wrt master (jd) * Move commons from modeldebugging repository to dedicated repository (#223) rebase wrt master (jd) * use commons from new gemoc-studio-commons repository * Split commons eclipse pde to remove UI dependency (#224) * use new commons.eclipse.pde.ui plugin * adapt to commons.eclipse.pde * reduce dependencies use GemocPlugin in commons.eclipse instead of commons.eclipse.pde * Bump xtend compiler to 2.22.0 rebase wrt master (jd) * Add Footprint EClass to trace metamodel (rebase from master JD) * update changelog (rebase from master JD) * update changelog * Bump to Eclipse 2022-06 (#222) (rebase from master JD) * bump to tycho 2.7.3 * use newer version of xtext * update for use of Sirius 7.0.1 follows https://bugs.eclipse.org/bugs/show_bug.cgi?id=531282 * java min version 11 * remove some warning generated by trace addon generator * increase delay before waiting for jobs * java 11 * add better clean workspace method + remove deprecated xtext test api the clean workspace is now able to remove previous content from crashed executions * bump to GEMOC 3.6.0 contributes to eclipse-gemoc/gemoc-studio#270 * Add Footprint EClass to trace mse metamodel rebase wrt master (jd) * Add Footprint EClass to trace metamodel rebase wrt master (jd) * Add Footprint EClass to trace metamodel rebase wrt master (jd) * Move commons from modeldebugging repository to dedicated repository (#223) rebase wrt master (jd) * use commons from new gemoc-studio-commons repository * Add Footprint EClass to trace metamodel rebase wrt master (jd) * Add Footprint EClass to trace mse metamodel rebase wrt master (jd) * clean pom * update trace generated code * Add common concurrency classes (moved from moccml engine) * Add Choco jar * Remove _ from package name * Force java 17 in engine.ui * Move AbstractConcurrentLauncher * Bump xtend 2.32.0 * Add missing xtend-gen src folder * Add more concurrency code --------- Co-authored-by: Steffen Zschaler <[email protected]> Co-authored-by: Erwan Bousse <[email protected]> Co-authored-by: Didier Vojtisek <[email protected]> Co-authored-by: julien deantoni <[email protected]>
- Loading branch information
1 parent
67f6962
commit e711b15
Showing
178 changed files
with
6,488 additions
and
732 deletions.
There are no files selected for viewing
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
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
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
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
3 changes: 2 additions & 1 deletion
3
...ecution_framework/plugins/org.eclipse.gemoc.executionframework.engine.ui/build.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
source.. = src/ | ||
source.. = src/,\ | ||
xtend-gen/ | ||
output.. = bin/ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
|
Binary file added
BIN
+421 Bytes
...ins/org.eclipse.gemoc.executionframework.engine.ui/icons/IconeGemocModel-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+732 Bytes
...ins/org.eclipse.gemoc.executionframework.engine.ui/icons/IconeGemocModel-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+302 Bytes
...ns/org.eclipse.gemoc.executionframework.engine.ui/icons/app-shield-black-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+197 Bytes
...ork/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/breakpoint.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+139 Bytes
...ns/org.eclipse.gemoc.executionframework.engine.ui/icons/breakpoint_disabled.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+197 Bytes
...ins/org.eclipse.gemoc.executionframework.engine.ui/icons/breakpoint_enabled.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+398 Bytes
...rk/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/decision-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+367 Bytes
...gins/org.eclipse.gemoc.executionframework.engine.ui/icons/footprints-cat-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+431 Bytes
....eclipse.gemoc.executionframework.engine.ui/icons/footprints-running-cat-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+591 Bytes
.../plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/gemoc-logo-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+887 Bytes
.../plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/gemoc-logo-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.28 KB
.../plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/gemoc-logo-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+653 Bytes
...k/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/media-record.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+350 Bytes
...ins/org.eclipse.gemoc.executionframework.engine.ui/icons/new-forced-to-0-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+300 Bytes
...ins/org.eclipse.gemoc.executionframework.engine.ui/icons/new-forced-to-1-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+350 Bytes
...ugins/org.eclipse.gemoc.executionframework.engine.ui/icons/new-free-to-0-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+351 Bytes
...ugins/org.eclipse.gemoc.executionframework.engine.ui/icons/new-free-to-1-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+281 Bytes
...work/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/play-4-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+299 Bytes
...g.eclipse.gemoc.executionframework.engine.ui/icons/question-shield-black-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+199 Bytes
...work/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/record-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+645 Bytes
.../plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/resume-shield.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+539 Bytes
...work/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/resume_co.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+422 Bytes
...ugins/org.eclipse.gemoc.executionframework.engine.ui/icons/services-16-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+424 Bytes
...gins/org.eclipse.gemoc.executionframework.engine.ui/icons/services-16-green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+418 Bytes
...lugins/org.eclipse.gemoc.executionframework.engine.ui/icons/services-16-red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+362 Bytes
.../plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/settings-5-16.png
Oops, something went wrong.
Binary file added
BIN
+281 Bytes
...ork/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/showCaller.png
Oops, something went wrong.
Binary file added
BIN
+333 Bytes
...work/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/stop-3-16.png
Oops, something went wrong.
Binary file added
BIN
+421 Bytes
...framework/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/stop.png
Oops, something went wrong.
Binary file added
BIN
+541 Bytes
...plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/suspend-shield.png
Oops, something went wrong.
Binary file added
BIN
+383 Bytes
...ork/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/suspend_co.png
Oops, something went wrong.
Binary file added
BIN
+302 Bytes
...s/org.eclipse.gemoc.executionframework.engine.ui/icons/user-shield-black-16.png
Oops, something went wrong.
Binary file added
BIN
+402 Bytes
...s/org.eclipse.gemoc.executionframework.engine.ui/icons/user-shield-green-16.png
Oops, something went wrong.
Binary file added
BIN
+1.12 KB
...on_framework/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/validate-16.ico
Binary file not shown.
Binary file added
BIN
+327 Bytes
...ork/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/visible-16.png
Oops, something went wrong.
Binary file added
BIN
+884 Bytes
...k/plugins/org.eclipse.gemoc.executionframework.engine.ui/icons/visible-deco.gif
Oops, something went wrong.
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
25 changes: 25 additions & 0 deletions
25
...eclipse/gemoc/executionframework/engine/ui/concurrency/ModelingWorkbenchEarlyStartup.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2017 INRIA 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 | ||
* | ||
* Contributors: | ||
* INRIA - initial API and implementation | ||
* I3S Laboratory - API update and bug fix | ||
*******************************************************************************/ | ||
package org.eclipse.gemoc.executionframework.engine.ui.concurrency; | ||
|
||
import org.eclipse.ui.IStartup; | ||
|
||
public class ModelingWorkbenchEarlyStartup implements IStartup { | ||
|
||
@Override | ||
public void earlyStartup() { | ||
//nothing to do except making sure this plugin is started | ||
// because PropertyTester seems to be fully activated only when the containing plugin is started | ||
|
||
} | ||
|
||
} |
59 changes: 59 additions & 0 deletions
59
...engine.ui/src/org/eclipse/gemoc/executionframework/engine/ui/concurrency/SharedIcons.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2017 INRIA 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 | ||
* | ||
* Contributors: | ||
* INRIA - initial API and implementation | ||
* I3S Laboratory - API update and bug fix | ||
*******************************************************************************/ | ||
package org.eclipse.gemoc.executionframework.engine.ui.concurrency; | ||
|
||
import java.util.HashMap; | ||
|
||
import org.eclipse.jface.resource.ImageDescriptor; | ||
import org.eclipse.swt.graphics.Image; | ||
|
||
public class SharedIcons { | ||
|
||
public static ImageDescriptor ENGINE_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/settings-5-16.png"); | ||
public static ImageDescriptor RUNNING_ENGINE_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/services-16-green.png"); | ||
public static ImageDescriptor STOPPED_ENGINE_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/services-16-red.png"); | ||
public static ImageDescriptor WAITING_ENGINE_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/services-16-blue.png"); | ||
|
||
public static ImageDescriptor RESUME_ENGINE_DECIDER_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/resume-shield.png"); | ||
public static ImageDescriptor SUSPEND_ENGINE_DECIDER_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/suspend-shield.png"); | ||
|
||
public static ImageDescriptor LOGICALSTEP_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/footprints-cat-16.png"); | ||
|
||
public static ImageDescriptor LOGICALSTEP_RUNNING_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/footprints-running-cat-16.png"); | ||
|
||
public static ImageDescriptor VISIBLE_EVENT_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/visible-16.png"); | ||
public static ImageDescriptor VISIBLE_EVENT_OVERLAY = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/visible-deco.png"); | ||
|
||
public static ImageDescriptor PAST_CHOSEN_LOGICALSTEP_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/circle-blue-16.png"); | ||
public static ImageDescriptor PAST_POSSIBLE_LOGICALSTEP_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/circle-blue-outline-16.png"); | ||
public static ImageDescriptor PRESENT_CHOSEN_LOGICALSTEP_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/circle-green-16.png"); | ||
public static ImageDescriptor PRESENT_POSSIBLE_LOGICALSTEP_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/circle-green-outline-16.png"); | ||
public static ImageDescriptor FUTUR_CHOSEN_LOGICALSTEP_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/circle-yellow-16.png"); | ||
public static ImageDescriptor FUTUR_POSSIBLE_LOGICALSTEP_ICON = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/circle-yellow-outline-16.png"); | ||
|
||
public static ImageDescriptor FORCED_CLOCK_SET = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/new-forced-to-1-16.png"); | ||
public static ImageDescriptor FORCED_CLOCK_NOTSET = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/new-forced-to-0-16.png"); | ||
public static ImageDescriptor NOTFORCED_CLOCK_SET = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/new-free-to-1-16.png"); | ||
public static ImageDescriptor NOTFORCED_CLOCK_NOTSET = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/new-free-to-0-16.png"); | ||
public static ImageDescriptor INDECISION = ImageDescriptor.createFromFile(SharedIcons.class, "/icons/decision-16.png"); | ||
|
||
static HashMap<ImageDescriptor, Image> imageMap = new HashMap<ImageDescriptor, Image>(); | ||
|
||
static public Image getSharedImage(ImageDescriptor descriptor){ | ||
Image res = imageMap.get(descriptor); | ||
if(res == null){ | ||
res = descriptor.createImage(); | ||
imageMap.put(descriptor, res); | ||
} | ||
return res; | ||
} | ||
} |
Oops, something went wrong.