apollo.main
Class LoadUtil
java.lang.Object
apollo.main.LoadUtil
public class LoadUtil
- extends java.lang.Object
LoadUtil calls DataLoader to do loading, puts up progress, catches exceptions
and puts up popups, and adds data. methods are static.
merge or groove with ApolloRunner somehow? both are used to load data - both
call DataLoader
|
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
|
Method Summary |
static boolean |
areYouSure(java.lang.String question)
Puts up a dialog asking user the question provided (which usually
is some variant on "Are you sure?"). |
static boolean |
confirmSaved(java.lang.Object[] options,
DataLoader loader)
should this be done on a per curationState basis? |
static void |
loadWithProgress(ApolloFrame frame,
java.util.Properties props,
boolean new_curation)
|
static void |
loadWithProgress(ApolloFrame frame,
java.lang.String[] args,
boolean new_curation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
LoadUtil
public LoadUtil()
loadWithProgress
public static void loadWithProgress(ApolloFrame frame,
java.lang.String[] args,
boolean new_curation)
loadWithProgress
public static void loadWithProgress(ApolloFrame frame,
java.util.Properties props,
boolean new_curation)
confirmSaved
public static boolean confirmSaved(java.lang.Object[] options,
DataLoader loader)
- should this be done on a per curationState basis?
areYouSure
public static boolean areYouSure(java.lang.String question)
- Puts up a dialog asking user the question provided (which usually
is some variant on "Are you sure?"). Returns their answer (true
or false). If they don't answer, it returns false.