public OperationConsole CreateConsole (CreateConsoleOptions options, CancellationToken cancellationToken = default (CancellationToken))
		{
			var c = OnCreateConsole (options);
			if (cancellationToken != default(CancellationToken))
				c.BindToCancelToken (cancellationToken);
			return c;
		}
			public CreateConsoleOptions WithBringToFront (bool bringToFront)
			{
				if (bringToFront == BringToFront)
					return this;
				var result = new CreateConsoleOptions (this);
				result.BringToFront = bringToFront;
				return result;
			}
		protected override OperationConsole OnCreateConsole (CreateConsoleOptions options)
		{
			return factory.CreateConsole (options.WithBringToFront (false)).WithCancelCallback (cancelSource.Cancel);
		}
		protected abstract OperationConsole OnCreateConsole (CreateConsoleOptions options);
			CreateConsoleOptions (CreateConsoleOptions options)
			{
				this.BringToFront = options.BringToFront;
			}
 protected override OperationConsole OnCreateConsole(CreateConsoleOptions options)
 {
     return(factory.CreateConsole(options.WithBringToFront(false)).WithCancelCallback(cancelSource.Cancel));
 }
Example #7
0
 protected override OperationConsole OnCreateConsole(CreateConsoleOptions options)
 {
     return(((OutputProgressMonitor)IdeApp.Workbench.ProgressMonitors.GetOutputProgressMonitor("MonoDevelop.Ide.ApplicationOutput", GettextCatalog.GetString("Application Output"), Stock.MessageLog, options.BringToFront, true, titleSuffix: options.Title)).Console);
 }
 protected override OperationConsole OnCreateConsole(CreateConsoleOptions options)
 {
     return(new ExternalConsole(true));
 }
			protected override OperationConsole OnCreateConsole (CreateConsoleOptions options)
			{
				return ((OutputProgressMonitor)IdeApp.Workbench.ProgressMonitors.GetOutputProgressMonitor ("MonoDevelop.Ide.ApplicationOutput", GettextCatalog.GetString ("Application Output"), Stock.MessageLog, options.BringToFront, true)).Console;
			}
Example #10
0
 CreateConsoleOptions(CreateConsoleOptions options)
 {
     this.BringToFront = options.BringToFront;
     this.Title        = options.Title;
 }
Example #11
0
 protected abstract OperationConsole OnCreateConsole(CreateConsoleOptions options);
		protected override OperationConsole OnCreateConsole (CreateConsoleOptions options)
		{
			return new ExternalConsole (true);
		}