Class GraphModelSpec
java.lang.Object
com.orchestranetworks.addon.dmdv.GraphSpec
com.orchestranetworks.addon.dmdv.model.extension.GraphModelSpec
Provides all specifications of a graph model.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionGraphModelSpec(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. -
Method Summary
Modifier and TypeMethodDescriptionReturns current diagram generator.com.orchestranetworks.service.SessionReturns the current service session.booleanReturnstrueif the close button is hidden.booleanReturnstrueif using a configuration from the add-on's administrative settings;falseotherwise.voidsetCloseButtonDisplayed(boolean isCloseButtonDisplayed) Sets the option to display the close button.voidsetSession(com.orchestranetworks.service.Session session) Sets the current service session.Methods inherited from class com.orchestranetworks.addon.dmdv.GraphSpec
getGraphConfigurationName, isDisplayGraphTitle, isForceRecursiveExpand, setDisplayGraphTitle, setForceRecursiveExpand, setGraphConfigurationName, setOverviewDisplay
-
Constructor Details
-
GraphModelSpec
Constructs the graph specifications using a configuration name from in the add-on's administrative settings.- Parameters:
configurationName- a configuration name
-
GraphModelSpec
public GraphModelSpec(CustomGraphModelFactory generator, com.orchestranetworks.service.Session session) Constructs the graph specifications from a specific diagram.- Parameters:
generator- a specific diagram generatorsession- current service session- See Also:
-
-
Method Details
-
getGenerator
Returns current diagram generator. -
isConfigured
public boolean isConfigured()Returnstrueif using a configuration from the add-on's administrative settings;falseotherwise. -
getSession
public com.orchestranetworks.service.Session getSession()Returns the current service session. -
setSession
public void setSession(com.orchestranetworks.service.Session session) Sets the current service session. -
isCloseButtonDisplayed
public boolean isCloseButtonDisplayed()Returnstrueif the close button is hidden. -
setCloseButtonDisplayed
public void setCloseButtonDisplayed(boolean isCloseButtonDisplayed) Sets the option to display the close button.
-