Exemplo n.º 1
0
        protected override void DoSendToInMemoryWorkspaceCommand()
        {
            _isSendToInMemoryWorkspaceCommand = !_isSendToInMemoryWorkspaceCommand;

            if (_isSendToInMemoryWorkspaceCommand && !_isLocked)
            {
                DoLockCommand();
            }

            if (_isSendToInMemoryWorkspaceCommand)
            {
                _mcdaExtension.DisplayLink(_wlcTool);
                //ProgressDialog.ShowProgressDialog("Creating Symbology", (Action<AbstractToolTemplate, DataTable>)_mcdaExtension.JoinToolResultByOID, _wlcTool, _wlcTool.Data);

                ProgressDialogBuilder progressDialogBuilder = new ProgressDialogBuilder((Action <AbstractToolTemplate, DataTable>)_mcdaExtension.JoinToolResultByOID, _wlcTool, _wlcTool.Data);
                progressDialogBuilder.SetTitle("Creating Symbology").SetHideCancelButton(true).SetIsIndeterminate(true).Build().Show();
            }

            if (!_isSendToInMemoryWorkspaceCommand)
            {
                DoLockCommand();
            }

            PropertyChanged.Notify(() => IsSendToInMemoryWorkspaceCommand);
        }
Exemplo n.º 2
0
        protected override void DoSendToInMemoryWorkspaceCommand()
        {
            _isSendToInMemoryWorkspaceCommand = !_isSendToInMemoryWorkspaceCommand;

            if (_isSendToInMemoryWorkspaceCommand && !_isLocked)
            {
                DoLockCommand();
            }

            if (_isSendToInMemoryWorkspaceCommand)
            {
                _mcdaExtension.DisplayLink(_lwlcTool);
                _mcdaExtension.JoinToolResultByOID(_lwlcTool, _lwlcTool.Data);
            }

            if (!_isSendToInMemoryWorkspaceCommand)
            {
                DoLockCommand();
            }

            PropertyChanged.Notify(() => IsSendToInMemoryWorkspaceCommand);
        }
Exemplo n.º 3
0
        protected override void DoSendToInMemoryWorkspaceCommand()
        {
            _isSendToInMemoryWorkspaceCommand = !_isSendToInMemoryWorkspaceCommand;

            if (_isSendToInMemoryWorkspaceCommand && !_isLocked)
            {
                DoLockCommand();
            }

            if (_isSendToInMemoryWorkspaceCommand)
            {
                _mcdaExtension.DisplayLink(_owaTool);
                ProgressDialog.ShowProgressDialog("Creating Symbology", (Action <AbstractToolTemplate, DataTable>)_mcdaExtension.JoinToolResultByOID, _owaTool, _owaTool.Data);
            }

            if (!_isSendToInMemoryWorkspaceCommand)
            {
                DoLockCommand();
            }

            PropertyChanged.Notify(() => IsSendToInMemoryWorkspaceCommand);
        }