Selaa lähdekoodia

Renaming of IProjectWzardPage to IProjectWizardPage, added missing copyright headers and author tags

Andreas Mülder 13 vuotta sitten
vanhempi
commit
97fc18cb01

+ 5 - 5
plugins/org.yakindu.sct.generator.genmodel.ui/.settings/org.eclipse.core.resources.prefs

@@ -1,5 +1,5 @@
-#Wed Dec 14 17:00:34 CET 2011
-eclipse.preferences.version=1
-encoding//src/org/yakindu/sct/generator/genmodel/ui/wizard/GeneratorProjectTemplate.xtend=UTF-8
-encoding//src/org/yakindu/sct/generator/genmodel/ui/wizard/XpandDefaultTemplate.xpt=ISO-8859-1
-encoding//xtend-gen/org/yakindu/sct/generator/genmodel/ui/wizard/GeneratorProjectTemplate.java=UTF-8
+#Mon Jan 16 23:33:04 CET 2012
+eclipse.preferences.version=1
+encoding//src/org/yakindu/sct/generator/genmodel/ui/wizard/GeneratorProjectTemplate.xtend=UTF-8
+encoding//src/org/yakindu/sct/generator/genmodel/ui/wizard/XpandDefaultTemplate.xpt=ISO-8859-1
+encoding//xtend-gen/org/yakindu/sct/generator/genmodel/ui/wizard/GeneratorProjectTemplate.java=UTF-8

+ 24 - 0
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/IProjectWizardPage.java

@@ -0,0 +1,24 @@
+/**
+ * Copyright (c) 2011 committers of YAKINDU 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:
+ * 	committers of YAKINDU - initial API and implementation
+ * 
+ */
+package org.yakindu.sct.generator.genmodel.ui.wizard;
+
+import org.eclipse.jface.wizard.WizardPage;
+/**
+ * @author holger willebrandt - Initial contribution and API
+ */
+public abstract class IProjectWizardPage extends WizardPage {
+
+	protected IProjectWizardPage(String pageName) {
+		super(pageName);
+	}
+
+	protected abstract ProjectData getProjectData();
+}

+ 0 - 12
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/IProjectWzardPage.java

@@ -1,12 +0,0 @@
-package org.yakindu.sct.generator.genmodel.ui.wizard;
-
-import org.eclipse.jface.wizard.WizardPage;
-
-public abstract class IProjectWzardPage extends WizardPage {
-
-	protected IProjectWzardPage(String pageName) {
-		super(pageName);
-	}
-
-	protected abstract ProjectData getProjectData();
-}

+ 10 - 0
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/ModelCreator.java

@@ -1,3 +1,13 @@
+/**
+ * Copyright (c) 2011 committers of YAKINDU 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:
+ * 	committers of YAKINDU - initial API and implementation
+ * 
+ */
 package org.yakindu.sct.generator.genmodel.ui.wizard;
 
 import java.util.ArrayList;

+ 1 - 1
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/WorkspaceGeneratorProjectWizard.java

@@ -27,7 +27,7 @@ public class WorkspaceGeneratorProjectWizard extends
 	}
 
 	@Override
-	public IProjectWzardPage getProjectPage() {
+	public IProjectWizardPage getProjectPage() {
 		WorkspaceGeneratorWizardPage1 projectPage = new WorkspaceGeneratorWizardPage1(
 				"project"); //$NON-NLS-1$
 		projectPage.setTitle("New YAKINDU Workspace Generator Project");

+ 15 - 2
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/WorkspaceGeneratorWizardPage1.java

@@ -1,3 +1,13 @@
+/**
+ * Copyright (c) 2011 committers of YAKINDU 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:
+ * 	committers of YAKINDU - initial API and implementation
+ * 
+ */
 package org.yakindu.sct.generator.genmodel.ui.wizard;
 
 import org.eclipse.core.resources.ResourcesPlugin;
@@ -13,8 +23,11 @@ import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
-
-public class WorkspaceGeneratorWizardPage1 extends IProjectWzardPage {
+/**
+ * 
+ * @author holger willebrandt - Initial contribution and API
+ */
+public class WorkspaceGeneratorWizardPage1 extends IProjectWizardPage {
 	private static final String GENERATOR_CLASS_REGEX = "([a-zA-Z_][a-zA-Z0-9_]*\\.)+[a-zA-Z_][a-zA-Z0-9_]*"; //$NON-NLS-1$
 	// project will be an OSGI bundle, so there are some name restrictions
 	private static final String PROJECT_REGEX = "[A-Za-z0-9\\._]+"; //$NON-NLS-1$

+ 12 - 0
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/XpandDefaultTemplate.xpt

@@ -1,3 +1,15 @@
+«REM»
+/**
+ * Copyright (c) 2011 committers of YAKINDU 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:
+ * 	committers of YAKINDU - initial API and implementation
+ * 
+ */
+«ENDREM»
 «IMPORT sexec»
 «IMPORT stext»
 «IMPORT sgraph»

+ 2 - 2
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/XpandGeneratorProjectWizard.java

@@ -27,7 +27,7 @@ import org.eclipse.ui.IWorkbenchWizard;
 public class XpandGeneratorProjectWizard extends Wizard implements
 		IWorkbenchWizard {
 
-	private IProjectWzardPage projectPage;
+	private IProjectWizardPage projectPage;
 
 	public void init(IWorkbench workbench, IStructuredSelection selection) {
 		setWindowTitle("New YAKINDU Xpand Generator Project");
@@ -40,7 +40,7 @@ public class XpandGeneratorProjectWizard extends Wizard implements
 		addPage(projectPage);
 	}
 
-	protected IProjectWzardPage getProjectPage() {
+	protected IProjectWizardPage getProjectPage() {
 		XpandGeneratorWizardPage1 projectPage = new XpandGeneratorWizardPage1(
 				"project"); //$NON-NLS-1$
 		projectPage.setTitle("New YAKINDU Xpand Generator Project");

+ 16 - 2
plugins/org.yakindu.sct.generator.genmodel.ui/src/org/yakindu/sct/generator/genmodel/ui/wizard/XpandGeneratorWizardPage1.java

@@ -1,3 +1,14 @@
+
+/**
+ * Copyright (c) 2011 committers of YAKINDU 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:
+ * 	committers of YAKINDU - initial API and implementation
+ * 
+ */
 package org.yakindu.sct.generator.genmodel.ui.wizard;
 
 import org.eclipse.core.resources.ResourcesPlugin;
@@ -14,8 +25,11 @@ import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Group;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
-
-public class XpandGeneratorWizardPage1 extends IProjectWzardPage {
+/**
+ * 
+ * @author holger willebrandt - Initial contribution and API
+ */
+public class XpandGeneratorWizardPage1 extends IProjectWizardPage {
 	// (ID::)+ID
 	private static final String GENERATOR_ID_REGEX = "([a-zA-Z_][a-zA-Z0-9_]*::)+[a-zA-Z_][a-zA-Z0-9_]*"; //$NON-NLS-1$
 	private static final String GENERATOR_CLASS_REGEX = "([a-zA-Z_][a-zA-Z0-9_]*\\.)+[a-zA-Z_][a-zA-Z0-9_]*"; //$NON-NLS-1$

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 1279
plugins/org.yakindu.sct.generator.genmodel.ui/xtend-gen/org/yakindu/sct/generator/genmodel/ui/wizard/GeneratorProjectTemplate.java