EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.ecore
Class AnnotationHandler.PatternCodeAppender

java.lang.Object
  extended by org.eclipse.egf.pattern.ecore.AnnotationHandler.AnnotationCodeAppender
      extended by org.eclipse.egf.pattern.ecore.AnnotationHandler.PatternCodeAppender
Enclosing class:
AnnotationHandler

protected abstract class AnnotationHandler.PatternCodeAppender
extends AnnotationHandler.AnnotationCodeAppender

Pattern code appender to existing pattern operation.


Constructor Summary
protected AnnotationHandler.PatternCodeAppender()
           
 
Method Summary
protected  void doAppendCode(StringBuilder existingCode_p)
          Append new code to existing one.
protected  EAnnotation getCodeAnnotation(EOperation operation_p)
          Get the annotation that is/will be containing the code.
protected abstract  String getOperationName()
          Get operation name to add.
protected abstract  String getParameter()
          Get operation parameter to add.
 
Methods inherited from class org.eclipse.egf.pattern.ecore.AnnotationHandler.AnnotationCodeAppender
appendCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationHandler.PatternCodeAppender

protected AnnotationHandler.PatternCodeAppender()
Method Detail

doAppendCode

protected void doAppendCode(StringBuilder existingCode_p)
Description copied from class: AnnotationHandler.AnnotationCodeAppender
Append new code to existing one.

Specified by:
doAppendCode in class AnnotationHandler.AnnotationCodeAppender
See Also:
AnnotationHandler.AnnotationCodeAppender.doAppendCode(java.lang.StringBuilder)

getCodeAnnotation

protected EAnnotation getCodeAnnotation(EOperation operation_p)
Description copied from class: AnnotationHandler.AnnotationCodeAppender
Get the annotation that is/will be containing the code.

Specified by:
getCodeAnnotation in class AnnotationHandler.AnnotationCodeAppender
Returns:
See Also:
org.eclipse.egf.pattern.ecore.AnnotationHandler.AnnotationCodeAppender#getCodeAnnotation(org.eclipse.emf.ecore.EOperation)

getOperationName

protected abstract String getOperationName()
Get operation name to add.

Returns:

getParameter

protected abstract String getParameter()
Get operation parameter to add.

Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.