Skip to content

Commit 73a0679

Browse files
committed
Create package for tunables, move CommandModule into base package, refs
#348
1 parent e0e26ea commit 73a0679

16 files changed

+36
-19
lines changed
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
package org.baderlab.csplugins.enrichmentmap.commands;
1+
package org.baderlab.csplugins.enrichmentmap;
22

33
import static java.lang.annotation.RetentionPolicy.RUNTIME;
44

55
import java.lang.annotation.Retention;
66

77
import org.baderlab.csplugins.enrichmentmap.actions.OpenEnrichmentMapAction;
8+
import org.baderlab.csplugins.enrichmentmap.commands.DatasetShowCommandTask;
9+
import org.baderlab.csplugins.enrichmentmap.commands.EMBuildCommandTask;
10+
import org.baderlab.csplugins.enrichmentmap.commands.EMGseaCommandTask;
11+
import org.baderlab.csplugins.enrichmentmap.commands.ExportModelJsonCommandTask;
12+
import org.baderlab.csplugins.enrichmentmap.commands.PAKnownSignatureCommandTask;
13+
import org.baderlab.csplugins.enrichmentmap.commands.ResolverCommandTask;
14+
import org.baderlab.csplugins.enrichmentmap.commands.TableCommandTask;
15+
import org.baderlab.csplugins.enrichmentmap.commands.DatasetShowCommandTask.Factory;
816
import org.cytoscape.work.AbstractTaskFactory;
917
import org.cytoscape.work.Task;
1018
import org.cytoscape.work.TaskFactory;

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/CyActivator.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@
88
import java.util.Properties;
99

1010
import org.baderlab.csplugins.enrichmentmap.ApplicationModule.Headless;
11+
import org.baderlab.csplugins.enrichmentmap.CommandModule.BuildCommand;
12+
import org.baderlab.csplugins.enrichmentmap.CommandModule.BuildTableCommand;
13+
import org.baderlab.csplugins.enrichmentmap.CommandModule.DatasetHide;
14+
import org.baderlab.csplugins.enrichmentmap.CommandModule.DatasetShow;
15+
import org.baderlab.csplugins.enrichmentmap.CommandModule.GSEACommand;
16+
import org.baderlab.csplugins.enrichmentmap.CommandModule.JsonCommand;
17+
import org.baderlab.csplugins.enrichmentmap.CommandModule.PACommand;
18+
import org.baderlab.csplugins.enrichmentmap.CommandModule.ResolveCommand;
1119
import org.baderlab.csplugins.enrichmentmap.actions.OpenEnrichmentMapAction;
1220
import org.baderlab.csplugins.enrichmentmap.actions.OpenPathwayCommonsTaskFactory;
13-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule;
14-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.BuildCommand;
15-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.BuildTableCommand;
16-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.DatasetHide;
17-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.DatasetShow;
18-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.GSEACommand;
19-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.JsonCommand;
20-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.PACommand;
21-
import org.baderlab.csplugins.enrichmentmap.commands.CommandModule.ResolveCommand;
22-
import org.baderlab.csplugins.enrichmentmap.commands.MannWhitRanksTunableHandlerFactory;
21+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.MannWhitRanksTunableHandlerFactory;
2322
import org.baderlab.csplugins.enrichmentmap.model.EnrichmentMapManager;
2423
import org.baderlab.csplugins.enrichmentmap.model.io.SessionListener;
2524
import org.baderlab.csplugins.enrichmentmap.rest.EnrichmentMapResource;

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/commands/DatasetShowCommandTask.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import java.util.Map;
55
import java.util.Set;
66

7+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.DatasetListTunable;
8+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.NetworkTunable;
79
import org.baderlab.csplugins.enrichmentmap.model.EnrichmentMap;
810
import org.baderlab.csplugins.enrichmentmap.view.control.ControlPanelMediator;
911
import org.baderlab.csplugins.enrichmentmap.view.control.io.ViewParams;

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/commands/EMBuildCommandTask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
import java.util.ArrayList;
5252
import java.util.List;
5353

54+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.FilterTunablesLegacy;
5455
import org.baderlab.csplugins.enrichmentmap.model.DataSetFiles;
5556
import org.baderlab.csplugins.enrichmentmap.model.DataSetParameters;
5657
import org.baderlab.csplugins.enrichmentmap.model.EMCreationParameters;

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/commands/ExportModelJsonCommandTask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import java.io.File;
44
import java.io.FileWriter;
55

6+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.NetworkTunable;
67
import org.baderlab.csplugins.enrichmentmap.model.EnrichmentMap;
78
import org.baderlab.csplugins.enrichmentmap.model.io.ModelSerializer;
89
import org.cytoscape.work.AbstractTask;

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/commands/PAKnownSignatureCommandTask.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
import java.util.List;
77
import java.util.Set;
88

9+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.FilterTunables;
10+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.MannWhitRanks;
11+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.NetworkTunable;
912
import org.baderlab.csplugins.enrichmentmap.model.EMDataSet;
1013
import org.baderlab.csplugins.enrichmentmap.model.EnrichmentMap;
1114
import org.baderlab.csplugins.enrichmentmap.model.PostAnalysisFilterType;

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/commands/ResolverCommandTask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import java.io.File;
44
import java.util.List;
55

6+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.FilterTunables;
67
import org.baderlab.csplugins.enrichmentmap.model.DataSetParameters;
78
import org.baderlab.csplugins.enrichmentmap.model.EMCreationParameters;
89
import org.baderlab.csplugins.enrichmentmap.resolver.ResolverTask;

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/commands/TableCommandTask.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import java.util.Collections;
44
import java.util.List;
55

6+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.FilterTunables;
7+
import org.baderlab.csplugins.enrichmentmap.commands.tunables.TableTunables;
68
import org.baderlab.csplugins.enrichmentmap.model.DataSetParameters;
79
import org.baderlab.csplugins.enrichmentmap.model.EMCreationParameters;
810
import org.baderlab.csplugins.enrichmentmap.model.EMDataSet.Method;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.baderlab.csplugins.enrichmentmap.commands;
1+
package org.baderlab.csplugins.enrichmentmap.commands.tunables;
22

33
import java.util.Collection;
44
import java.util.Collections;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.baderlab.csplugins.enrichmentmap.commands;
1+
package org.baderlab.csplugins.enrichmentmap.commands.tunables;
22

33

44
import static org.baderlab.csplugins.enrichmentmap.model.EMCreationParameters.SimilarityMetric.COMBINED;

0 commit comments

Comments
 (0)