@OpenApiAll public class ClassPathEntriesListProperty extends ListProperty
ClassPathEntriesListProperty represents a property for storing and
editing entries of the classpath.DEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, UNDEFINED, VALUE| Constructor and Description |
|---|
ClassPathEntriesListProperty()
Creates and initializes a new
ClassPathEntriesListProperty object. |
ClassPathEntriesListProperty(java.lang.String id,
java.lang.Object[] value,
boolean allowFiles)
Creates and initializes a new
ClassPathEntriesListProperty object
from specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropertyVisitor visitor)
Accepts the given visitor.
|
protected boolean |
areValuesEqual(java.lang.Object oldValue,
java.lang.Object newValue)
Check if values are equal before setting new value.
|
ClassPathEntriesListProperty |
clone()
Clones the property.
|
java.lang.String |
getClassType()
Returns a class type of the property.
|
FileProperty[] |
getFileProperties() |
java.io.File[] |
getFiles()
Returns an array of files.
|
java.lang.String[] |
getFilesPaths() |
java.lang.String |
getValueStringRepresentation()
Returns value's string representation.
|
boolean |
isAllowsFiles() |
void |
setAllowsFiles(boolean allow) |
getValue, setValue_getValue, _isFrozen, _setFrozen, _setValue, addPropertyChangeListener, addSource, addSources, checkFrozen, checkFrozen, createCellEditor, createTableCellRenderer, equals, firePropertyChange, generateDefaultDescriptionID, getAdditionalProperties, getAdditionalProperty, getDescription, getDescriptionID, getFirstElementFromSources, getGroup, getID, getIntroductoryVersion, getName, getNonEditableReason, getProjectFromSourcesOrActive, getPureDescription, getResourceProvider, getResourceProviderID, getSourceAsElement, getSources, getSourcesAsStream, getUndefinedString, getUndefinedString, hashCode, isEditable, isUndefinedState, isValueCompatible, removePropertyChangeListener, setAdditionalProperties, setAdditionalProperty, setDescription, setDescriptionID, setEditable, setGroup, setID, setIntroductoryVersion, setNonEditableReason, setResourceProvider, setResourceProviderID, setSources, setUndefinedState, toStringpublic ClassPathEntriesListProperty()
ClassPathEntriesListProperty object.public ClassPathEntriesListProperty(java.lang.String id,
@CheckForNull
java.lang.Object[] value,
boolean allowFiles)
ClassPathEntriesListProperty object
from specified parameters.id - - id of the propertyvalue - - a value of the propertypublic java.lang.String getClassType()
getClassType in interface PropertyVisitorAcceptorgetClassType in class ListPropertyPropertyID.CLASS_PATH_LIST_PROPERTYpublic void accept(PropertyVisitor visitor) throws java.lang.Exception
ListPropertyaccept in interface PropertyVisitorAcceptoraccept in class ListPropertyvisitor - the PropertyVisitor.java.lang.ExceptionPropertyVisitorAcceptor.accept(com.nomagic.magicdraw.properties.PropertyVisitor)@CheckForNull public java.io.File[] getFiles()
@CheckForNull public java.lang.String[] getFilesPaths()
public FileProperty[] getFileProperties()
public boolean isAllowsFiles()
public void setAllowsFiles(boolean allow)
public java.lang.String getValueStringRepresentation()
PropertygetValueStringRepresentation in class ListPropertyvalue.
toString() if property has value.protected boolean areValuesEqual(java.lang.Object oldValue,
java.lang.Object newValue)
PropertyareValuesEqual in class PropertyoldValue - current value.newValue - new value.public ClassPathEntriesListProperty clone()
Propertyclone in class ListProperty