|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.iface.ui.AbstractSetEditor ix.iview.AbstractUISetEditor ix.iview.UIRefinementSetEditor
public class UIRefinementSetEditor
Support for editing sets of named objects (e.g. refinements or object classes). Looks after adding/removing/editing the objects and keeping the set consistent. Handles overwrites, finding objects in the set, working out whether the set has changed.
Field Summary | |
---|---|
boolean |
lazyOwn
|
Fields inherited from class ix.iface.ui.AbstractSetEditor |
---|
ADD, added, CANCEL, edited, label, manager, members, NEWNAME, originals, OVERWRITE, removed |
Constructor Summary | |
---|---|
UIRefinementSetEditor(DomainObjectManager om,
java.util.LinkedList os)
|
Method Summary | |
---|---|
java.util.LinkedList |
getDomainOriginals()
|
java.util.HashSet |
getMatchingRefinements(LList pattern,
java.util.List refs)
|
java.util.HashSet |
getMatchingUIRefinements(LList pattern,
java.util.List domainMatches)
|
java.util.LinkedList |
getOriginals()
Gets all original objects from the originals map. |
Named |
getStringOriginal(java.lang.String name)
|
boolean |
isOwnObject(java.lang.Object object)
Checks whether the given object is one of this editor's own, e.g. |
java.util.LinkedList |
makeOriginalList()
|
java.lang.Object |
makeOwnObject(java.lang.Object object)
Makes an own object from the given one |
boolean |
sameConstruct(java.lang.Object r,
java.lang.Object rOther)
Checks whether the two given objects have the same specifications. |
void |
setLegalName(java.lang.Object object,
java.lang.String name)
Sets a string representation of the object that identifies it uniquely |
Methods inherited from class ix.iview.AbstractUISetEditor |
---|
cloneConstruct, collectConstructChanges, fireConstructRemoved, getAnyNamedObject, getBaseObject, getDomain, getName, getNamedObject, getOriginal, getUIDomain, hasOriginal, isEmpty, isUndefined, loadOriginal, rememberClear, removeFromDomain, saveToDomain, setManager, setName, setObjects, setOriginal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean lazyOwn
Constructor Detail |
---|
public UIRefinementSetEditor(DomainObjectManager om, java.util.LinkedList os)
Method Detail |
---|
public void setLegalName(java.lang.Object object, java.lang.String name)
AbstractSetEditor
setLegalName
in class AbstractSetEditor
public boolean isOwnObject(java.lang.Object object)
AbstractSetEditor
isOwnObject
in class AbstractSetEditor
public boolean sameConstruct(java.lang.Object r, java.lang.Object rOther)
AbstractSetEditor
sameConstruct
in class AbstractSetEditor
public java.util.LinkedList getOriginals()
AbstractSetEditor
getOriginals
in class AbstractSetEditor
public java.util.LinkedList getDomainOriginals()
public java.util.LinkedList makeOriginalList()
public java.lang.Object makeOwnObject(java.lang.Object object)
AbstractSetEditor
makeOwnObject
in class AbstractSetEditor
public Named getStringOriginal(java.lang.String name)
getStringOriginal
in class AbstractUISetEditor
public java.util.HashSet getMatchingUIRefinements(LList pattern, java.util.List domainMatches)
public java.util.HashSet getMatchingRefinements(LList pattern, java.util.List refs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |