diff options
author | Quentin Le Menez | 2018-01-09 10:09:46 +0000 |
---|---|---|
committer | Quentin Le Menez | 2018-01-09 13:18:15 +0000 |
commit | d98116b5b376f18b6cf626ba4158a35fe9a4a64e (patch) | |
tree | 4458c9c5ada0a216b385813a56ea9a9b8c7b6509 /plugins/facet | |
parent | 453e99bc2dcbd5fabad100f9d0d5f682013c3b19 (diff) | |
download | org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.tar.gz org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.tar.xz org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.zip |
Bug 515367 - [releng] Uniformization of the end of lines to Unix standard
- Format the EOL of all the files matched by: grep -rIUs . | xargs -Ifile dos2unix -k 'file'
Change-Id: I5c41d540a9a67b50de9b912ab35e16cc9a912961
Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'plugins/facet')
1437 files changed, 166525 insertions, 166525 deletions
diff --git a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/OSGI-INF/l10n/bundle.properties b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/OSGI-INF/l10n/bundle.properties index 37129f35e4f..3993d7a4804 100644 --- a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/OSGI-INF/l10n/bundle.properties +++ b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/OSGI-INF/l10n/bundle.properties @@ -1,13 +1,13 @@ -###############################################################################
-# Copyright (c) 2012 CEA LIST.
-# 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:
-# Nicolas Bros (Mia-Software) - Bug 375789 - Documentation
-###############################################################################
-#Properties file for org.eclipse.papyrus.emf.facet.custom.doc
-Bundle-Vendor = Eclipse Modeling Project
-Bundle-Name = Papyrus EMF Facet Customization Documentation
+############################################################################### +# Copyright (c) 2012 CEA LIST. +# 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: +# Nicolas Bros (Mia-Software) - Bug 375789 - Documentation +############################################################################### +#Properties file for org.eclipse.papyrus.emf.facet.custom.doc +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus EMF Facet Customization Documentation diff --git a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/about.html b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/about.html index 3019b95b9cf..42595040e90 100644 --- a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/about.html +++ b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/about.html @@ -1,28 +1,28 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>December 22, 2008</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, "Program" will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party ("Redistributor") and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>December 22, 2008</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> </html>
\ No newline at end of file diff --git a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/build.properties b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/build.properties index cdb6602c5fc..01f654c1381 100644 --- a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/build.properties +++ b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/build.properties @@ -1,9 +1,9 @@ -bin.includes = META-INF/,\
- img/,\
- about.html,\
- plugin.xml,\
- mediawiki/,\
- toc-dev.xml,\
- OSGI-INF/,\
- toc-user.xml
+bin.includes = META-INF/,\ + img/,\ + about.html,\ + plugin.xml,\ + mediawiki/,\ + toc-dev.xml,\ + OSGI-INF/,\ + toc-user.xml src.includes = about.html diff --git a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/plugin_dev.mediawiki b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/plugin_dev.mediawiki index 40541782a1e..83bf99c6b36 100644 --- a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/plugin_dev.mediawiki +++ b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/plugin_dev.mediawiki @@ -1,27 +1,27 @@ -== Customization selection dialog ==
-
-EMF Facet provides a customization selection dialog:
-
-[[Image:../img/LoadCustomizationsDialog.png]]
-
-To open this dialog to let the user select customizations, use <code>ILoadCustomizationsDialogFactory#createLoadCustomizationDialog</code> from the plug-in '''org.eclipse.papyrus.emf.facet.custom.ui'''. For example:
-
-<pre>
-ILoadCustomizationsDialogListener callback = new ILoadCustomizationsDialogListener() {
- public void okPressed(List<Customization> selection) {
- // do something with the selection
- }
-};
-ILoadCustomizationsDialog dialog = ILoadCustomizationsDialogFactory.DEFAULT.createLoadCustomizationDialog(
- getShell(), availableCustomizations, initiallySelectedCustomizations, callback);
-dialog.open();
-</pre>
-
-<font size="-2">
-Copyright (c) 2012 Mia-Software.
-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: Nicolas Bros (Mia-Software)
+== Customization selection dialog == + +EMF Facet provides a customization selection dialog: + +[[Image:../img/LoadCustomizationsDialog.png]] + +To open this dialog to let the user select customizations, use <code>ILoadCustomizationsDialogFactory#createLoadCustomizationDialog</code> from the plug-in '''org.eclipse.papyrus.emf.facet.custom.ui'''. For example: + +<pre> +ILoadCustomizationsDialogListener callback = new ILoadCustomizationsDialogListener() { + public void okPressed(List<Customization> selection) { + // do something with the selection + } +}; +ILoadCustomizationsDialog dialog = ILoadCustomizationsDialogFactory.DEFAULT.createLoadCustomizationDialog( + getShell(), availableCustomizations, initiallySelectedCustomizations, callback); +dialog.open(); +</pre> + +<font size="-2"> +Copyright (c) 2012 Mia-Software. +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: Nicolas Bros (Mia-Software) </font>
\ No newline at end of file diff --git a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/user.mediawiki b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/user.mediawiki index 739c452d975..ae1d0f5d68e 100644 --- a/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/user.mediawiki +++ b/plugins/facet/editor/org.eclipse.papyrus.emf.facet.custom.doc/mediawiki/user.mediawiki @@ -1,224 +1,224 @@ -<h1>Table of Contents</h1>
-__TOC__
-
-EMF Facet provides a '''customization''' component, that can be used to define the appearance of model elements when viewed in an editor or view that supports this customization mechanism.
-
-== Description ==
-A customization is defined in a model that conforms to the EMF Facet customization metamodel. This model is saved in a file with the ".custom" file extension.
-
-== Customization Metamodel ==
-
-=== customizations ===
-
-A '''Customization''' is a '''FacetSet''':
-
-[[Image:../img/CustomizationMetaclass.png]]
-
-A '''Customization''' can contain customizations for Ecore metaclasses ('''EClassCustomization'''), or Facets ('''FacetCustomization'''). Both '''EClassCustomization''' and '''FacetCustomization''' are Facets.
-
-The '''extendedMetaclass''' of an '''EClassCustomization''' is the EClass whose instances will be customized.
-
-The '''extendedFacet''' of an '''EClassCustomization''' or '''FacetCustomization''' is the Facet that defines the customizable features (label, color, etc.) that will be customized.
-
-In case of facet customization, the '''customizedFacet''' of a '''FacetCustomization''' is the Facet for which model elements that conform to this Facet will be customized.
-
-[[Image:../img/EClassAndFacetCustomizationMetaclasses.png]]
-
-=== customizable features ===
-
-Customizable features are defined in Facets as FacetOperations. For example, this FacetSet defines basic customizable features such as label, icon, etc.: <code>platform:/plugin/org.eclipse.papyrus.emf.facet.custom.ui/resources/customproperties.efacet</code>
-
-The following instance diagram shows how a Facet named '''CustomizedEObject''' is defined in ''customproperties.efacet''. Its '''extendedMetaclass''' is '''EObject''', so it can be used to customize any model element. It contains '''FacetOperations''' (of which only two are represented here). These FacetOperations define the customizable features: here the '''label''' and '''image''' for a model element. The type of each of these FacetOperations is the customized feature's type : an '''EString''' for the label and an '''Image''' for the image.
-
-[[Image:../img/CustomizedEObject.png]]
-
-The operation is called each time the value of its customization is needed. For example, when displaying a model element in a viewer, we will need its label. So the '''label''' operation will be called on the model element for which the label is needed.
-
-=== customization override ===
-A FacetOperation that defines a customizable feature such as label, icon, color, font, etc. can be compared to a virtual method: it is meant to be overridden in extending Facets in order to provide a specific customization.
-
-To understand this override mechanism, remember that a '''EClassCustomization''' and '''FacetCustomization''' are '''Facets''' (the '''EClassCustomization''' and '''FacetCustomization''' metaclasses extend the '''Facet''' metaclass).
-
-==== customizing an EClass ====
-
-To create a customization for instances of an '''EClass''':
-* create an '''EClassCustomization'''
-* the new '''EClassCustomization''''s '''extendedMetaclass''' is the '''EClass''' whose instances you want to customize
-* the new '''EClassCustomization''''s '''extendedFacet''' is the Facet that defines the customizable feature you want to customize (i.e. the label, color, font,...)
-* you create a '''FacetOperation''' in your '''EClassCustomization''' for each customizable feature you want to customize
-* each of these '''FacetOperations''' '''overrides''' the '''FacetOperation''' (from the '''extendedFacet''') corresponding to the customizable feature you want to customize
-* the overriding FacetOperation and the overridden FacetOperation must have the same type
-* finally, you provide an implementation for your overriding '''FacetOperation''', by the means of a '''Query''' that will return the value of the customization when this Query is evaluated on an instance of the '''extendedMetaclass'''
-
-In the following example, we customize the label of instances of the '''Writer''' metaclass from a library metamodel (defined in ''library.ecore''). For this, we create an '''EClassCustomization''' which extends the '''CustomizedEObject''' Facet. This '''CustomizedEObject''' Facet provides the customizable feature '''label''' which we want to customize. So, we create a FacetOperation (in our EClassCustomization) which overrides the '''label''' FacetOperation (in CustomizedEObject). Finally, we choose to provide the label using a Java query, so we create a JavaQuery under our label FacetOperation's '''query''' reference. We set this JavaQuery's '''implementationClassName''' to the full qualified name of a Java class that implements the query and returns the label corresponding to a Writer instance passed as a '''source''' to this query.
-
-[[Image:../img/customizationWithOverride.png]]
-
-==== customizing a Facet ====
-
-To create a customization for model elements that conform to a '''Facet''':
-* create a '''FacetCustomization'''
-* the new '''FacetCustomization''''s '''extendedFacet''' is the '''Facet''' whose conforming elements you want to customize
-* you create a '''FacetOperation''' in your '''FacetCustomization''' for each customizable feature (label, font, color, etc.) you want to customize
-* each of these '''FacetOperations''' '''overrides''' the '''FacetOperation''' corresponding to the customizable feature you want to customize
-* the overriding FacetOperation and the overridden FacetOperation must have the same type
-* finally, you provide an implementation for your overriding '''FacetOperation''', by the means of a '''Query''' that will return the value of the customization when this Query is evaluated on a model element that conforms to the '''extendedFacet'''
-
-In the following example, we want to add an overlay icon on elements that conform to the '''UnproductiveWriter''' metaclass from the library FacetSet (defined in ''library.efacet''). For this, we create an '''FacetCustomization''' which extends the '''UnproductiveWriter''' Facet. We create a FacetOperation (in our FacetCustomization) which overrides the '''bottomRightOverlay''' FacetOperation that allows adding an overlay icon in the bottom right corner of an element's main icon. Finally, we provide the overlay icon using a query. This query will be evaluated with instances of '''Writer''' that conform to the '''UnproductiveWriter''' Facet, and will return the overlay icon.
-
-[[Image:../img/customizingFacetWithOverride.png]]
-
-=== customizing structural features ===
-
-Each FacetOperation that defines a customizable feature has a parameter named '''eStructuralFeature'''. This parameter is useful for customizing the structural feature corresponding to a single model element. For example, in |