Search in sources :

Example 1 with ReactionPortAdjustment

use of org.lflang.diagram.synthesis.postprocessor.ReactionPortAdjustment in project lingua-franca by lf-lang.

the class SynthesisRegistration method execute.

@Override
public void execute() {
    KlighdDataManager reg = KlighdDataManager.getInstance();
    // Synthesis
    reg.registerDiagramSynthesisClass(LinguaFrancaSynthesis.ID, LinguaFrancaSynthesis.class);
    // Actions
    reg.registerAction(MemorizingExpandCollapseAction.ID, new MemorizingExpandCollapseAction());
    reg.registerAction(ExpandAllReactorsAction.ID, new ExpandAllReactorsAction());
    reg.registerAction(CollapseAllReactorsAction.ID, new CollapseAllReactorsAction());
    reg.registerAction(ShowCycleAction.ID, new ShowCycleAction());
    reg.registerAction(FilterCycleAction.ID, new FilterCycleAction());
    // Style Mod
    reg.registerStyleModifier(ReactionPortAdjustment.ID, new ReactionPortAdjustment());
}
Also used : MemorizingExpandCollapseAction(org.lflang.diagram.synthesis.action.MemorizingExpandCollapseAction) ReactionPortAdjustment(org.lflang.diagram.synthesis.postprocessor.ReactionPortAdjustment) FilterCycleAction(org.lflang.diagram.synthesis.action.FilterCycleAction) KlighdDataManager(de.cau.cs.kieler.klighd.KlighdDataManager) CollapseAllReactorsAction(org.lflang.diagram.synthesis.action.CollapseAllReactorsAction) ExpandAllReactorsAction(org.lflang.diagram.synthesis.action.ExpandAllReactorsAction) ShowCycleAction(org.lflang.diagram.synthesis.action.ShowCycleAction)

Aggregations

KlighdDataManager (de.cau.cs.kieler.klighd.KlighdDataManager)1 CollapseAllReactorsAction (org.lflang.diagram.synthesis.action.CollapseAllReactorsAction)1 ExpandAllReactorsAction (org.lflang.diagram.synthesis.action.ExpandAllReactorsAction)1 FilterCycleAction (org.lflang.diagram.synthesis.action.FilterCycleAction)1 MemorizingExpandCollapseAction (org.lflang.diagram.synthesis.action.MemorizingExpandCollapseAction)1 ShowCycleAction (org.lflang.diagram.synthesis.action.ShowCycleAction)1 ReactionPortAdjustment (org.lflang.diagram.synthesis.postprocessor.ReactionPortAdjustment)1