S
- public class FormatSupportServiceGUI<S extends FormatSupportService> extends AbstractServiceGUI
Modifier and Type | Field and Description |
---|---|
protected String |
export_tip |
protected String |
import_tip |
separators, W_EXPORT_DOC, W_EXPORT_GENERIC, W_EXPORT_SPECIFIC, W_GRAPH_COLORIZE, W_GRAPH_SELECTION, W_TOOLKITS_MAIN, W_TOOLS_MAIN, W_UNDER_DEVELOPMENT
Constructor and Description |
---|
FormatSupportServiceGUI(String name,
S service,
FileFormatDescription format) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canExport(RegulatoryGraph lrg) |
void |
doExport(RegulatoryGraph graph,
String filename,
ExportAction<?> action) |
void |
doImport(String filename) |
List<Action> |
getAvailableActions(Graph<?,?> graph)
Give access to the list of the actions that the service provides for the given graph.
|
StackDialogHandler |
getConfigPanel(ExportAction action,
RegulatoryGraph graph) |
FileFormatDescription |
getFileFilter() |
int |
getInitialWeight()
Give a weight for the service, as defined by the developer.
|
getWeight, setWeight
public FormatSupportServiceGUI(String name, S service, FileFormatDescription format)
public List<Action> getAvailableActions(Graph<?,?> graph)
ServiceGUI
public int getInitialWeight()
ServiceGUI
public StackDialogHandler getConfigPanel(ExportAction action, RegulatoryGraph graph)
public void doImport(String filename)
public void doExport(RegulatoryGraph graph, String filename, ExportAction<?> action)
public FileFormatDescription getFileFilter()
protected boolean canExport(RegulatoryGraph lrg)
Copyright © 2005–2020. All rights reserved.