pl.edu.agh.cast.schema.model.visual
Class VisualSchemaDataSet
java.lang.Object
pl.edu.agh.cast.data.model.property.PropertyContainer
pl.edu.agh.cast.data.model.AbstractDataSet<T>
pl.edu.agh.cast.data.model.visual.VisualDataSet<IVisualSchemaElement<? extends ISchemaElement<? extends IElement>>,ISchemaDataSet>
pl.edu.agh.cast.schema.model.visual.VisualSchemaDataSet
- All Implemented Interfaces:
- Serializable, Observer, IDisposable, IValidatable, IDataSet<IVisualSchemaElement<? extends ISchemaElement<? extends IElement>>>, Identifiable, IPropertyChangeProvider, IPropertyContainer, IVisualDataSet<IVisualSchemaElement<? extends ISchemaElement<? extends IElement>>,ISchemaDataSet>, IVisualSchemaDataSet
public class VisualSchemaDataSet
- extends VisualDataSet<IVisualSchemaElement<? extends ISchemaElement<? extends IElement>>,ISchemaDataSet>
- implements IVisualSchemaDataSet
The default implementation of IVisualSchemaDataSet.
- Author:
- AGH CAST Team
- See Also:
- Serialized Form
| Methods inherited from class pl.edu.agh.cast.data.model.visual.VisualDataSet |
acquireDescriptor, addPropertyChangeListener, createNewDescriptor, firePropertyChange, getAllPropertiesMarkedAsLabel, getDescriptor, getPresentationDataSet, getPropertiesMarkedAsLabel, isDescriptorValid, isLayoutInitialized, isSuppressLocationChangeEvents, markLayoutInitialized, markPropertyAsLabel, removePropertyChangeListener, setAllPropertiesMarkedAsLabel, setLayoutInitialized, setPresentationDataSet, setSuppressAllEvents, setSuppressLocationChangeEvents |
| Methods inherited from class pl.edu.agh.cast.data.model.AbstractDataSet |
addElement, addElements, addElements, addMetaPropertyManager, addMetaPropertyManager, addMetaPropertyManagersForAcceptedTypes, afterAddElement, afterRemoveElement, afterSetMetaPropertyManager, beforeAddElement, beforeRemoveElement, checkIfValid, equals, getAssignableElements, getCreationDate, getDescString, getElement, getElementCount, getElements, getElements, getElementTypes, getId, getMetaPropertyManager, getMetaPropertyManagers, getName, getRegisteredTypes, getType, hashCode, isElementValid, isValid, removeElement, removeElement, removeElements, removeElements, setCreationDate, setDescriptor, setElements, setId, setName, setType, toString |
| Methods inherited from class pl.edu.agh.cast.data.model.property.PropertyContainer |
addProperty, createProperty, dispose, getCustomProperties, getMetaPropertyManager, getPermanentProperties, getProperties, getProperty, getTransientProperties, initializeProperties, matches, removeProperty, setMetaPropertyManager, setProperty, update |
| Methods inherited from interface pl.edu.agh.cast.data.model.visual.IVisualDataSet |
getAllPropertiesMarkedAsLabel, getDescriptor, getPresentationDataSet, getPropertiesMarkedAsLabel, isLayoutInitialized, isSuppressLocationChangeEvents, markLayoutInitialized, markPropertyAsLabel, setAllPropertiesMarkedAsLabel, setSuppressAllEvents, setSuppressLocationChangeEvents |
| Methods inherited from interface pl.edu.agh.cast.data.model.IDataSet |
addElement, addElements, addElements, addMetaPropertyManager, addMetaPropertyManagersForAcceptedTypes, getAssignableElements, getCreationDate, getElement, getElementCount, getElements, getElements, getElementTypes, getMetaPropertyManager, getMetaPropertyManagers, getName, getRegisteredTypes, removeElement, removeElement, removeElements, removeElements, setCreationDate, setElements, setName |
VisualSchemaDataSet
public VisualSchemaDataSet()
- Default constructor.
VisualSchemaDataSet
public VisualSchemaDataSet(String name,
ISchemaDataSet model)
- Initializes data set with its name and a newly created
MetaPropertyManager.
- Parameters:
name - the name of the data setmodel - the presentation data set wrapped by this visual data set
- Throws:
IllegalArgumentException - if any of the arguments is null
VisualSchemaDataSet
public VisualSchemaDataSet(VisualDataSetDescriptor descriptor,
ISchemaDataSet model)
- Initializes data set with its descriptor and a newly created
MetaPropertyManager.
- Parameters:
descriptor - the visual data set descriptormodel - the presentation data set wrapped by this visual data set
- Throws:
IllegalArgumentException - if any of the arguments is null
VisualSchemaDataSet
public VisualSchemaDataSet(VisualDataSetDescriptor descriptor,
ISchemaDataSet model,
MetaPropertyManager metaPropertyManager)
- Initializes data set with its descriptor and
MetaPropertyManager.
- Parameters:
descriptor - the visual data set descriptormodel - the presentation data set wrapped by this visual data setmetaPropertyManager - manager of data set's meta properties
- Throws:
IllegalArgumentException - if any of the arguments is null
getAcceptedTypes
public Collection<Type> getAcceptedTypes()
- Returns collection of types of
IElements this data set is able to accept.
This method should be overridden by all concrete subclasses.
Returns collection of types of elements this data set is able to accept.
- Specified by:
getAcceptedTypes in interface IDataSet<IVisualSchemaElement<? extends ISchemaElement<? extends IElement>>>- Overrides:
getAcceptedTypes in class VisualDataSet<IVisualSchemaElement<? extends ISchemaElement<? extends IElement>>,ISchemaDataSet>
- Returns:
- collection of element types this data set is able to accept
- See Also:
VisualDataSet.getAcceptedTypes()
getConnections
public Collection<IVisualSchemaConnection> getConnections()
- Gets all connections in data set.
- Specified by:
getConnections in interface IVisualSchemaDataSet
- Returns:
- connections in data set
- See Also:
IVisualSchemaDataSet.getConnections()
getNodes
public Collection<IVisualSchemaNode> getNodes()
- Gets all nodes in data set.
- Specified by:
getNodes in interface IVisualSchemaDataSet
- Returns:
- nodes in data set
- See Also:
IVisualSchemaDataSet.getNodes()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.