public class SimulationFilterUtil extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SimulationFilterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static FilterModel<SimulationProperties,String> |
createFilterModel(List<String> names)
Create a new filter dialogModel for simulation
|
static List<String> |
filterSimulation(FilterModel<SimulationProperties,String> model)
Open the filter simulation dialog and waits for user to accept a
non empty filter result.
|
static List<String> |
filterSimulation(List<String> names)
Open the filter simulation dialog and waits for user to accept a
non empty filter result.
|
static String |
selectSimulation(FilterModel<SimulationProperties,String> model)
Open the filter simulation filter dialog using directly a given
FilterModel, and waits for user to select a simulation in a non
empty filter result.
|
static String |
selectSimulation(List<String> names)
Open the filter simulation filter dialog using list of simulation names
to create FilterModel, and waits for user to select a simulation in a non
empty filter result.
|
public static String selectSimulation(List<String> names) throws ParseException, IOException
nullnames - the list of simulation names to usedParseException - if problem while init dialogModelIOException - todopublic static String selectSimulation(FilterModel<SimulationProperties,String> model) throws ParseException, IOException
model - model to usedParseException - if problem while init dialogModelIOException - todopublic static List<String> filterSimulation(List<String> names) throws ParseException, IOException
If user cancels, it returns an empty list.
names - the list of simulation names to usedParseException - if problem while init modelIOException - todopublic static List<String> filterSimulation(FilterModel<SimulationProperties,String> model) throws ParseException, IOException
If user cancels, it returns the previous result list.
model - filterModel to useParseException - if problem while init modelIOException - todopublic static FilterModel<SimulationProperties,String> createFilterModel(List<String> names) throws ParseException, IOException
names - list of simulation's names to useParseException - if any problem while init dialogModelIOException - todoCopyright © 1999–2014 CodeLutin. All rights reserved.