diff options
Diffstat (limited to 'qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir')
15 files changed, 523 insertions, 523 deletions
diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirAST.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirAST.java index 78f0f3e62eb..5a618546840 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirAST.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirAST.java @@ -1,36 +1,36 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirAST;
-import org.eclipse.cdt.qt.core.qmldir.IQDirCommand;
-
-public class QDirAST extends QDirASTNode implements IQDirAST {
- private final List<IQDirCommand> commands;
-
- public QDirAST() {
- commands = new ArrayList<>();
- }
-
- public void addCommand(IQDirCommand command) {
- commands.add(command);
- }
-
- @Override
- public List<IQDirCommand> getCommands() {
- return Collections.unmodifiableList(commands);
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.eclipse.cdt.qt.core.qmldir.IQDirAST; +import org.eclipse.cdt.qt.core.qmldir.IQDirCommand; + +public class QDirAST extends QDirASTNode implements IQDirAST { + private final List<IQDirCommand> commands; + + public QDirAST() { + commands = new ArrayList<>(); + } + + public void addCommand(IQDirCommand command) { + commands.add(command); + } + + @Override + public List<IQDirCommand> getCommands() { + return Collections.unmodifiableList(commands); + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirASTNode.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirASTNode.java index a3fd9322755..1a9e3ef4fd0 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirASTNode.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirASTNode.java @@ -1,55 +1,55 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.internal.qt.core.location.SourceLocation;
-import org.eclipse.cdt.qt.core.qmldir.IQDirASTNode;
-
-public class QDirASTNode implements IQDirASTNode {
-
- private SourceLocation location;
- private int start;
- private int end;
-
- public QDirASTNode() {
- this.location = new SourceLocation();
- this.start = -1;
- this.end = -1;
- }
-
- public void setLocation(SourceLocation value) {
- this.location = value;
- }
-
- @Override
- public SourceLocation getLocation() {
- return location;
- }
-
- public void setStart(int value) {
- this.start = value;
- }
-
- @Override
- public int getStart() {
- return start;
- }
-
- public void setEnd(int value) {
- this.end = value;
- }
-
- @Override
- public int getEnd() {
- return end;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.internal.qt.core.location.SourceLocation; +import org.eclipse.cdt.qt.core.qmldir.IQDirASTNode; + +public class QDirASTNode implements IQDirASTNode { + + private SourceLocation location; + private int start; + private int end; + + public QDirASTNode() { + this.location = new SourceLocation(); + this.start = -1; + this.end = -1; + } + + public void setLocation(SourceLocation value) { + this.location = value; + } + + @Override + public SourceLocation getLocation() { + return location; + } + + public void setStart(int value) { + this.start = value; + } + + @Override + public int getStart() { + return start; + } + + public void setEnd(int value) { + this.end = value; + } + + @Override + public int getEnd() { + return end; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirClassnameCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirClassnameCommand.java index 6963f345416..a1ea7ab75ac 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirClassnameCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirClassnameCommand.java @@ -1,28 +1,28 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirClassnameCommand;
-
-public class QDirClassnameCommand extends QDirASTNode implements IQDirClassnameCommand {
-
- private QDirWord ident;
-
- public void setIdentifier(QDirWord value) {
- this.ident = value;
- }
-
- @Override
- public QDirWord getIdentifier() {
- return ident;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirClassnameCommand; + +public class QDirClassnameCommand extends QDirASTNode implements IQDirClassnameCommand { + + private QDirWord ident; + + public void setIdentifier(QDirWord value) { + this.ident = value; + } + + @Override + public QDirWord getIdentifier() { + return ident; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirCommentCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirCommentCommand.java index 40505866bb0..b44d34be567 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirCommentCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirCommentCommand.java @@ -1,28 +1,28 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirCommentCommand;
-
-public class QDirCommentCommand extends QDirASTNode implements IQDirCommentCommand {
-
- private String text;
-
- public void setText(String value) {
- this.text = value;
- }
-
- @Override
- public String getText() {
- return text;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirCommentCommand; + +public class QDirCommentCommand extends QDirASTNode implements IQDirCommentCommand { + + private String text; + + public void setText(String value) { + this.text = value; + } + + @Override + public String getText() { + return text; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDependsCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDependsCommand.java index 45639004a4f..15ffaa40900 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDependsCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDependsCommand.java @@ -1,38 +1,38 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirDependsCommand;
-
-public class QDirDependsCommand extends QDirASTNode implements IQDirDependsCommand {
-
- private QDirWord moduleName;
- private QDirVersion version;
-
- public void setModuleIdentifier(QDirWord value) {
- this.moduleName = value;
- }
-
- @Override
- public QDirWord getModuleIdentifier() {
- return moduleName;
- }
-
- public void setInitialVersion(QDirVersion value) {
- this.version = value;
- }
-
- @Override
- public QDirVersion getInitialVersion() {
- return version;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirDependsCommand; + +public class QDirDependsCommand extends QDirASTNode implements IQDirDependsCommand { + + private QDirWord moduleName; + private QDirVersion version; + + public void setModuleIdentifier(QDirWord value) { + this.moduleName = value; + } + + @Override + public QDirWord getModuleIdentifier() { + return moduleName; + } + + public void setInitialVersion(QDirVersion value) { + this.version = value; + } + + @Override + public QDirVersion getInitialVersion() { + return version; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDesignerSupportedCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDesignerSupportedCommand.java index 9b7583a437c..b73274eefac 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDesignerSupportedCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirDesignerSupportedCommand.java @@ -1,16 +1,16 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirDesignerSupportedCommand;
-
-public class QDirDesignerSupportedCommand extends QDirASTNode implements IQDirDesignerSupportedCommand {
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirDesignerSupportedCommand; + +public class QDirDesignerSupportedCommand extends QDirASTNode implements IQDirDesignerSupportedCommand { +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirInternalCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirInternalCommand.java index b437e8dc708..9262ffec54a 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirInternalCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirInternalCommand.java @@ -1,38 +1,38 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirInternalCommand;
-
-public class QDirInternalCommand extends QDirASTNode implements IQDirInternalCommand {
-
- private QDirWord typeName;
- private QDirWord file;
-
- public void setTypeName(QDirWord value) {
- this.typeName = value;
- }
-
- @Override
- public QDirWord getTypeName() {
- return typeName;
- }
-
- public void setFile(QDirWord value) {
- this.file = value;
- }
-
- @Override
- public QDirWord getFile() {
- return file;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirInternalCommand; + +public class QDirInternalCommand extends QDirASTNode implements IQDirInternalCommand { + + private QDirWord typeName; + private QDirWord file; + + public void setTypeName(QDirWord value) { + this.typeName = value; + } + + @Override + public QDirWord getTypeName() { + return typeName; + } + + public void setFile(QDirWord value) { + this.file = value; + } + + @Override + public QDirWord getFile() { + return file; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirModuleCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirModuleCommand.java index cea1f44b25b..08b29a05777 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirModuleCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirModuleCommand.java @@ -1,27 +1,27 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirModuleCommand;
-
-public class QDirModuleCommand extends QDirASTNode implements IQDirModuleCommand {
- private QDirWord identifier;
-
- public void setModuleIdentifier(QDirWord value) {
- this.identifier = value;
- }
-
- @Override
- public QDirWord getModuleIdentifier() {
- return identifier;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirModuleCommand; + +public class QDirModuleCommand extends QDirASTNode implements IQDirModuleCommand { + private QDirWord identifier; + + public void setModuleIdentifier(QDirWord value) { + this.identifier = value; + } + + @Override + public QDirWord getModuleIdentifier() { + return identifier; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirPluginCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirPluginCommand.java index 61fbb2fbdbe..e2ff96311d5 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirPluginCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirPluginCommand.java @@ -1,38 +1,38 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirPluginCommand;
-
-public class QDirPluginCommand extends QDirASTNode implements IQDirPluginCommand {
-
- private QDirWord qid;
- private QDirWord path;
-
- public void setName(QDirWord value) {
- this.qid = value;
- }
-
- @Override
- public QDirWord getName() {
- return qid;
- }
-
- public void setPath(QDirWord value) {
- this.path = value;
- }
-
- @Override
- public QDirWord getPath() {
- return path;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirPluginCommand; + +public class QDirPluginCommand extends QDirASTNode implements IQDirPluginCommand { + + private QDirWord qid; + private QDirWord path; + + public void setName(QDirWord value) { + this.qid = value; + } + + @Override + public QDirWord getName() { + return qid; + } + + public void setPath(QDirWord value) { + this.path = value; + } + + @Override + public QDirWord getPath() { + return path; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirResourceCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirResourceCommand.java index 7c9b8541a80..7c3a2e5c280 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirResourceCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirResourceCommand.java @@ -1,47 +1,47 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirResourceCommand;
-
-public class QDirResourceCommand extends QDirASTNode implements IQDirResourceCommand {
- private QDirWord typeName;
- private QDirVersion version;
- private QDirWord file;
-
- public void setResourceIdentifier(QDirWord value) {
- this.typeName = value;
- }
-
- @Override
- public QDirWord getResourceIdentifier() {
- return typeName;
- }
-
- public void setInitialVersion(QDirVersion value) {
- this.version = value;
- }
-
- @Override
- public QDirVersion getInitialVersion() {
- return version;
- }
-
- public void setFile(QDirWord value) {
- this.file = value;
- }
-
- @Override
- public QDirWord getFile() {
- return file;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirResourceCommand; + +public class QDirResourceCommand extends QDirASTNode implements IQDirResourceCommand { + private QDirWord typeName; + private QDirVersion version; + private QDirWord file; + + public void setResourceIdentifier(QDirWord value) { + this.typeName = value; + } + + @Override + public QDirWord getResourceIdentifier() { + return typeName; + } + + public void setInitialVersion(QDirVersion value) { + this.version = value; + } + + @Override + public QDirVersion getInitialVersion() { + return version; + } + + public void setFile(QDirWord value) { + this.file = value; + } + + @Override + public QDirWord getFile() { + return file; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSingletonCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSingletonCommand.java index 03208f0afd6..933ccaaefd8 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSingletonCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSingletonCommand.java @@ -1,48 +1,48 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirSingletonCommand;
-
-public class QDirSingletonCommand extends QDirASTNode implements IQDirSingletonCommand {
-
- private QDirWord typeName;
- private QDirVersion version;
- private QDirWord file;
-
- public void setTypeName(QDirWord value) {
- this.typeName = value;
- }
-
- @Override
- public QDirWord getTypeName() {
- return typeName;
- }
-
- public void setInitialVersion(QDirVersion value) {
- this.version = value;
- }
-
- @Override
- public QDirVersion getInitialVersion() {
- return version;
- }
-
- public void setFile(QDirWord value) {
- this.file = value;
- }
-
- @Override
- public QDirWord getFile() {
- return file;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirSingletonCommand; + +public class QDirSingletonCommand extends QDirASTNode implements IQDirSingletonCommand { + + private QDirWord typeName; + private QDirVersion version; + private QDirWord file; + + public void setTypeName(QDirWord value) { + this.typeName = value; + } + + @Override + public QDirWord getTypeName() { + return typeName; + } + + public void setInitialVersion(QDirVersion value) { + this.version = value; + } + + @Override + public QDirVersion getInitialVersion() { + return version; + } + + public void setFile(QDirWord value) { + this.file = value; + } + + @Override + public QDirWord getFile() { + return file; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSyntaxError.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSyntaxError.java index a66b968ddb3..d186887cc70 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSyntaxError.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirSyntaxError.java @@ -1,40 +1,40 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirASTNode;
-import org.eclipse.cdt.qt.core.qmldir.IQDirSyntaxError;
-import org.eclipse.cdt.qt.core.qmldir.QMLDirectoryLexer.Token;
-import org.eclipse.cdt.qt.core.qmldir.QMLDirectoryParser.SyntaxError;
-
-public class QDirSyntaxError extends QDirASTNode implements IQDirSyntaxError {
- private SyntaxError exception;
-
- public QDirSyntaxError(SyntaxError exception) {
- this.exception = exception;
- }
-
- @Override
- public Token getOffendingToken() {
- return this.exception.getOffendingToken();
- }
-
- @Override
- public IQDirASTNode getIncompleteNode() {
- return this.exception.getIncompleteNode();
- }
-
- @Override
- public SyntaxError getSyntaxError() {
- return this.exception;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirASTNode; +import org.eclipse.cdt.qt.core.qmldir.IQDirSyntaxError; +import org.eclipse.cdt.qt.core.qmldir.QMLDirectoryLexer.Token; +import org.eclipse.cdt.qt.core.qmldir.QMLDirectoryParser.SyntaxError; + +public class QDirSyntaxError extends QDirASTNode implements IQDirSyntaxError { + private SyntaxError exception; + + public QDirSyntaxError(SyntaxError exception) { + this.exception = exception; + } + + @Override + public Token getOffendingToken() { + return this.exception.getOffendingToken(); + } + + @Override + public IQDirASTNode getIncompleteNode() { + return this.exception.getIncompleteNode(); + } + + @Override + public SyntaxError getSyntaxError() { + return this.exception; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirTypeInfoCommand.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirTypeInfoCommand.java index 9b2f00e1a9b..0332e141ee2 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirTypeInfoCommand.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirTypeInfoCommand.java @@ -1,28 +1,28 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirTypeInfoCommand;
-
-public class QDirTypeInfoCommand extends QDirASTNode implements IQDirTypeInfoCommand {
-
- private QDirWord file;
-
- public void setFile(QDirWord value) {
- this.file = value;
- }
-
- @Override
- public QDirWord getFile() {
- return file;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirTypeInfoCommand; + +public class QDirTypeInfoCommand extends QDirASTNode implements IQDirTypeInfoCommand { + + private QDirWord file; + + public void setFile(QDirWord value) { + this.file = value; + } + + @Override + public QDirWord getFile() { + return file; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirVersion.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirVersion.java index 4a3c3dabe3a..161ffdf6726 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirVersion.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirVersion.java @@ -1,28 +1,28 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirVersion;
-
-public class QDirVersion extends QDirASTNode implements IQDirVersion {
-
- private String version;
-
- public void setVersionString(String value) {
- this.version = value;
- }
-
- @Override
- public String getVersionString() {
- return version;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirVersion; + +public class QDirVersion extends QDirASTNode implements IQDirVersion { + + private String version; + + public void setVersionString(String value) { + this.version = value; + } + + @Override + public String getVersionString() { + return version; + } + +} diff --git a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirWord.java b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirWord.java index 89aac96b739..76ea26a8bf0 100644 --- a/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirWord.java +++ b/qt/org.eclipse.cdt.qt.core/src/org/eclipse/cdt/internal/qt/core/qmldir/QDirWord.java @@ -1,28 +1,28 @@ -/*******************************************************************************
- * Copyright (c) 2015 QNX Software Systems 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.qt.core.qmldir;
-
-import org.eclipse.cdt.qt.core.qmldir.IQDirWord;
-
-public class QDirWord extends QDirASTNode implements IQDirWord {
-
- private String text;
-
- public void setText(String value) {
- this.text = value;
- }
-
- @Override
- public String getText() {
- return text;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2015 QNX Software Systems 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.internal.qt.core.qmldir; + +import org.eclipse.cdt.qt.core.qmldir.IQDirWord; + +public class QDirWord extends QDirASTNode implements IQDirWord { + + private String text; + + public void setText(String value) { + this.text = value; + } + + @Override + public String getText() { + return text; + } + +} |