edu.ksu.cis.cadena.core.adapter.module
Class ModuleAdapter
java.lang.Object
edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
edu.ksu.cis.cadena.core.adapter.module.ModuleAdapter
- All Implemented Interfaces:
- CadenaAdapter
public class ModuleAdapter
- extends BaseCadenaAdapter
Handles all of the checks associated with an individual module node, and not
any of it's children.
- Author:
- jesse
|
Method Summary |
void |
checkNode(EObject node)
Checks the features of the module. |
void |
forwardReferenceChanged(Notification notification,
EObject notifyingObject,
EStructuralFeature notifyingObjectFeature)
|
void |
notifyChanged(Notification notification)
Handles a change notification of a Module object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME_EMPTY_ERROR
public static final java.lang.String NAME_EMPTY_ERROR
NAME_REUSED_ERROR_MODULE
public static final java.lang.String NAME_REUSED_ERROR_MODULE
NAME_REUSED_ERROR_STYLE
public static final java.lang.String NAME_REUSED_ERROR_STYLE
UNRESOLVED_IMPORT_ERROR
public static final java.lang.String UNRESOLVED_IMPORT_ERROR
UNRESOLVED_STYLE_ERROR
public static final java.lang.String UNRESOLVED_STYLE_ERROR
UNSPECIFIED_STYLE_ERROR
public static final java.lang.String UNSPECIFIED_STYLE_ERROR
ModuleAdapter
public ModuleAdapter()
notifyChanged
public void notifyChanged(Notification notification)
Handles a change notification of a Module object.
Depending on the feature that was changed, various checkXXX
methods may be called
- Overrides:
notifyChanged in class BaseCadenaAdapter
- Parameters:
notification - The notification message
forwardReferenceChanged
public void forwardReferenceChanged(Notification notification,
EObject notifyingObject,
EStructuralFeature notifyingObjectFeature)
- Specified by:
forwardReferenceChanged in interface CadenaAdapter- Specified by:
forwardReferenceChanged in class BaseCadenaAdapter
checkNode
public void checkNode(EObject node)
Checks the features of the module.
This is a convenience method that invokes the following methods:
- Specified by:
checkNode in interface CadenaAdapter- Overrides:
checkNode in class BaseCadenaAdapter
- Parameters:
module - The module to check