archimate.codegen
Interface ICodeGenerator

All Known Implementing Classes:
CallbackPrimitive, MVCPattern, Pattern, Primitive

public interface ICodeGenerator

Interface defining the required methods for a Pattern specification

Author:
Samuel Esposito

Method Summary
 int estimateTasks()
          Estimates the number of tasks to execute for generating code
 void generate_code(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.MultiStatus status)
          Generates source code for the pattern
 org.eclipse.core.runtime.IProgressMonitor monitor()
          Returns the ProgressMonitor for the generator
 java.lang.String name()
          Returns the name of the pattern
 java.lang.String packageBase()
          Returns the package base of the pattern
 org.eclipse.core.runtime.MultiStatus status()
          Returns the MultiStatus for the generator
 TagTree tree()
          Returns a tree containing all archiMateTags for the key source elements
 void validate_code(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.MultiStatus status)
          Validates the source code in the workspace
 

Method Detail

name

java.lang.String name()
Returns the name of the pattern

Returns:
The name of the pattern

packageBase

java.lang.String packageBase()
Returns the package base of the pattern

Returns:
The package base of the pattern

tree

TagTree tree()
Returns a tree containing all archiMateTags for the key source elements

Returns:
The TagTree of the current pattern

monitor

org.eclipse.core.runtime.IProgressMonitor monitor()
Returns the ProgressMonitor for the generator

Returns:
The ProgressMonitor for the generator

status

org.eclipse.core.runtime.MultiStatus status()
Returns the MultiStatus for the generator

Returns:
The MultiStatus for the generator

estimateTasks

int estimateTasks()
Estimates the number of tasks to execute for generating code

Returns:
The number of estimated tasks for generating code

generate_code

void generate_code(org.eclipse.core.runtime.IProgressMonitor monitor,
                   org.eclipse.core.runtime.MultiStatus status)
Generates source code for the pattern


validate_code

void validate_code(org.eclipse.core.runtime.IProgressMonitor monitor,
                   org.eclipse.core.runtime.MultiStatus status)
Validates the source code in the workspace