diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.launch.java/src/org/eclipse/etrice/generator/launch/java/JavaGeneratorMainTab.java')
-rw-r--r-- | plugins/org.eclipse.etrice.generator.launch.java/src/org/eclipse/etrice/generator/launch/java/JavaGeneratorMainTab.java | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/plugins/org.eclipse.etrice.generator.launch.java/src/org/eclipse/etrice/generator/launch/java/JavaGeneratorMainTab.java b/plugins/org.eclipse.etrice.generator.launch.java/src/org/eclipse/etrice/generator/launch/java/JavaGeneratorMainTab.java index d920e3ea5..480d52b8a 100644 --- a/plugins/org.eclipse.etrice.generator.launch.java/src/org/eclipse/etrice/generator/launch/java/JavaGeneratorMainTab.java +++ b/plugins/org.eclipse.etrice.generator.launch.java/src/org/eclipse/etrice/generator/launch/java/JavaGeneratorMainTab.java @@ -1,35 +1,35 @@ -/*******************************************************************************
- * Copyright (c) 2011 protos software gmbh (http://www.protos.de).
- * 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:
- * Thomas Schuetz and Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.generator.launch.java;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.etrice.generator.launch.GeneratorMainTab;
-
-/**
- * @author Henrik Rentz-Reichert
- *
- */
-public class JavaGeneratorMainTab extends GeneratorMainTab {
-
- /* (non-Javadoc)
- * @see org.eclipse.etrice.generator.launch.GeneratorMainTab#isValidModelFile(org.eclipse.core.resources.IResource)
- */
- @Override
- protected boolean isValidModelFile(IResource resource) {
- return resource.getName().endsWith(".room")
- || resource.getName().endsWith(".config")
- || resource.getName().endsWith(".etphys")
- || resource.getName().endsWith(".etmap");
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2011 protos software gmbh (http://www.protos.de). + * 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: + * Thomas Schuetz and Henrik Rentz-Reichert (initial contribution) + * + *******************************************************************************/ + +package org.eclipse.etrice.generator.launch.java; + +import org.eclipse.core.resources.IResource; +import org.eclipse.etrice.generator.launch.GeneratorMainTab; + +/** + * @author Henrik Rentz-Reichert + * + */ +public class JavaGeneratorMainTab extends GeneratorMainTab { + + /* (non-Javadoc) + * @see org.eclipse.etrice.generator.launch.GeneratorMainTab#isValidModelFile(org.eclipse.core.resources.IResource) + */ + @Override + protected boolean isValidModelFile(IResource resource) { + return resource.getName().endsWith(".room") + || resource.getName().endsWith(".config") + || resource.getName().endsWith(".etphys") + || resource.getName().endsWith(".etmap"); + } + +} |