Skip to content

Commit

Permalink
removed generated todos
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsZeidler committed Nov 12, 2016
1 parent c904302 commit 67bbf0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,19 +171,10 @@ public static void main(String[] args) {
* This will be used to display progress information to the user.
* @throws IOException
* This will be thrown if any of the output files cannot be saved to disk.
* @generated
* @generated not
*/
@Override
public void doGenerate(Monitor monitor) throws IOException {
/*
* TODO if you wish to change the generation as a whole, override this. The default behavior should
* be sufficient in most cases. If you want to change the content of this method, do NOT forget to
* change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
* any compilation of the Acceleo module with the main template that has caused the creation of this
* class will revert your modifications. If you encounter a problem with an unresolved proxy during the
* generation, you can remove the comments in the following instructions to check for problems. Please
* note that those instructions may have a significant impact on the performances.
*/

//org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(model);

Expand All @@ -206,17 +197,11 @@ public void doGenerate(Monitor monitor) throws IOException {
* If this generator needs to listen to text generation events, listeners can be returned from here.
*
* @return List of listeners that are to be notified when text is generated through this launch.
* @generated
* @generated not
*/
@Override
public List<IAcceleoTextGenerationListener> getGenerationListeners() {
List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
/*
* TODO if you need to listen to generation event, add listeners to the list here. If you want to change
* the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
* to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
* that has caused the creation of this class will revert your modifications.
*/
return listeners;
}

Expand Down Expand Up @@ -265,7 +250,7 @@ public String getModuleName() {
*
* @return The list of properties file we need to add to the generation context.
* @see java.util.ResourceBundle#getBundle(String)
* @generated
* @generated not
*/
@Override
public List<String> getProperties() {
Expand All @@ -277,7 +262,6 @@ public List<String> getProperties() {
*/

/*
* 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
Expand Down Expand Up @@ -382,7 +366,7 @@ public void registerPackages(ResourceSet resourceSet) {
*
* @param resourceSet
* The resource set which registry has to be updated.
* @generated
* @generated not
*/
@Override
public void registerResourceFactories(ResourceSet resourceSet) {
Expand All @@ -395,7 +379,6 @@ public void registerResourceFactories(ResourceSet resourceSet) {
*/

/*
* 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,11 @@ public static void main(String[] args) {
* This will be used to display progress information to the user.
* @throws IOException
* This will be thrown if any of the output files cannot be saved to disk.
* @generated
* @generated not
*/
@Override
public void doGenerate(Monitor monitor) throws IOException {
/*
* TODO if you wish to change the generation as a whole, override this. The default behavior should
* be sufficient in most cases. If you want to change the content of this method, do NOT forget to
* change the "@generated" tag in the Javadoc of this method to "@generated NOT". Without this new tag,
* any compilation of the Acceleo module with the main template that has caused the creation of this
Expand Down Expand Up @@ -206,17 +205,11 @@ public void doGenerate(Monitor monitor) throws IOException {
* If this generator needs to listen to text generation events, listeners can be returned from here.
*
* @return List of listeners that are to be notified when text is generated through this launch.
* @generated
* @generated not
*/
@Override
public List<IAcceleoTextGenerationListener> getGenerationListeners() {
List<IAcceleoTextGenerationListener> listeners = super.getGenerationListeners();
/*
* TODO if you need to listen to generation event, add listeners to the list here. If you want to change
* the content of this method, do NOT forget to change the "@generated" tag in the Javadoc of this method
* to "@generated NOT". Without this new tag, any compilation of the Acceleo module with the main template
* that has caused the creation of this class will revert your modifications.
*/
return listeners;
}

Expand Down Expand Up @@ -265,7 +258,7 @@ public String getModuleName() {
*
* @return The list of properties file we need to add to the generation context.
* @see java.util.ResourceBundle#getBundle(String)
* @generated
* @generated not
*/
@Override
public List<String> getProperties() {
Expand All @@ -277,7 +270,6 @@ public List<String> getProperties() {
*/

/*
* 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
Expand Down Expand Up @@ -382,7 +374,7 @@ public void registerPackages(ResourceSet resourceSet) {
*
* @param resourceSet
* The resource set which registry has to be updated.
* @generated
* @generated not
*/
@Override
public void registerResourceFactories(ResourceSet resourceSet) {
Expand All @@ -395,7 +387,6 @@ public void registerResourceFactories(ResourceSet resourceSet) {
*/

/*
* 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.
Expand Down

0 comments on commit 67bbf0e

Please sign in to comment.