Commit 936b0cee authored by Jay Jay Billings's avatar Jay Jay Billings
Browse files

Removed additional bundles and fixed the build.



Removed the analysis tool and kdd bundles. Fixed various and sundry
items that broke the build. 
Signed-off-by: default avatarJay Jay Billings <billingsjj@ornl.gov>
parent 31c947c3
......@@ -14,9 +14,6 @@
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
<stringAttribute key="M2_USER_SETTINGS" value=""/>
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="LD_LIBRARY_PATH" value="/home/bkj/Programs/hdf-java/lib/linux"/>
</mapAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:/ice}"/>
</launchConfiguration>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.ice.analysistool</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
#Tue Jul 17 10:52:01 EDT 2012
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
#Tue Jul 17 10:52:01 EDT 2012
eclipse.preferences.version=1
resolve.requirebundle=false
pluginProject.extensions=false
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ICE Analysis Tool Interface
Bundle-SymbolicName: org.eclipse.ice.analysistool;singleton:=true
Bundle-Version: 2.1.8
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: org.eclipse.ice.analysistool
Import-Package: org.eclipse.ice.datastructures.form
Require-Bundle: org.eclipse.ice.datastructures
Bundle-Vendor: Oak Ridge National Laboratory
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>
<p>July 1, 2014</p>
<h3>License</h3>
<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
indicated below, the Content is provided to you under the terms and conditions of the
Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
apply to your use of any object code in the Content. Check the Redistributor's license that was
provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
</body>
</html>
\ No newline at end of file
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
schema/,\
.,\
plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="IAnalysisTool" name="Analysis Tool" schema="schema/IAnalysisTool.exsd"/>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ICE</groupId>
<artifactId>org.eclipse.ice.build</artifactId>
<version>2.1.8</version>
<relativePath>../${pom-filename}</relativePath>
</parent>
<groupId>ICE</groupId>
<artifactId>org.eclipse.ice.analysistool</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ice.analysistool" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.ice.analysistool" id="IAnalysisTool" name="Analysis Tool"/>
</appinfo>
<documentation>
[Enter description of this extension point.]
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="Implementation"/>
</choice>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="Implementation">
<complexType>
<attribute name="Class" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.ice.analysistool.IAnalysisTool"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
[Enter the first release in which this extension point appears.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
</schema>
/*******************************************************************************
* Copyright (c) 2012, 2014 UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Initial API and implementation and/or initial documentation - Jay Jay Billings,
* Jordan H. Deyton, Dasha Gorin, Alexander J. McCaskey, Taylor Patterson,
* Claire Saunders, Matthew Wang, Anna Wojtowicz
*******************************************************************************/
package org.eclipse.ice.analysistool;
/**
* <p>
* This is an enumeration of all the types of assets that can be created.
* </p>
*
* @author Jay Jay Billings
*/
public enum AnalysisAssetType {
/**
* <p>
* This asset is a picture.
* </p>
*
*/
PICTURE,
/**
* <p>
* This asset is a table of data organized into rows and columns.
* </p>
*
*/
TABLE,
/**
* <p>
* This asset is a single number.
* </p>
*
*/
VALUE
}
\ No newline at end of file
/*******************************************************************************
* Copyright (c) 2012, 2014 UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Initial API and implementation and/or initial documentation - Jay Jay Billings,
* Jordan H. Deyton, Dasha Gorin, Alexander J. McCaskey, Taylor Patterson,
* Claire Saunders, Matthew Wang, Anna Wojtowicz
*******************************************************************************/
package org.eclipse.ice.analysistool;
import java.net.URI;
import java.util.ArrayList;
import java.util.Properties;
import org.eclipse.ice.datastructures.form.Entry;
/**
* <p>
* This interface represents an asset created by an IAnalysisDocument. Each
* IAnalysisAsset has a name, a type and a URI from which the asset can be
* retrieved. IAnalysisAssets also have a select number of properties whose
* values can be set to manipulate the asset. New properties can not be added.
* </p>
* <p>
* An example of an IAnalysisAsset is a plot that is stored as a Portable
* Network Graphic (PNG) file. It has a name, is a picture, is stored somewhere
* on the disk and has properties such as the x axis label and the title.
* </p>
*
* @author Jay Jay Billings
*/
public interface IAnalysisAsset {
/**
* <p>This operation returns the name of the asset.</p>
* @return <p>The name</p>
*/
public String getName();
/**
* <p>This operation returns the type of the IAnalysisAsset.</p>
* @return <p>The type of the asset</p>
*/
public AnalysisAssetType getType();
/**
* <p>This operation returns the value of one of the assets properties, requested by a key. If that property does not exist, it returns null.</p>
* @param key <p>The key of the property that should be retrieved.</p>
* @return <p>The value or null if the key does not exist.</p>
*/
public String getProperty(String key);
/**
* <p>This operation sets the value of a property with the given key. It returns true if the key is in the properties list and false if not. Calling this operation will never add new properties to the list.</p>
* @param key <p>The key whose value should be set.</p>
* @param value <p>The value for the specified key. This value will only be set if the key exists.</p>
* @return <p>True if the key is in the list, false otherwise.</p>
*/
public boolean setProperty(String key, String value);
/**
* <p>This operations resets the properties of the asset to their default state.</p>
*/
public void resetProperties();
/**
* <p>This operation returns the entire list of properties for this IAnalysisAsset as an instance of Java's Properties class.</p>
* @return <p>The properties of this asset or null if no properties exist.</p>
*/
public Properties getProperties();
/**
* <p>This operation returns the asset's properties as a list of Entry objects.</p>
* @return
*/
public ArrayList<Entry> getPropertiesAsEntryList();
/**
* <p>This operation returns the URI of the asset.</p>
* @return <p>The URI</p>
*/
public URI getURI();
}
/*******************************************************************************
* Copyright (c) 2012, 2014 UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Initial API and implementation and/or initial documentation - Jay Jay Billings,
* Jordan H. Deyton, Dasha Gorin, Alexander J. McCaskey, Taylor Patterson,
* Claire Saunders, Matthew Wang, Anna Wojtowicz
*******************************************************************************/
package org.eclipse.ice.analysistool;
import java.net.URI;
import java.util.ArrayList;
/**
* <p>
* IAnalysisDocuments are essentially collections of IAnalysisAssets. They
* create IAnalysisAssets based on input data provided to a document. They
* create a set of assets for each "slice" of data. A slice of data would be,
* for example, all of the data at a time t in a time series or all of the data
* at a position x in spatial data.
* </p>
* <p>
* The types of assets that are created are determined in a two step process.
* First, the IAnalysisDocument publishes what, if any, assets it can create for
* the given data. A client then examines the set of assets - a set of strings
* that describe the assets - that can be created for the given data and chooses
* which ones should be created in the document. Specifying which assets will be
* created is done one time and applies to all data slices.
* </p>
* <p>
* Reference data may be provided for use by IAnalysisDocuments that can make
* comparisons or perform other operations that use the reference.
* </p>
* <p>
* Data may be added to an IAnalysisDocument through either a URI or an
* IDataProvider, but it may not be retrieved in the form of an IDataProvider
* because their is no guarantee that the data stored at a given URI can fit
* within the available memory and there is no current implementation of
* IDataProvider that works with serialized data. Realizations of this interface
* that primarily use data from an IDataProvider should write the data to a file
* and return the URI instead of returning null. Reference data is treated the
* same way.
* </p>
*
* @author Jay Jay Billings
*/
public interface IAnalysisDocument {
/**
* <p>
* This operation directs the IAnalysisDocument to load or otherwise use
* data from a folder or file with the specified URI. All IAnalysisAssets
* will be created from this data.
* </p>
*
* @param data
* <p>
* A URI to the data folder or file used to create assets for
* this document.
* </p>
* @return <p>
* True if the IAnalysisDocument can create assets from the data,
* false if not. If this operation returns false, this
* IAnalysisDocument should not be used.
* </p>
*/
public boolean loadData(URI data);
/**
* <p>
* This operation directs the IAnalysisDocument to load or otherwise use
* data from an IDataProvider. All IAnalysisAssets will be created from this
* data.
* </p>
*
* @param data
* <p>
* An IDataProvider used to create assets for this document.
* </p>
* @return <p>
* True if the IAnalysisDocument can create assets from the data,
* false if not. If this operation returns false, this
* IAnalysisDocument should not be used.
* </p>
*/
public boolean loadData(IDataProvider data);
/**
* <p>
* This operation directs the IAnalysisDocument to load or otherwise use
* data from a folder or file with the specified URI. All IAnalysisAssets
* will be created from this data.
* </p>
*
* @param data
* <p>
* A URI to the data folder or file used to retrieve the
* reference data.
* </p>
* @return <p>
* True if the IAnalysisDocument can create assets from the data,
* false if not. If this operation returns false, this
* IAnalysisDocument should not be used.
* </p>
*/
public boolean loadReferenceData(URI data);
/**
* <p>
* This operation directs the IAnalysisDocument to load or otherwise use
* data from an IDataProvider as a reference for comparison with the data
* loaded by loadData().
* </p>
*
* @param data
* <p>
* An IDataProvider used to retrieve the reference data.
* </p>
* @return <p>
* True if the IAnalysisDocument can create assets from the data,
* false if not. If this operation returns false, this
* IAnalysisDocument should not be used.
* </p>
*/
public boolean loadReferenceData(IDataProvider data);
/**
* <p>
* This operation returns a URI specifying the location of the data from
* which this IAnalysisDocument is creating IAnalysisAssets.
* </p>
*
* @return <p>
* A URI to the data folder or file used to create assets for this
* document.
* </p>
*/
public URI getData();
/**
* <p>
* This operation provides a list of all of the assets that can be created
* for the data under consideration by this IAnalysisDocument.
* </p>
*
* @return <p>
* The list of assets that can be created for this IAnalysisDocument
* or null if the document can not create any assets.
* </p>
*/
public ArrayList<String> getAvailableAssets();
/**
* <p>
* This operation returns the list of all of assets that should be or was
* created for the data at each slice for this IAnalysisDocument.
* </p>
*
* @return <p>
* The list of assets.
* </p>
*/
public ArrayList<String> getSelectedAssets();
/**
* <p>
* This operation specifies the list of all of assets that should be created
* for the data at each slice for this IAnalysisDocument. Setting the list
* of desired assets sets it for all data slices. In general, this operation
* should be called after getAvailableAssets() unless it is known for
* certain that the list of desired assets can be created in the document.
* </p>
*
* @param assets
* <p>
* The lists of assets that should be created for each slice of
* data in this IAnalysisDocument.
* </p>
*/
public void setSelectedAssets(ArrayList<String> assets);
/**
* <p>
* This operation creates the selected assets in the IAnalysisDocument. This
* is a potentially long-running operation depending on the data and the
* analysis operations.
* </p>
*/
public void createSelectedAssets();
/**
* <p>
* This operation returns the total number of data slices that exist in the
* document. This could be, for example, the total number of time steps in
* the data or the total number of cells. This operation will return 0 if
* the IAnalysisDocument can not manipulate the data.
* </p>
*
* @return <p>
* The total number of data slices in this IAnalysisDocument.
* </p>
*/
public int getTotalSlices();
/**
* <p>
* This operation returns a string that identifies the data slice in way
* that is more descriptive than just its slice id. This could be, for
* example, a number identifying the time step or the cell id.
* </p>
*
* @param sliceNumber
* @return <p>
* The identifier with more information about the slice.
* </p>
*/
public String getSliceIdentifier(int sliceNumber);
/**