Ignore:
Timestamp:
Jun 13, 2010, 7:54:08 PM (11 years ago)
Author:
kopal
Message:

Added

  • UpdateGuiInterval (interval for updating the gui elements during execution)
  • CheckInterval (interval for checking plugins being executable)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/View/Container/WorkSpaceEditorView.xaml.cs

    r1621 r1627  
    5656        public WorkSpaceEditorView(WorkspaceModel WorkspaceModel)
    5757        {
     58            this.MouseLeftButtonDown += new MouseButtonEventHandler(WorkSpaceEditorView_OnMouseLeftButtonDown);
    5859            this.MouseLeave += new MouseEventHandler(WorkSpaceEditorView_MouseLeave);
    5960            this.Loaded += new RoutedEventHandler(WorkSpaceEditorView_Loaded);
     
    157158        #region Controls
    158159
     160        void WorkSpaceEditorView_OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
     161        {
     162            if (!e.Handled)
     163            {
     164                PluginChangedEventArgs args = new PluginChangedEventArgs(this.model.WorkspaceManagerEditor, "WorkspaceManager", DisplayPluginMode.Normal);
     165                this.Model.WorkspaceManagerEditor.onSelectedPluginChanged(args);
     166            }
     167        }
     168
    159169        void shape_OnConnectorMouseLeftButtonDown(object sender, ConnectorViewEventArgs e)
    160170        {
     
    189199            this.selectedPluginContainer = null;
    190200            this.State = EditorState.READY;
    191         }
     201        }     
    192202
    193203        void WorkSpaceEditorView_MouseMove(object sender, MouseEventArgs e)
     
    220230            PluginChangedEventArgs args = new PluginChangedEventArgs(this.selectedPluginContainer.Model.Plugin, this.selectedPluginContainer.Model.Name, DisplayPluginMode.Normal);
    221231            this.Model.WorkspaceManagerEditor.onSelectedPluginChanged(args);
     232            e.Handled = true;
    222233        }
    223234
Note: See TracChangeset for help on using the changeset viewer.