Merge "ASM #13498 Implementing Xdat standalone." into asm_16.1.1
Former-commit-id: 42e4087d9fa7f1e1ab106774588d13cfbfdd0493
This commit is contained in:
commit
9b401e2fd2
4 changed files with 107 additions and 3 deletions
|
@ -371,6 +371,23 @@
|
|||
</ini-substitutions>
|
||||
</memory-setting>
|
||||
|
||||
<memory-setting>
|
||||
<command-line-args>
|
||||
<first-arg>-component</first-arg>
|
||||
<second-arg>hydroXdat</second-arg>
|
||||
</command-line-args>
|
||||
|
||||
<ini-substitutions>
|
||||
<max-memory>
|
||||
<value>256M</value>
|
||||
</max-memory>
|
||||
|
||||
<max-perm>
|
||||
<value>64M</value>
|
||||
</max-perm>
|
||||
</ini-substitutions>
|
||||
</memory-setting>
|
||||
|
||||
<memory-setting>
|
||||
<command-line-args>
|
||||
<first-arg>-component</first-arg>
|
||||
|
|
|
@ -9,9 +9,13 @@ Require-Bundle: org.eclipse.ui,
|
|||
com.raytheon.uf.viz.core,
|
||||
com.raytheon.viz.ui,
|
||||
com.raytheon.viz.hydrocommon;bundle-version="1.10.13",
|
||||
org.postgres;bundle-version="9.3.5"
|
||||
org.postgres;bundle-version="9.3.5",
|
||||
com.raytheon.uf.viz.application;bundle-version="1.14.0",
|
||||
com.raytheon.uf.viz.personalities.cave;bundle-version="1.15.0",
|
||||
com.raytheon.viz.ui.personalities.awips;bundle-version="1.12.1174"
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||
Import-Package: com.raytheon.uf.common.ohd,
|
||||
com.raytheon.uf.common.time,
|
||||
com.raytheon.uf.common.util
|
||||
com.raytheon.uf.common.util,
|
||||
com.raytheon.viz.ui.personalities.awips
|
||||
|
|
|
@ -34,5 +34,11 @@
|
|||
commandId="com.raytheon.viz.xdat.openxdat">
|
||||
</handler>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="com.raytheon.uf.viz.core.component">
|
||||
<component
|
||||
class="com.raytheon.viz.xdat.XdatComponent"
|
||||
key="hydroXdat">
|
||||
</component>
|
||||
</extension>
|
||||
</plugin>
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
/**
|
||||
* This software was developed and / or modified by Raytheon Company,
|
||||
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
*
|
||||
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
* This software product contains export-restricted data whose
|
||||
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
* to non-U.S. persons whether in the United States or abroad requires
|
||||
* an export license or other authorization.
|
||||
*
|
||||
* Contractor Name: Raytheon Company
|
||||
* Contractor Address: 6825 Pine Street, Suite 340
|
||||
* Mail Stop B8
|
||||
* Omaha, NE 68106
|
||||
* 402.291.0100
|
||||
*
|
||||
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
* further licensing information.
|
||||
**/
|
||||
package com.raytheon.viz.xdat;
|
||||
|
||||
import org.eclipse.swt.widgets.Display;
|
||||
import org.eclipse.swt.widgets.Shell;
|
||||
|
||||
import com.raytheon.viz.ui.personalities.awips.AbstractCAVEDialogComponent;
|
||||
|
||||
/**
|
||||
* This class starts XdatDialog as a stand alone component with runtime mode
|
||||
* of ALERT_VIZ.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Apr 28, 2011 mschenke Initial creation
|
||||
* Oct 08, 2012 1229 rferrel Make a blocking dialog.
|
||||
* Oct 17, 2012 1229 rferrel Changes for non-blocking
|
||||
* XdatDialog.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mschenke
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
public class XdatComponent extends AbstractCAVEDialogComponent {
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* com.raytheon.viz.ui.personalities.awips.AbstractCAVEComponent#startInternal
|
||||
* (java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
protected void startInternal(String componentName) throws Exception {
|
||||
|
||||
XdatDlg xdatDialg = new XdatDlg( new Shell( Display.getCurrent() ) );
|
||||
xdatDialg.open();
|
||||
blockUntilClosed(xdatDialg);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* com.raytheon.viz.ui.personalities.awips.AbstractCAVEComponent#getRuntimeModes
|
||||
* ()
|
||||
*/
|
||||
@Override
|
||||
protected int getRuntimeModes() {
|
||||
return (ALERT_VIZ);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue