public interface ServiceGUI
Modifier and Type | Field and Description |
---|---|
static int[] |
separators
An array of the separator
The desired seprators must be ordered by weight
|
static int |
W_EXPORT_DOC
Weight for menu export, images/doc
|
static int |
W_EXPORT_GENERIC
Weight for menu export, generic graph viz
|
static int |
W_EXPORT_SPECIFIC
Weight for menu export, specific file types
|
static int |
W_GRAPH_COLORIZE
Weight for menu Graph, action affecting the graphicalAttributes
|
static int |
W_GRAPH_SELECTION
Weight for menu Graph, action affecting the selection
|
static int |
W_TOOLKITS_MAIN
Weight for menu Toolits, all
|
static int |
W_TOOLS_MAIN
Weight for menu Tools, action like simulation, stablestates...
|
static int |
W_UNDER_DEVELOPMENT
Extra weight for UNDER_DEVELOPMENT actions
|
Modifier and Type | Method and Description |
---|---|
List<Action> |
getAvailableActions(Graph<?,?> graph)
Give access to the list of the actions that the service provides for the given graph.
|
int |
getInitialWeight()
Give a weight for the service, as defined by the developer.
|
int |
getWeight()
Give the real weight for the service.
|
void |
setWeight(int new_weight)
define the new weight of the service
|
static final int W_GRAPH_SELECTION
static final int W_GRAPH_COLORIZE
static final int W_TOOLS_MAIN
static final int W_TOOLKITS_MAIN
static final int W_UNDER_DEVELOPMENT
static final int W_EXPORT_DOC
static final int W_EXPORT_GENERIC
static final int W_EXPORT_SPECIFIC
static final int[] separators
List<Action> getAvailableActions(Graph<?,?> graph)
int getInitialWeight()
int getWeight()
void setWeight(int new_weight)
new_weight
- Copyright © 2005–2020. All rights reserved.