blob: 3b388a565296845630fc30ad8f5e98ee1995b319 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*******************************************************************************
* Copyright (c) 2012 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Alex Ruiz - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.codan.core.externaltool;
/**
* Creates or finds an Eclipse console that uses the name of an external tool as its own.
*
* @author alruiz@google.com (Alex Ruiz)
*
* @since 2.1
*/
public interface IConsolePrinterProvider {
/**
* Creates an Eclipse console that uses the name of an external tool as its own.
* @param externalToolName the name of the external tool that will be used as the name of the
* console.
* @param shouldDisplayOutput indicates whether the user wants to see the output of the external
* tool in the console.
* @return the created or found console.
*/
IConsolePrinter createConsole(String externalToolName, boolean shouldDisplayOutput);
}
|