|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.edu.fei.dcc.raciocinioespacial.editor.shapes.model.ModelElement
br.edu.fei.dcc.raciocinioespacial.editor.shapes.model.ShapesDiagram
public class ShapesDiagram
Um container para múltiplas formas/Shapes. Este é a "raíz" do modelo de estrutura de dados.
Field Summary | |
---|---|
static java.lang.String |
CHILD_ADDED_PROP
Property ID used when a child is added into the diagram. |
static java.lang.String |
CHILD_REMOVED_PROP
Property ID used when a child is removed from the diagram. |
static java.lang.String |
Propriedade_Intervalo
|
static java.lang.String |
Propriedade_Nome
|
static java.lang.String |
Propriedade_Perfil
|
static java.lang.String |
Propriedade_Roads
|
Constructor Summary | |
---|---|
ShapesDiagram()
|
|
ShapesDiagram(java.lang.String name)
|
Method Summary | |
---|---|
boolean |
addChild(Shape s)
Adiciona uma forma/Shape no diagrama. |
boolean |
existName(java.lang.String name)
|
java.util.List<Shape> |
getChildren()
Retorna a lista de formas/Shape contidas no diagrama. |
java.util.List<Shape> |
getChildren(java.lang.Class<?> t)
|
java.util.List<java.lang.String> |
getChildrensNames(java.lang.Class<?> t)
|
java.util.List<org.eclipse.ui.views.properties.IPropertyDescriptor> |
getDescriptors()
|
float |
getIntervalo()
|
boolean |
getIsPaintRoads()
|
boolean |
getIsShowDlgDetalhes()
|
java.lang.String |
getNome()
|
boolean |
getPerfilProfundidade()
|
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors()
Classes, which will heritage from this class, must implement this method. |
java.lang.Object |
getPropertyValue(java.lang.Object propertyId)
Classes, which will heritage from this class, must implement this method. |
boolean |
removeChild(Shape s)
Remove a forma/Shape do diagrama. |
void |
setDescriptors(java.util.List<org.eclipse.ui.views.properties.IPropertyDescriptor> descriptors)
|
void |
setIntervalo(float intervalo)
|
void |
setIsPaintRoads(boolean isPaintRoads)
|
void |
setIsShowDlgDetalhes(boolean isDetalhes)
|
void |
setNome(java.lang.String nome)
|
void |
setPerfilProfundidade(boolean perfilProfundidade)
|
void |
setPropertyValue(java.lang.Object propertyId,
java.lang.Object value)
Classes, which will heritage from this class, must implement this method. |
Methods inherited from class br.edu.fei.dcc.raciocinioespacial.editor.shapes.model.ModelElement |
---|
addPropertyChangeListener, getEditableValue, isPropertySet, removePropertyChangeListener, resetPropertyValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CHILD_ADDED_PROP
public static final java.lang.String CHILD_REMOVED_PROP
public static final java.lang.String Propriedade_Nome
public static final java.lang.String Propriedade_Perfil
public static final java.lang.String Propriedade_Roads
public static final java.lang.String Propriedade_Intervalo
Constructor Detail |
---|
public ShapesDiagram()
public ShapesDiagram(java.lang.String name)
Method Detail |
---|
public boolean addChild(Shape s)
s
- uma instância não-nula de Shape.
public boolean existName(java.lang.String name)
public java.util.List<Shape> getChildren()
public java.util.List<Shape> getChildren(java.lang.Class<?> t)
public java.util.List<java.lang.String> getChildrensNames(java.lang.Class<?> t)
public java.util.List<org.eclipse.ui.views.properties.IPropertyDescriptor> getDescriptors()
public float getIntervalo()
public java.lang.String getNome()
public boolean getIsShowDlgDetalhes()
public boolean getIsPaintRoads()
public boolean getPerfilProfundidade()
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
ModelElement
getPropertyDescriptors
in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyDescriptors
in class ModelElement
public java.lang.Object getPropertyValue(java.lang.Object propertyId)
ModelElement
getPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
in class ModelElement
public boolean removeChild(Shape s)
s
- uma instância não-nula de Shape;
public void setDescriptors(java.util.List<org.eclipse.ui.views.properties.IPropertyDescriptor> descriptors)
public void setIntervalo(float intervalo)
public void setNome(java.lang.String nome)
public void setIsShowDlgDetalhes(boolean isDetalhes)
public void setIsPaintRoads(boolean isPaintRoads)
public void setPerfilProfundidade(boolean perfilProfundidade)
public void setPropertyValue(java.lang.Object propertyId, java.lang.Object value)
ModelElement
setPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
setPropertyValue
in class ModelElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |