Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
054f6a75
Commit
054f6a75
authored
Mar 28, 2018
by
Hernan Ponce de Leon
Browse files
[YELLOW] Added the GraphicalStructuresSimulationView
refs 3345
parent
89341215
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.component.ui/trunk/src/org/fortiss/af3/component/ui/simulator/.ratings
View file @
054f6a75
SimulationManager.java 1baf28d38d392cce28eb5fd90c3e8aed2d3ceb10 GREEN
SimulationPerspective.java 761e1b09d3dd967a17b5e93b10a32e203bfe2901 GREEN
SimulationView.java 44835afce45c30a4c0b9ecaa1ac75673c8aa0a05 GREEN
SimulatorEasyStartMenu.java
47c872e8f725330bd0555c2c9c7a476724030b38 GREEN
SimulatorEasyStartMenu.java
73ed741f4931e1478e6f2e621fb7bf8f5a917e4c YELLOW
SimulatorExecutionTarget.java cd0bbf9be14acb8d3d20044eaa52f01f4ce9e560 GREEN
SimulatorExecutionTargetBase.java fc6e284fe88d6343d75d1cd28bf128c400fa3457 GREEN
org.fortiss.af3.component.ui/trunk/src/org/fortiss/af3/component/ui/simulator/SimulatorEasyStartMenu.java
View file @
054f6a75
...
...
@@ -15,8 +15,11 @@
+--------------------------------------------------------------------------*/
package
org.fortiss.af3.component.ui.simulator
;
import
static
org
.
conqat
.
ide
.
commons
.
ui
.
ui
.
WorkbenchUtils
.
getActiveWorkbenchPage
;
import
static
org
.
fortiss
.
af3
.
component
.
ui
.
AF3ComponentUIActivator
.
getDefault
;
import
static
org
.
fortiss
.
af3
.
component
.
utils
.
ComponentLibraryUtils
.
cleanTemporaryCopiedProject
;
import
static
org
.
fortiss
.
af3
.
component
.
utils
.
ComponentLibraryUtils
.
copyComponentIntoNewProject
;
import
static
org
.
fortiss
.
tooling
.
kernel
.
utils
.
LoggingUtils
.
error
;
import
java.util.ArrayList
;
import
java.util.Collections
;
...
...
@@ -26,8 +29,11 @@ import org.eclipse.emf.ecore.EObject;
import
org.eclipse.jface.action.ActionContributionItem
;
import
org.eclipse.jface.action.IContributionItem
;
import
org.eclipse.jface.resource.ImageDescriptor
;
import
org.eclipse.ui.IWorkbenchPage
;
import
org.eclipse.ui.WorkbenchException
;
import
org.fortiss.af3.component.model.Component
;
import
org.fortiss.af3.component.model.ComponentArchitecture
;
import
org.fortiss.af3.component.ui.simulator.component.GraphicalStructureSimulationView
;
import
org.fortiss.af3.project.extension.IExecutionTarget
;
import
org.fortiss.af3.project.model.execution.ExecutionConfiguration
;
import
org.fortiss.af3.project.services.IExecutionService
;
...
...
@@ -123,6 +129,13 @@ public class SimulatorEasyStartMenu extends EasyStartMenuBase {
super
.
run
();
try
{
getActiveWorkbenchPage
().
showView
(
GraphicalStructureSimulationView
.
ID
,
Integer
.
toString
(
target
.
getId
()),
IWorkbenchPage
.
VIEW_ACTIVATE
);
}
catch
(
WorkbenchException
e
)
{
error
(
getDefault
(),
"Could not show simulation perspective!"
,
e
);
}
cleanTemporaryCopiedProject
((
Component
)
target
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment