Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Le Fevre - CEA2015-01-27 14:25:46 +0000
committerChristian W. Damus2015-01-28 19:39:12 +0000
commit2d6f7d56523c9ada236abab425b05b8ebd02a2ff (patch)
tree90dab8670ae5cfbd11e372add54e209de7fe77b8 /plugins/developer/org.eclipse.papyrus.def/xtend-gen
parent6c518595d43e2d73cdc43694e79024f9d32a4479 (diff)
downloadorg.eclipse.papyrus-2d6f7d56523c9ada236abab425b05b8ebd02a2ff.tar.gz
org.eclipse.papyrus-2d6f7d56523c9ada236abab425b05b8ebd02a2ff.tar.xz
org.eclipse.papyrus-2d6f7d56523c9ada236abab425b05b8ebd02a2ff.zip
Bug 458511 : Applying xtend code generation at build time template to
others plugins deleting content of org.eclipse.papyrus.def/xtend-gen and specially the following java file https://bugs.eclipse.org/bugs/show_bug.cgi?id=372322 Change-Id: Ie9513f5f6a5cb3c6101846907d55ac6c3a74b5bc Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.def/xtend-gen')
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/.gitignore2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/diagram/editparts/.gitignore8
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/editparts/.gitignore10
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/update/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/parsers/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/preferences/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/metamodel/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/commands/.gitignore2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/edithelpers/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editparts/.gitignore2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editpolicies/.gitignore10
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/preferences/.gitignore2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/.gitignore2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/UpdateCommand.java90
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/views/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/.gitignore10
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/palette/.gitignore2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/expressions/.gitignore1
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/navigator/.gitignore7
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/plugin/.gitignore3
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/providers/.gitignore7
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend-gen/utils/.gitignore5
23 files changed, 2 insertions, 168 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/.gitignore
new file mode 100644
index 00000000000..c96a04f008e
--- /dev/null
+++ b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore \ No newline at end of file
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/diagram/editparts/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/diagram/editparts/.gitignore
deleted file mode 100644
index 1a2600974d6..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/diagram/editparts/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-/ChildNodeLabelEditPart.java
-/CompartmentEditPart.java
-/DiagramEditPart.java
-/ExternalNodeLabelEditPart.java
-/LinkEditPart.java
-/LinkLabelEditPart.java
-/NodeEditPart.java
-/NodeLabelEditPart.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/editparts/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/editparts/.gitignore
deleted file mode 100644
index 34f20c26406..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/editparts/.gitignore
+++ /dev/null
@@ -1,10 +0,0 @@
-/TextAware.java
-/NodeEditPart.java
-/ChildNodeLabelEditPart.java
-/ChoiceUtils_qvto.java
-/CompartmentEditPart.java
-/DiagramEditPart.java
-/LinkEditPart.java
-/LinkLabelEditPart.java
-/NodeLabelEditPart.java
-/ExternalNodeLabelEditPart.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/update/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/update/.gitignore
deleted file mode 100644
index ed6fc740e88..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/diagram/update/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/CanonicalUpdate.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/parsers/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/parsers/.gitignore
deleted file mode 100644
index c89b20955f1..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/parsers/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/ParserProvider.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/preferences/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/preferences/.gitignore
deleted file mode 100644
index 6511bd48b3f..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/impl/preferences/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/StandardPage.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/metamodel/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/metamodel/.gitignore
deleted file mode 100644
index 9d2736b6052..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/metamodel/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/Facility.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/.gitignore
deleted file mode 100644
index 773023571e1..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/Common.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/commands/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/commands/.gitignore
deleted file mode 100644
index 5b0df3ff386..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/commands/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/CreateLinkUtils.java
-/CreateNodeCommand.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/edithelpers/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/edithelpers/.gitignore
deleted file mode 100644
index 03f041845c9..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/edithelpers/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/EditHelper.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editparts/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editparts/.gitignore
deleted file mode 100644
index 4c1df60d4fc..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editparts/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/Common.java
-/EditPartFactory.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editpolicies/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editpolicies/.gitignore
deleted file mode 100644
index 329ccbbba6f..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/editpolicies/.gitignore
+++ /dev/null
@@ -1,10 +0,0 @@
-/BaseItemSemanticEditPolicy.java
-/CompartmentItemSemanticEditPolicy.java
-/DiagramItemSemanticEditPolicy.java
-/LinkItemSemanticEditPolicy.java
-/NodeItemSemanticEditPolicy.java
-/childContainerCreateCommand.java
-/linkCommands.java
-/TextNonResizableEditPolicy.java
-/Utils_qvto.java
-/OpenDiagram.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/preferences/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/preferences/.gitignore
deleted file mode 100644
index 52c1b8e9b16..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/preferences/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/PreferenceInitializer.java
-/extensions.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/.gitignore
deleted file mode 100644
index fd5fcc747d8..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/DiagramUpdater.java
-/Extensions.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/UpdateCommand.java b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/UpdateCommand.java
deleted file mode 100644
index a72c0854979..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/updater/UpdateCommand.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * Copyright (c) 2007, 2009, 2013 Borland Software Corporation 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:
- * Alexander Shatalin (Borland) - initial API and implementation
- * Michael Golubev (Montages) - #386838 - migrate to Xtend2
- */
-package aspects.xpt.diagram.updater;
-
-import com.google.inject.Inject;
-import com.google.inject.Singleton;
-import org.eclipse.gmf.codegen.gmfgen.GenDiagramUpdater;
-import org.eclipse.xtend2.lib.StringConcatenation;
-import org.eclipse.xtext.xbase.lib.Extension;
-import xpt.Common;
-
-@Singleton
-@SuppressWarnings("all")
-public class UpdateCommand extends xpt.diagram.updater.UpdateCommand {
- @Inject
- @Extension
- private Common _common;
-
- public CharSequence execute(final GenDiagramUpdater it) {
- StringConcatenation _builder = new StringConcatenation();
- CharSequence _generatedMemberComment = this._common.generatedMemberComment();
- _builder.append(_generatedMemberComment, "");
- _builder.newLineIfNotEmpty();
- _builder.append("public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException {");
- _builder.newLine();
- _builder.append("\t");
- _builder.append("org.eclipse.jface.viewers.ISelection selection = org.eclipse.ui.PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService().getSelection();");
- _builder.newLine();
- _builder.append("\t");
- _builder.append("if (selection instanceof org.eclipse.jface.viewers.IStructuredSelection) {");
- _builder.newLine();
- _builder.append("\t\t");
- _builder.append("org.eclipse.jface.viewers.IStructuredSelection structuredSelection = (org.eclipse.jface.viewers.IStructuredSelection) selection;");
- _builder.newLine();
- _builder.append("\t\t");
- _builder.append("if (structuredSelection.size() != 1) {");
- _builder.newLine();
- _builder.append("\t\t\t");
- _builder.append("return null;");
- _builder.newLine();
- _builder.append("\t\t");
- _builder.append("}");
- _builder.newLine();
- _builder.append("\t\t");
- _builder.append("if (structuredSelection.getFirstElement() instanceof org.eclipse.gef.EditPart && ((org.eclipse.gef.EditPart) structuredSelection.getFirstElement()).getModel() instanceof org.eclipse.gmf.runtime.notation.View) {");
- _builder.newLine();
- _builder.append("\t\t\t");
- _builder.append("org.eclipse.emf.ecore.EObject modelElement = ((org.eclipse.gmf.runtime.notation.View) ((org.eclipse.gef.EditPart) structuredSelection.getFirstElement()).getModel()).getElement();");
- _builder.newLine();
- _builder.append("\t\t\t");
- _builder.append("java.util.List<?> editPolicies = org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy.getRegisteredEditPolicies(modelElement);");
- _builder.newLine();
- _builder.append("\t\t\t");
- _builder.append("for (java.util.Iterator<?> it = editPolicies.iterator(); it.hasNext();) {");
- _builder.newLine();
- _builder.append("\t\t\t\t");
- _builder.append("org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy nextEditPolicy = (org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy) it.next();");
- _builder.newLine();
- _builder.append("\t\t\t\t");
- _builder.append("nextEditPolicy.refresh();");
- _builder.newLine();
- _builder.append("\t\t\t");
- _builder.append("}");
- _builder.newLine();
- _builder.append("\t\t\t");
- _builder.newLine();
- _builder.append("\t\t");
- _builder.append("}");
- _builder.newLine();
- _builder.append("\t");
- _builder.append("}");
- _builder.newLine();
- _builder.append("\t");
- _builder.append("return null;");
- _builder.newLine();
- _builder.append("}");
- _builder.newLine();
- return _builder;
- }
-}
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/views/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/views/.gitignore
deleted file mode 100644
index 9938cca4f24..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/diagram/views/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/ViewStyles.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/.gitignore
deleted file mode 100644
index 34e4cdc198a..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/.gitignore
+++ /dev/null
@@ -1,10 +0,0 @@
-/Editor.java
-/DeleteElementAction.java
-/DiagramEditorContextMenuProvider.java
-/VisualIDRegistry.java
-/extensions.java
-/ActionBarContributor.java
-/NewDiagramFileWizard.java
-/DocumentProvider.java
-/ResourceSetModificationListener.java
-/ValidateAction.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/palette/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/palette/.gitignore
deleted file mode 100644
index d09e80a79fb..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/editor/palette/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/Utils_qvto.java
-/PaletteFactory.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/expressions/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/expressions/.gitignore
deleted file mode 100644
index 46426b4fd49..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/expressions/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/AbstractExpression.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/navigator/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/navigator/.gitignore
deleted file mode 100644
index 8dde5108fd1..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/navigator/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-/NavigatorContentProvider.java
-/NavigatorLinkHelper.java
-/AbstractNavigatorItem.java
-/DomainNavigatorContentProvider.java
-/DomainNavigatorItem.java
-/NavigatorGroup.java
-/NavigatorItem.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/plugin/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/plugin/.gitignore
deleted file mode 100644
index eda9879a78f..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/plugin/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/ActivatorImpl.java
-/manifest.java
-/plugin.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/providers/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/providers/.gitignore
deleted file mode 100644
index 34c0b8e53a8..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/aspects/xpt/providers/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-/ViewProvider.java
-/ElementInitializers.java
-/ValidationDecoratorProvider.java
-/ValidationProvider.java
-/extensions.java
-/ElementTypes.java
-/MarkerNavigationProvider.java
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/utils/.gitignore b/plugins/developer/org.eclipse.papyrus.def/xtend-gen/utils/.gitignore
deleted file mode 100644
index 29475c37723..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/xtend-gen/utils/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/EditHelperUtils_qvto.java
-/EditPartsUtils_qvto.java
-/NodeConstraintUtils_qvto.java
-/PrefsConstant_qvto.java
-/UtilsItemSemanticEditPolicy.java

Back to the top