示例#1
0
        CreateWorkspaceView GetCreateWorkspaceView()
        {
            if (mCreateWorkspaceView != null)
            {
                return(mCreateWorkspaceView);
            }

            mCreateWorkspaceView = new CreateWorkspaceView(
                this, this, mPlasticAPI);

            return(mCreateWorkspaceView);
        }
示例#2
0
        CreateWorkspaceView GetCreateWorkspaceView()
        {
            if (mCreateWorkspaceView != null)
            {
                return(mCreateWorkspaceView);
            }

            string workspacePath = Path.GetFullPath(
                Path.GetDirectoryName(Application.dataPath));

            mCreateWorkspaceView = new CreateWorkspaceView(
                mParentWindow, mCreateWorkspaceListener,
                mPlasticApi, workspacePath);

            return(mCreateWorkspaceView);
        }
示例#3
0
        CreateWorkspaceView GetCreateWorkspaceView()
        {
            if (mCreateWorkspaceView != null)
            {
                return(mCreateWorkspaceView);
            }

            string workspacePath = ProjectPath.FromApplicationDataPath(
                Application.dataPath);

            mCreateWorkspaceView = new CreateWorkspaceView(
                mParentWindow,
                mCreateWorkspaceListener,
                mPlasticApi,
                mPlasticWebRestApi,
                workspacePath);

            return(mCreateWorkspaceView);
        }