|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectix.icore.AbstractAnnotatedObject
ix.iview.domain.UIGrammar
public class UIGrammar
A class that holds grammar information - dummy for now.
| Field Summary | |
|---|---|
protected java.util.TreeMap |
genericConstraints
type-rel - GenericConstraint. |
protected UIDomain |
uiDomain
|
| Fields inherited from class ix.icore.AbstractAnnotatedObject |
|---|
annotationListeners, annotations |
| Constructor Summary | |
|---|---|
UIGrammar(UIDomain uiDomain)
|
|
| Method Summary | |
|---|---|
GenericConstraint |
addGenericConstraint(Constraint c)
|
GenericConstraint |
addGenericConstraint(Symbol type,
Symbol rel,
java.lang.String form)
|
void |
addGenericConstraints(java.util.Collection constraints)
|
void |
constructAdded(DomainEvent se)
|
void |
constructAdded(UIDomainEvent se)
Called when a UI construct is added. |
void |
constructEdited(UIDomainEvent se)
Called when a UI construct is edited. |
void |
constructRemoved(UIDomainEvent se)
Called when a UI construct is removed. |
void |
domainCleared(UIDomainEvent se)
Called when the domain is cleared. |
void |
domainEdited(UIDomainEvent se)
Called when the domain's own fields changed (currently only name). |
void |
domainSet(UIDomainEvent se)
Called when the domain is added. |
GenericConstraint |
findGenericConstraint(Constraint c)
|
java.util.List |
getAllConstraintPatterns(UIDomain uiDomain)
Gets the list of allowed constraint patterns. |
java.util.List |
getConstraintPatterns()
Gets the list of allowed constraint patterns. |
void |
initGenericConstraints()
This should really come from a file. |
void |
loadGenericConstraints(UIDomain uiDomain)
|
| Methods inherited from class ix.icore.AbstractAnnotatedObject |
|---|
addAnnotationListener, annMap, clearAnnotations, fireSetAnnotation, getAnnotation, getAnnotations, getComments, makeAnnMap, removeAnnotation, setAnnotation, setAnnotations, setComments, takeAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.TreeMap genericConstraints
protected UIDomain uiDomain
| Constructor Detail |
|---|
public UIGrammar(UIDomain uiDomain)
| Method Detail |
|---|
public void initGenericConstraints()
public GenericConstraint addGenericConstraint(Symbol type,
Symbol rel,
java.lang.String form)
public GenericConstraint addGenericConstraint(Constraint c)
public void loadGenericConstraints(UIDomain uiDomain)
public void addGenericConstraints(java.util.Collection constraints)
public GenericConstraint findGenericConstraint(Constraint c)
public java.util.List getAllConstraintPatterns(UIDomain uiDomain)
public java.util.List getConstraintPatterns()
public void constructAdded(UIDomainEvent se)
UIDomainListener
constructAdded in interface UIDomainListenerpublic void constructAdded(DomainEvent se)
constructAdded in interface UIDomainListenerpublic void constructEdited(UIDomainEvent se)
UIDomainListener
constructEdited in interface UIDomainListenerpublic void constructRemoved(UIDomainEvent se)
UIDomainListener
constructRemoved in interface UIDomainListenerpublic void domainCleared(UIDomainEvent se)
UIDomainListener
domainCleared in interface UIDomainListenerpublic void domainEdited(UIDomainEvent se)
UIDomainListener
domainEdited in interface UIDomainListenerpublic void domainSet(UIDomainEvent se)
UIDomainListener
domainSet in interface UIDomainListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||