From 760b0f3366d74918e9a3064ac378d4d2af15c16c Mon Sep 17 00:00:00 2001 From: Roger Ferrel Date: Wed, 22 May 2013 07:39:24 -0500 Subject: [PATCH] Issue #1966 Feature place holders for the dialogs. Change-Id: I7d4574297874c85ba0ba215ded84e822d83bf66f Former-commit-id: d7e7a56b84551dcd6ea566af7156fb56f85e2e79 [formerly e55f73b4f7a699277bf3925e2bfca859cba390d1] [formerly d35424df4fd1a39e7e97c63cda688b5948b00639 [formerly 04684460d021089818509726b1dd23d53fb90440]] Former-commit-id: d35424df4fd1a39e7e97c63cda688b5948b00639 Former-commit-id: 2d4434119dce87da0c55c4bed2c9f3d4dbaaa689 --- cave/com.raytheon.uf.viz.archive/plugin.xml | 54 +++++++++++++++++++ .../ArchiveCaseCreationDialogAction.java | 48 +++++++++++++++++ .../archive/ArchiveRetentionDialogAction.java | 48 +++++++++++++++++ .../feature.xml | 6 ++- .../{site => base}/archive/PROCESSED_DATA.xml | 0 .../{site => base}/archive/RAW_DATA.xml | 0 6 files changed, 155 insertions(+), 1 deletion(-) create mode 100644 cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveCaseCreationDialogAction.java create mode 100644 cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveRetentionDialogAction.java rename edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/{site => base}/archive/PROCESSED_DATA.xml (100%) rename edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/{site => base}/archive/RAW_DATA.xml (100%) diff --git a/cave/com.raytheon.uf.viz.archive/plugin.xml b/cave/com.raytheon.uf.viz.archive/plugin.xml index 640addfd33..183c8df2de 100644 --- a/cave/com.raytheon.uf.viz.archive/plugin.xml +++ b/cave/com.raytheon.uf.viz.archive/plugin.xml @@ -31,4 +31,58 @@ extensionFilter=".xml"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveCaseCreationDialogAction.java b/cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveCaseCreationDialogAction.java new file mode 100644 index 0000000000..a0f2da5ce9 --- /dev/null +++ b/cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveCaseCreationDialogAction.java @@ -0,0 +1,48 @@ +package com.raytheon.uf.viz.archive; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; + +/** + * Action to bring up the Archive Case Creation dialog.. + * + *
+ * 
+ * SOFTWARE HISTORY
+ * 
+ * Date         Ticket#    Engineer    Description
+ * ------------ ---------- ----------- --------------------------
+ * May 16, 2013 1966       rferrel     Initial creation
+ * 
+ * 
+ * + * @author rferrel + * @version 1.0 + */ +public class ArchiveCaseCreationDialogAction extends AbstractHandler { + // ArchiveCaseCreationDialog dialog; + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands + * .ExecutionEvent) + */ + @Override + public Object execute(ExecutionEvent event) throws ExecutionException { + // if (dialog == null || dialog.isDiposed()) { + // Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow() + // .getShell(); + // dialog = new ArchiveCaseCreationDialog(shell); + // dialog.open(); + // } else { + // dialog.bringToTop(); + // } + // dialog.open(); + System.out.println("ArchiveCaseCreationDialogAction NYI."); + return null; + } + +} diff --git a/cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveRetentionDialogAction.java b/cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveRetentionDialogAction.java new file mode 100644 index 0000000000..1d4a9617c7 --- /dev/null +++ b/cave/com.raytheon.uf.viz.archive/src/com/raytheon/uf/viz/archive/ArchiveRetentionDialogAction.java @@ -0,0 +1,48 @@ +package com.raytheon.uf.viz.archive; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; + +/** + * Action to display the Archive Retention dialog. + * + *
+ * 
+ * SOFTWARE HISTORY
+ * 
+ * Date         Ticket#    Engineer    Description
+ * ------------ ---------- ----------- --------------------------
+ * May 16, 2013 1966       rferrel     Initial creation
+ * 
+ * 
+ * + * @author rferrel + * @version 1.0 + */ +public class ArchiveRetentionDialogAction extends AbstractHandler { + // ArchiveRetentionDialog dialog; + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands + * .ExecutionEvent) + */ + @Override + public Object execute(ExecutionEvent event) throws ExecutionException { + // if (dialog == null || dialog.isDiposed()) { + // Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow() + // .getShell(); + // dialog = new ArchiveRetentionDialog(shell); + // dialog.open(); + // } else { + // dialog.bringToTop(); + // } + // dialog.open(); + System.out.println("ArchiveRetentionDialogAction NYI."); + return null; + } + +} diff --git a/cave/com.raytheon.viz.feature.awips.developer/feature.xml b/cave/com.raytheon.viz.feature.awips.developer/feature.xml index f357623d2e..29ee99c13d 100644 --- a/cave/com.raytheon.viz.feature.awips.developer/feature.xml +++ b/cave/com.raytheon.viz.feature.awips.developer/feature.xml @@ -18,7 +18,7 @@ id="com.raytheon.uf.common.base.feature" version="0.0.0"/> - @@ -170,6 +170,10 @@ id="com.raytheon.uf.viz.gisdatastore.feature" version="0.0.0"/> + + diff --git a/edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/site/archive/PROCESSED_DATA.xml b/edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/base/archive/PROCESSED_DATA.xml similarity index 100% rename from edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/site/archive/PROCESSED_DATA.xml rename to edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/base/archive/PROCESSED_DATA.xml diff --git a/edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/site/archive/RAW_DATA.xml b/edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/base/archive/RAW_DATA.xml similarity index 100% rename from edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/site/archive/RAW_DATA.xml rename to edexOsgi/com.raytheon.uf.edex.archive/utility/common_static/base/archive/RAW_DATA.xml