hok.model
Class PatternModel

java.lang.Object
  extended by hok.model.PatternModel

public class PatternModel
extends java.lang.Object

The PatternModel is the model of the TableViewer of the ResultDialog. It holds a collection of PatternElement.

Author:
holger

Constructor Summary
PatternModel()
           
 
Method Summary
 void addPattern(PatternElement element)
          Adds a PatternElement to the collection.
 java.util.Vector<PatternElement> getPatterns()
          Returns the collection of PatternElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternModel

public PatternModel()
Method Detail

addPattern

public void addPattern(PatternElement element)
Adds a PatternElement to the collection.

Parameters:
element - the PatternElement to add.

getPatterns

public java.util.Vector<PatternElement> getPatterns()
Returns the collection of PatternElement.

Returns:
the collection of PatternElement.