public final class GraphModelSpec
extends com.orchestranetworks.addon.dmdv.GraphSpec
| Constructor and Description |
|---|
GraphModelSpec(CustomGraphModelFactory generator,
com.orchestranetworks.service.Session session)
Constructs the graph specifications from a specific diagram.
|
GraphModelSpec(String configurationName)
Constructs the graph specifications using a configuration name from in the add-on's administrative settings.
|
| Modifier and Type | Method and Description |
|---|---|
CustomGraphModelFactory |
getGenerator()
Returns current diagram generator.
|
com.orchestranetworks.service.Session |
getSession()
Returns the current service session.
|
boolean |
isCloseButtonDisplayed()
Returns
true if the close button is hidden. |
boolean |
isConfigured()
Returns
true if using a configuration from the add-on's administrative settings;
false otherwise. |
void |
setCloseButtonDisplayed(boolean isCloseButtonDisplayed)
Sets the option to display the close button.
|
void |
setSession(com.orchestranetworks.service.Session session)
Sets the current service session.
|
public GraphModelSpec(String configurationName)
configurationName - a configuration namepublic GraphModelSpec(CustomGraphModelFactory generator, com.orchestranetworks.service.Session session)
generator - a specific diagram generatorsession - current service sessionCustomGraphModelFactorypublic CustomGraphModelFactory getGenerator()
public boolean isConfigured()
true if using a configuration from the add-on's administrative settings;
false otherwise.public com.orchestranetworks.service.Session getSession()
public void setSession(com.orchestranetworks.service.Session session)
public boolean isCloseButtonDisplayed()
true if the close button is hidden.public void setCloseButtonDisplayed(boolean isCloseButtonDisplayed)