Skip to content
Snippets Groups Projects
Commit 197d324b authored by Sebastian Ebert's avatar Sebastian Ebert
Browse files

exended nav

parent 14de3b11
No related branches found
No related tags found
No related merge requests found
......@@ -218,16 +218,23 @@ aspect Navigation {
}
syn Transition PetriNet.getTransitionById(String id) {
for (Transition t : this.allTransitions()) {
if (t.getId().equals(id)) {
return t;
}
}
return null;
}
syn Place PetriNet.getPlaceById(String id) {
for (Place p : this.allPlaces()) {
if (p.getId().equals(id)) {
return p;
}
}
return null;
}
syn RefTransition PetriNet.getRefTransitionFromTransitionNode(TransitionNode tNode) {
if (tNode.isRefTransition()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment