|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter
edu.ksu.cis.cadena.core.adapter.style.StyleAdapter
public class StyleAdapter
Handles all of the checks associated with an individual style node, and not any of it's children.
| Field Summary | |
|---|---|
static java.lang.String |
CIRCULAR_INHERITANCE_ERROR
|
static java.lang.String |
KIND_NAME_REUSED_ERROR
|
static java.lang.String |
NAME_EMPTY_ERROR
|
static java.lang.String |
NAME_REUSED_ERROR
|
static java.lang.String |
NO_CORE_INHERITANCE_ERROR
|
static java.lang.String |
REDECLARED_INHERITANCE_ERROR
|
static java.lang.String |
UNRESOLVED_PARENT_ERROR
|
| Fields inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter |
|---|
REFERENCED_OBJECT_IN_TRASH_ERROR |
| Constructor Summary | |
|---|---|
StyleAdapter()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
checkNode(EObject node)
Checks the features of the style. |
void |
forwardReferenceChanged(Notification notification,
EObject notifyingObject,
EStructuralFeature notifyingFeature)
|
Notifier |
getTarget()
|
boolean |
isAdapterForType(java.lang.Object type)
|
void |
notifyChanged(Notification notification)
Handles a change notification of a Style object. |
void |
setTarget(Notifier newTarget)
|
| Methods inherited from class edu.ksu.cis.cadena.core.adapter.BaseCadenaAdapter |
|---|
addAffectedReferrers, addNotificationValues, getAffectedValues, setMarkers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME_EMPTY_ERROR
public static final java.lang.String NAME_REUSED_ERROR
public static final java.lang.String CIRCULAR_INHERITANCE_ERROR
public static final java.lang.String REDECLARED_INHERITANCE_ERROR
public static final java.lang.String NO_CORE_INHERITANCE_ERROR
public static final java.lang.String KIND_NAME_REUSED_ERROR
public static final java.lang.String UNRESOLVED_PARENT_ERROR
| Constructor Detail |
|---|
public StyleAdapter()
| Method Detail |
|---|
public void notifyChanged(Notification notification)
Handles a change notification of a Style object.
Depending on the feature that was changed, various checkXXX
methods may be called
notifyChanged in class BaseCadenaAdapternotification - The notification messagepublic Notifier getTarget()
getTarget in class BaseCadenaAdapterpublic void setTarget(Notifier newTarget)
setTarget in class BaseCadenaAdapterpublic boolean isAdapterForType(java.lang.Object type)
isAdapterForType in class BaseCadenaAdapterpublic void checkNode(EObject node)
Checks the features of the style.
This is a convenience method that invokes the following methods:
checkName()checkParents()checkElided()
checkNode in interface CadenaAdaptercheckNode in class BaseCadenaAdapterstyle - The style to check
public void forwardReferenceChanged(Notification notification,
EObject notifyingObject,
EStructuralFeature notifyingFeature)
forwardReferenceChanged in interface CadenaAdapterforwardReferenceChanged in class BaseCadenaAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||