GitLab will be shut down on June 25 to move to a new facility. https://www.eclipsestatus.io/incidents/5ffy27gwcbx7

Commit d14fc2b5 authored by Robert Smith's avatar Robert Smith
Browse files

Fixed spelling



Fixed minor spelling mistakes in documentation. 
Signed-off-by: Robert Smith's avatarRobert Smith <SmithRW@ornl.gov>
parent ef3d9183
......@@ -2,9 +2,9 @@
In order to use the functionality you've added to ICE, it is necessary to start
a new \textit{instance} of ICE, called the \textit{runtime} instance. This will
be a completely new copy of ICE that has your new plugins actived. This new
be a completely new copy of ICE that has your new plugins activated. This new
instance is how you and your users will typically interact with your
application. Once you are statisfied with the functionality you have added, you
application. Once you are satisfied with the functionality you have added, you
can create a new \texttt{runtime application} that can be deployed to users.
Creating runtime applications is beyond the scope of this tutorial.
......@@ -169,7 +169,7 @@ A Parallel launch configuration for your application is created as follows:
During the job submission, you will be asked if you would like to switch to the
\texttt{System Monitoring} perspecive. Click \texttt{Yes} to see this feature.
The image belows shows a typical instance of this perspective in action.
The image below shows a typical instance of this perspective in action.
\begin{center} \includegraphics[width=\textwidth]{figures/sysMon}
\end{center}
......
......@@ -65,9 +65,9 @@ the \texttt{FernLauncher} and \texttt{FernModel} classes.
The \texttt{FernModel} will be responsible for creating and
validating input parameters for FERN, in the form of a new FERN input file. In
order to make the generated code run there are several pieces of information that need to be changed. First, we
will need to set up the basic Item idenfification information. This information
will need to set up the basic Item identification information. This information
is set in the setupItemInfo() method. Modify the outputName to match the
following (or something of your choosing, with a .ini file extenstion).
following (or something of your choosing, with a .ini file extension).
\begin{lstlisting}[language=Java]
outputName = "fern_config.ini";
......
......@@ -6,8 +6,7 @@ visualization of data.
\section{Prerequisites}
You will need access to an installation of VisIt version $2.9.2$. If
not using the already installed version on Gordon, there is a copy of the
You will need access to an installation of VisIt version $2.9.2$. There is a copy of the
software in the VisIt folder of your USB drive. Windows users should open the Windows installer, while users of
other OSs can just copy the appropriate folder onto their machine.
......@@ -15,7 +14,7 @@ other OSs can just copy the appropriate folder onto their machine.
We will be adding the visualization components to the model made in the
previous section, so return to your original ICE window, closing the launched
instance. For convienence, you can copy and paste the code from the
instance. For convenience, you can copy and paste the code from the
XSEDEVisualizationeModel.java in the org.eclipse.ice.demo.visualization.model
package. Its location can be seen in figure \ref{fig:demostructure}.
......@@ -32,68 +31,68 @@ XSEDEVisualizationModel's setupForm() method, but be sure to note the
comments specifying where to begin and end copying.
\begin{verbatim}
//Create the resource component
ResourceComponent resourceComponent = new ResourceComponent();
//Create the resource component
ResourceComponent resourceComponent = new ResourceComponent();
//Set the component's data members
resourceComponent.setName("Resources");
resourceComponent.setDescription("Results");
resourceComponent.setId(2);
//Set the component's data members
resourceComponent.setName("Resource Component");
resourceComponent.setDescription("Results");
resourceComponent.setId(1);
//Declare the files and resources
VizResource csvResource = null;
VizResource visItResource = null;
IFile csvFile = null;
IFile visItFile = null;
//Declare the files and resources
VizResource csvResource = null;
VizResource visItResource = null;
IFile csvFile = null;
IFile visItFile = null;
//If the file was found, create the CSV resource and add it to the component
try{
//If the file was found, create the CSV resource and add it to the component
try{
//Open the files
csvFile = ResourcesPlugin.getWorkspace().getRoot().getProject("itemDB")
.getFile("fib8.csv");
visItFile = ResourcesPlugin.getWorkspace().getRoot().getProject("itemDB")
.getFile("tire.silo");
//Open the files
csvFile = ResourcesPlugin.getWorkspace().getRoot().getProject("itemDB").getFile("fib8.csv");
visItFile = ResourcesPlugin.getWorkspace().getRoot().getProject("itemDB").getFile("tire.silo");
//If the file was found, create the CSV resource and add it to the component.
if(csvFile.exists()){
csvResource = new
VizResource(csvFile.getLocation()
.toFile());
resourceComponent.addResource(csvResource);
}
//If the file was found, create the CSV resource and add it to the component.
if(csvFile.exists()){
csvResource = new
VizResource(csvFile.getLocation()
.toFile());
resourceComponent.addResource(csvResource);
}
//If the file was found, create the VisIt resource and add it to
//the component
if(visItFile.exists()){
visItResource = new
VizResource(visItFile.getLocation()
.toFile());
resourceComponent.addResource(visItResource);
}
}
catch(IOException e){
e.printStackTrace();
}
//Create the geometry component
ShapeController geometryRoot = new ShapeController(new
ShapeMesh(), new BasicView());
GeometryComponent geometryComponent = new
GeometryComponent();
geometryComponent.setGeometry(geometryRoot);
//Create mesh component
MeshComponent meshComponent = new MeshComponent();
//Add the components to the form
form.addComponent(resourceComponent);
form.addComponent(geometryComponent);
form.addComponent(meshComponent);
//If the file was found, create the VisIt resource and add it to
//the component
if(visItFile.exists()){
visItResource = new
VizResource(visItFile.getLocation()
.toFile());
resourceComponent.addResource(visItResource);
}
}
catch(IOException e){
e.printStackTrace();
}
//Create the geometry component
ShapeController geometryRoot = new ShapeController(new
Shape(), new BasicView());
GeometryComponent geometryComponent = new
GeometryComponent();
geometryComponent.setGeometry(geometryRoot);
geometryComponent.setName("Geometry Editor");
//Create mesh component
MeshComponent meshComponent = new MeshComponent();
meshComponent.setName("Mesh Editor");
//Add the components to the form
form.addComponent(resourceComponent);
form.addComponent(geometryComponent);
form.addComponent(meshComponent);
//Set the context on the Form
form.setContext("visualization");
// Set the context on the Form
form.setContext("visualization");
\end{verbatim}
This will cause errors in your file. To resolve them, first open the MANIFEST.MF
......@@ -103,7 +102,7 @@ both highlightted in figure \ref{fig:manifest}. Select
\texttt{org.eclipse.eavp.viz.datastructures}, press \texttt{OK}, and save the
file. You can then return to your model file, hover over the underlined code
for each of the errors until a menu pops up, and select the option to add a
package to the imported packages, as seen in figure \ref{fig:hover}. Save the file when the hover menu no longer appears over
package to the imported packages, as seen in figure \ref{fig:hover}. Repeat the process, this time choosing the option to import the class. Save the file when the hover menu no longer appears over
errors.
\begin{figure}[!h]
......@@ -211,7 +210,7 @@ Then select \texttt{Visualization Model} and press \texttt{Finish}. You can also
\texttt{Visualization Model (Pre-completed)} if you skipped the first part of
the tutorial.
Finally, switch to the ICE Perspective to ensure that the neccesary Views will
Finally, switch to the ICE Perspective to ensure that the necessary Views will
be open. To do this, click the \texttt{Open Perspective} button in the upper right
of the workbench screen.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment