Exemplo n.º 1
0
        public WorkspaceManager(IWorkspaceCollection workspaces)
        {
            registeredWorkspaceCollection = workspaces;

            openWorkspaces.CollectionChanged += workspaces_CollectionChanged;

            foreach (var ws in registeredWorkspaceCollection)
            {
                this.registereWorkspaces.Add(ws);
                ws.RequestOpen += this.workspace_RequestOpen;
            }
        }
 public ExtentStorageLoader(
     ExtentStorageData data,
     IConfigurationToExtentStorageMapper map,
     IDataLayerLogic dataLayerLogic,
     IWorkspaceCollection workspaceCollection,
     ILifetimeScope diScope
     )
     : this(data, map, dataLayerLogic)
 {
     Debug.Assert(workspaceCollection != null, "collection != null");
     _workspaceCollection = workspaceCollection;
     _diScope = diScope;
 }
Exemplo n.º 3
0
        public WorkspaceManager(IWorkspaceCollection workspaces)
        {
            registeredWorkspaceCollection = workspaces;

            openWorkspaces.CollectionChanged += workspaces_CollectionChanged;


            foreach (var ws in registeredWorkspaceCollection)
            {
                this.registereWorkspaces.Add(ws);
                ws.RequestOpen += this.workspace_RequestOpen;
            }
        }
Exemplo n.º 4
0
 public ExtentController(
     IFactoryMapper mapper,
     IWorkspaceCollection workspaceCollection,
     IUmlNameResolution resolution,
     IExtentStorageLoader extentStorageLoader,
     IDataLayerLogic dataLayerLogic,
     ColumnCreator columnCreator,
     ExtentFunctions extentFunctions,
     ILifetimeScope diScope)
 {
     _mapper = mapper;
     _workspaceCollection = workspaceCollection;
     _resolution = resolution;
     _extentStorageLoader = extentStorageLoader;
     _dataLayerLogic = dataLayerLogic;
     _columnCreator = columnCreator;
     _extentFunctions = extentFunctions;
     _diScope = diScope;
 }
Exemplo n.º 5
0
 public WorkspaceService()
 {
     workspaceItems = new WorkspaceCollection();
     storage        = new StorageWorkaspace();
     filePath       = string.Empty;
 }
Exemplo n.º 6
0
 public ZipCodePlugin(IDataLayerLogic dataLayerLogic, IWorkspaceCollection workspaceCollection)
 {
     _dataLayerLogic = dataLayerLogic;
     _workspaceCollection = workspaceCollection;
 }
Exemplo n.º 7
0
 public CSVDataProvider(IWorkspaceCollection workspaceCollection, IDataLayerLogic dataLayerLogic)
 {
     _workspaceCollection = workspaceCollection;
     _dataLayerLogic = dataLayerLogic;
 }
Exemplo n.º 8
0
 public CSVStorage(IWorkspaceCollection workspaceCollection, IDataLayerLogic dataLayerLogic)
 {
     _workspaceCollection = workspaceCollection;
     _dataLayerLogic = dataLayerLogic;
 }
Exemplo n.º 9
0
 public ExampleController(IDataLayerLogic dataLayerLogic, IWorkspaceCollection collection, IExtentStorageLoader loader)
 {
     _dataLayerLogic = dataLayerLogic;
     _collection = collection;
     _loader = loader;
 }
Exemplo n.º 10
0
 public WorkspaceController(IWorkspaceCollection workspaceCollection)
 {
     _workspaceCollection = workspaceCollection;
 }
Exemplo n.º 11
0
 public XmiStorage(IWorkspaceCollection workspaceCollection)
 {
     _workspaceCollection = workspaceCollection;
 }
Exemplo n.º 12
0
 public ColumnCreator(IUmlNameResolution nameResolution, IDataLayerLogic dataLayerLogic, IWorkspaceCollection workspaceCollection)
 {
     _nameResolution = nameResolution;
     _dataLayerLogic = dataLayerLogic;
     _workspaceCollection = workspaceCollection;
 }
Exemplo n.º 13
0
 public WorkspaceItem(IWorkspaceCollection items, string path)
 {
     itemFilePath   = path;
     workspaceItems = items;
 }