public class RelationUploadOrderHook extends Object implements UploadHook
| Constructor and Description |
|---|
RelationUploadOrderHook() |
| Modifier and Type | Method and Description |
|---|---|
protected JPanel |
buildWarningPanel(List<Relation> dep)
builds the panel which warns users about a cyclic dependency
|
boolean |
checkUpload(APIDataSet apiDataSet)
Checks the upload.
|
protected void |
warnCyclicUploadDependency(CyclicUploadDependencyException e)
Warns the user if a cyclic dependency is detected
|
public RelationUploadOrderHook()
protected JPanel buildWarningPanel(List<Relation> dep)
dep - the list of relations with a cyclic dependencyprotected void warnCyclicUploadDependency(CyclicUploadDependencyException e)
e - the cyclic dependency exceptionpublic boolean checkUpload(APIDataSet apiDataSet)
UploadHookcheckUpload in interface UploadHookapiDataSet - the data to uploadtrue if upload is possible