public class ModelStateImpl extends Object implements ModelState
| Constructor and Description |
|---|
ModelStateImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
org.eclipse.sprotty.SModelRoot |
getCurrentModel() |
SModelIndex |
getCurrentModelIndex() |
Set<String> |
getExpandedElements() |
ModelOptions.ParsedModelOptions |
getOptions() |
Set<String> |
getSelectedElements() |
void |
setClientId(String clientId) |
void |
setCurrentModel(org.eclipse.sprotty.SModelRoot newRoot) |
void |
setExpandedElements(Set<String> expandedElements) |
void |
setOptions(ModelOptions.ParsedModelOptions options) |
void |
setSelectedElements(Set<String> selectedElements) |
public ModelOptions.ParsedModelOptions getOptions()
getOptions in interface ModelStatepublic void setClientId(String clientId)
setClientId in interface ModelStatepublic String getClientId()
getClientId in interface ModelStatepublic org.eclipse.sprotty.SModelRoot getCurrentModel()
getCurrentModel in interface ModelStatepublic void setCurrentModel(org.eclipse.sprotty.SModelRoot newRoot)
setCurrentModel in interface ModelStatepublic Set<String> getExpandedElements()
getExpandedElements in interface ModelStatepublic Set<String> getSelectedElements()
getSelectedElements in interface ModelStatepublic void setOptions(ModelOptions.ParsedModelOptions options)
setOptions in interface ModelStatepublic void setExpandedElements(Set<String> expandedElements)
setExpandedElements in interface ModelStatepublic void setSelectedElements(Set<String> selectedElements)
setSelectedElements in interface ModelStatepublic SModelIndex getCurrentModelIndex()
getCurrentModelIndex in interface ModelStateCopyright © 2019. All rights reserved.