mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
[282996] Fix execution environment, @since tag and exsd copyright date
This commit is contained in:
parent
3bfb71d9c1
commit
e91b9910b3
3 changed files with 11 additions and 10 deletions
|
@ -76,7 +76,7 @@
|
|||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="hidden" type="boolean">
|
||||
<attribute name="hidden" type="boolean" use="default" value="false">
|
||||
<annotation>
|
||||
<documentation>
|
||||
When set to "true", the terminal connector will not be visible to the user in connector selections.
|
||||
|
@ -95,7 +95,7 @@
|
|||
<meta.section type="copyright"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
Copyright (c) 2006, 2008 Wind River Systems, Inc. and others.
|
||||
Copyright (c) 2006, 2009 Wind River Systems, Inc. and others.
|
||||
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
|
||||
|
@ -104,7 +104,7 @@ http://www.eclipse.org/legal/epl-v10.html
|
|||
Contributors:
|
||||
Michael Scharf (Wind River) - initial API and implementation
|
||||
Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||
Uwe Stieber (Wind River) - [282996] [terminal][api] Add "hidden" attribute to terminal connector extension point
|
||||
Uwe Stieber (Wind River) - [282996] [terminal][api] Add "hidden" attribute to terminal connector extension point
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
|
|
@ -62,8 +62,9 @@ public interface ITerminalConnector extends IAdaptable {
|
|||
String getName();
|
||||
|
||||
/**
|
||||
* @return <code>True</code> if the connector is not visible in user selections.
|
||||
* @since org.eclipse.tm.terminal 3.1
|
||||
* @return <code>True</code> if the connector is not visible in user
|
||||
* selections.
|
||||
* @since org.eclipse.tm.terminal 3.0.1
|
||||
*/
|
||||
boolean isHidden();
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2006, 2008 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2006, 2009 Wind River Systems, Inc. and others.
|
||||
* 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
|
||||
|
@ -46,7 +46,7 @@ public class TerminalConnectorExtension {
|
|||
name=id;
|
||||
}
|
||||
String hidden = config.getAttribute("hidden"); //$NON-NLS-1$
|
||||
boolean isHidden = hidden != null ? Boolean.parseBoolean(hidden) : false;
|
||||
boolean isHidden = hidden != null ? new Boolean(hidden).booleanValue() : false;
|
||||
TerminalConnector.Factory factory=new TerminalConnector.Factory(){
|
||||
public TerminalConnectorImpl makeConnector() throws Exception {
|
||||
return (TerminalConnectorImpl)config.createExecutableExtension("class"); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue