Ignore:
Timestamp:
Jan 4, 2011, 7:23:10 AM (11 years ago)
Author:
matkovic
Message:

-fixed "Fit to Screen"
-fixed Scrollbars
-fixed Dragging
-added custom names
-New: IControl- Presentation
--Loading adjusted
-New: Multi selection
-New: Copy /Past (not complete)
-New: Multi Dragging
-New: PluginContainerView Highlighting added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Model/WorkspaceModel.cs

    r1991 r2280  
    2222using Cryptool.PluginBase;
    2323using System.Reflection;
     24using System.Collections.ObjectModel;
     25using WorkspaceManager.View.Container;
     26using System.Windows.Threading;
     27using System.Threading;
    2428
    2529namespace WorkspaceManager.Model
     
    3741        /// The surrounding WorkspaceManagerEditor
    3842        /// </summary>
    39         public WorkspaceManager WorkspaceManagerEditor {
    40             get{
     43        public WorkspaceManager WorkspaceManagerEditor
     44        {
     45            get
     46            {
    4147                return workspaceManagerEditor;
    4248            }
    43             set{
     49            set
     50            {
    4451                workspaceManagerEditor = value;
    4552            }
     
    4754
    4855        /// <summary>
     56        /// The surrounding WorkspaceManagerEditor
     57        /// </summary>
     58        public WorkSpaceEditorView WorkspaceEditor
     59        {
     60            get
     61            {
     62                return (WorkSpaceEditorView)workspaceManagerEditor.Presentation;
     63            }
     64        }
     65
     66        [NonSerialized]
     67        private ObservableCollection<PluginContainerView> selectedPluginsList;
     68
     69        /// <summary>
     70        /// Selected Collection of Plugin's
     71        /// </summary>
     72        public ObservableCollection<PluginContainerView> SelectedPluginsList
     73        {
     74            get
     75            {
     76                return selectedPluginsList;
     77            }
     78            set
     79            {
     80                selectedPluginsList = value;
     81            }
     82        }
     83
     84        /// <summary>
    4985        /// All PluginModels of our Workspace Model
    5086        /// </summary>
     
    75111        /// </summary>
    76112        public WorkspaceModel()
    77         {
     113        {
     114            this.SelectedPluginsList = new ObservableCollection<PluginContainerView>();
    78115            this.AllPluginModels = new List<PluginModel>();
    79116            this.AllConnectionModels = new List<ConnectionModel>();
    80117            this.AllConnectorModels = new List<ConnectorModel>();
    81118            this.AllImageModels = new List<ImageModel>();
    82             this.AllTextModels = new List<TextModel>(); 
     119            this.AllTextModels = new List<TextModel>();
    83120        }
    84121
Note: See TracChangeset for help on using the changeset viewer.