mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
新增了NodeParamAttribute特性,用来指示类库节点的行为
This commit is contained in:
@@ -68,9 +68,9 @@ namespace Serein.Workbench.Services
|
||||
/// <param name="keyEventService"></param>
|
||||
/// <param name="flowNodeService"></param>
|
||||
public WorkbenchEventService(IFlowEnvironment flowEnvironment,
|
||||
IFlowEEForwardingService flowEEForwardingService,
|
||||
IKeyEventService keyEventService,
|
||||
FlowNodeService flowNodeService)
|
||||
IFlowEEForwardingService flowEEForwardingService,
|
||||
IKeyEventService keyEventService,
|
||||
FlowNodeService flowNodeService)
|
||||
{
|
||||
this.flowEnvironment = flowEnvironment;
|
||||
this.flowEEForwardingService = flowEEForwardingService;
|
||||
@@ -81,11 +81,17 @@ namespace Serein.Workbench.Services
|
||||
|
||||
private void InitEvents()
|
||||
{
|
||||
flowEEForwardingService.OnProjectLoaded += FlowEEForwardingService_OnProjectLoaded;
|
||||
flowEEForwardingService.OnProjectSaving += SaveProjectToLocalFile;
|
||||
flowEEForwardingService.OnEnvOut += FlowEEForwardingService_OnEnvOut;
|
||||
keyEventService.OnKeyDown += KeyEventService_OnKeyDown; ;
|
||||
}
|
||||
|
||||
private void FlowEEForwardingService_OnProjectLoaded(ProjectLoadedEventArgs eventArgs)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void KeyEventService_OnKeyDown(System.Windows.Input.Key key)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user