public CommandDeployEditorWidget (CommandPackageBuilder target)
		{
			this.target = target;
			this.Build();
			cmdEntry.Text = target.Command;
			argsEntry.Text = target.Arguments;
			checkExternal.Active = target.ExternalConsole;
			checkDisposeExternal.Active = target.CloseConsoleWhenDone;
			checkDisposeExternal.Sensitive = checkExternal.Active;
		}
Пример #2
0
        public override void CopyFrom(PackageBuilder other)
        {
            base.CopyFrom(other);
            CommandPackageBuilder t = other as CommandPackageBuilder;

            if (t != null)
            {
                command              = t.command;
                args                 = t.args;
                externalConsole      = t.externalConsole;
                closeConsoleWhenDone = t.closeConsoleWhenDone;
            }
        }