diff options
Diffstat (limited to 'extraplugins/robotml/generators/rtmaps/org.eclipse.papyrus.robotml.generators.intempora.rtmaps/src/org/eclipse/papyrus/robotml/generators/intempora/rtmaps/Generate_rtmaps.java')
-rw-r--r-- | extraplugins/robotml/generators/rtmaps/org.eclipse.papyrus.robotml.generators.intempora.rtmaps/src/org/eclipse/papyrus/robotml/generators/intempora/rtmaps/Generate_rtmaps.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/extraplugins/robotml/generators/rtmaps/org.eclipse.papyrus.robotml.generators.intempora.rtmaps/src/org/eclipse/papyrus/robotml/generators/intempora/rtmaps/Generate_rtmaps.java b/extraplugins/robotml/generators/rtmaps/org.eclipse.papyrus.robotml.generators.intempora.rtmaps/src/org/eclipse/papyrus/robotml/generators/intempora/rtmaps/Generate_rtmaps.java index 855a7d7a5ac..544b44f77ce 100644 --- a/extraplugins/robotml/generators/rtmaps/org.eclipse.papyrus.robotml.generators.intempora.rtmaps/src/org/eclipse/papyrus/robotml/generators/intempora/rtmaps/Generate_rtmaps.java +++ b/extraplugins/robotml/generators/rtmaps/org.eclipse.papyrus.robotml.generators.intempora.rtmaps/src/org/eclipse/papyrus/robotml/generators/intempora/rtmaps/Generate_rtmaps.java @@ -276,29 +276,29 @@ public class Generate_rtmaps extends AbstractAcceleoGenerator { /* * TODO if your generation module requires access to properties files, add their qualified path to the list here. - * + * * Properties files can be located in an Eclipse plug-in or in the file system (all Acceleo projects are Eclipse * plug-in). In order to use properties files located in an Eclipse plugin, you need to add the path of the properties * files to the "propertiesFiles" list: - * + * * final String prefix = "platform:/plugin/"; * final String pluginName = "org.eclipse.acceleo.module.sample"; * final String packagePath = "/org/eclipse/acceleo/module/sample/properties/"; * final String fileName = "default.properties"; * propertiesFiles.add(prefix + pluginName + packagePath + fileName); - * + * * With this mechanism, you can load properties files from your plugin or from another plugin. - * + * * You may want to load properties files from the file system, for that you need to add the absolute path of the file: - * + * * propertiesFiles.add("C:\Users\MyName\MyFile.properties"); - * + * * If you want to let your users add properties files located in the same folder as the model: - * + * * if (EMFPlugin.IS_ECLIPSE_RUNNING && model != null && model.eResource() != null) { * propertiesFiles.addAll(AcceleoEngineUtils.getPropertiesFilesNearModel(model.eResource())); * } - * + * * To learn more about Properties Files, have a look at the Acceleo documentation (Help -> Help Contents). */ return propertiesFiles; @@ -362,7 +362,7 @@ public class Generate_rtmaps extends AbstractAcceleoGenerator { * that has caused the creation of this class will revert your modifications. You can use the method * "isInWorkspace(Class c)" to check if the package that you are about to register is in the workspace. * To register a package properly, please follow the following conventions: - * + * * if (!isInWorkspace(UMLPackage.class)) { * // The normal package registration if your metamodel is in a plugin. * resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); @@ -408,9 +408,9 @@ public class Generate_rtmaps extends AbstractAcceleoGenerator { /* * TODO If you need additional resource factories registrations, you can register them here. the following line * (in comment) is an example of the resource factory registration for UML. - * + * * If you want to use the generator in stand alone, the resource factory registration will be required. - * + * * To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents). */ |