|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- type of contained presentation elementspublic interface IPresentationDataSet<T extends IPresentationElement<? extends IElement>>
An interface of presentation data set which consists of presentation elements.
Presentation data sets contain elements which can be displayed on diagrams. Each such element is represented as exactly one figure in the diagram (e.g. node, connection, etc.). This model contains only logical data such as label, description, element inter-relations and other properties which are readable by a human. All visual information, such as location, line style, etc. are kept in an associated visual data set.
Presentation data set can be created based on one or many domain data sets (or other presentation data sets). These
(original) data sets may be accessed with getOriginalDataSets()
method. Similarly, each presentation element
can be associated with one or many original elements which belong to original data sets.
IPresentationElement
,
IVisualDataSet
Nested Class Summary | |
---|---|
static class |
IPresentationDataSet.Properties
Enumeration of property name constants. |
Field Summary | |
---|---|
static Collection<Type> |
ACCEPTED_TYPES
Collection of element types accepted by this type of data set. |
static String |
CHILD_EVENT
Name of the Model element added/removed event. |
static String |
CHILDREN_EVENT
Name of the Model elements (multiple) added/removed event. |
static Type |
TYPE
The presentation data set type. |
Method Summary | ||
---|---|---|
PresentationDataSetDescriptor |
getDescriptor()
Returns the descriptor of this data set. |
|
List<? extends IDataSet<? extends IElement>> |
getOriginalDataSets()
Returns the original data sets which are presented by this presentation data set. |
|
|
getVisualDataSet()
Returns the visual data set associated with this presentation element. |
|
boolean |
hasAssociatedVisualDataSet()
Checks if any visual data set is associated with this presentation data set. |
|
void |
setOriginalDataSets(List<? extends IDataSet<? extends IElement>> dataSets)
Sets the original data sets which are presented by this presentation data set. |
|
void |
setSuppressAllEvents(boolean flag)
Sets suppress all events flag. |
|
void |
setVisualDataSet(IVisualDataSet visualDS)
Sets the visual data set associated with this presentation element. |
Methods inherited from interface pl.edu.agh.cast.data.model.IDataSet |
---|
addElement, addElements, addElements, addMetaPropertyManager, addMetaPropertyManagersForAcceptedTypes, getAcceptedTypes, getAssignableElements, getCreationDate, getElement, getElementCount, getElements, getElements, getElementTypes, getMetaPropertyManager, getMetaPropertyManagers, getName, getRegisteredTypes, removeElement, removeElement, removeElements, removeElements, setCreationDate, setElements, setName |
Methods inherited from interface pl.edu.agh.cast.data.model.Identifiable |
---|
getId, getType |
Methods inherited from interface pl.edu.agh.cast.data.model.property.IPropertyContainer |
---|
addProperty, getCustomProperties, getMetaPropertyManager, getPermanentProperties, getProperties, getProperty, getTransientProperties, matches, removeProperty, setProperty |
Methods inherited from interface java.util.Observer |
---|
update |
Methods inherited from interface pl.edu.agh.cast.common.IValidatable |
---|
isValid |
Methods inherited from interface pl.edu.agh.cast.common.IDisposable |
---|
dispose |
Methods inherited from interface pl.edu.agh.cast.data.model.property.IPropertyChangeProvider |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
static final String CHILD_EVENT
static final String CHILDREN_EVENT
static final Type TYPE
static final Collection<Type> ACCEPTED_TYPES
Method Detail |
---|
PresentationDataSetDescriptor getDescriptor()
getDescriptor
in interface IDataSet<T extends IPresentationElement<? extends IElement>>
IDataSet.getDescriptor()
@PropertyGetter(name="ORIGINAL_DATA_SETS", type=REFERENCE_LIST, matchable=false) List<? extends IDataSet<? extends IElement>> getOriginalDataSets()
@PropertySetter(name="ORIGINAL_DATA_SETS") void setOriginalDataSets(List<? extends IDataSet<? extends IElement>> dataSets)
dataSets
- a list of original data sets presented by this presentation data set<V extends IVisualDataSet<? extends IVisualElement<T>,? extends IPresentationDataSet<T>>> V getVisualDataSet()
V
- the type of expected visual data set
null
IVisualDataSet
void setVisualDataSet(IVisualDataSet visualDS)
visualDS
- the associated visual data set (null
value is allowed)IVisualDataSet
boolean hasAssociatedVisualDataSet()
true
if an associated visual data set is presentvoid setSuppressAllEvents(boolean flag)
true
all events will be ignored.
flag
- suppress all events flag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |