Introduction

This tutorial assumes that you have looked over the Analysis Framework Developer's Guide and have followed the MAEviz development environment tutorial for setting up a development environment. If not, please look at those two documents because this tutorial assumes you have setup your MAEviz development environment and are ready to create a new analysis plug-in so you can begin extending MAEviz.

Building Analysis

The analysis we are going to perform is to check if a building is not on soft soil (0) or on soft soil (1). For simplicity, the analysis will randomly generate this number. Below you will find the steps to create this new analysis.

New Plug-in Project

The first step is to create a new plug-in to contain our new analysis. To do this, do the following:

  1. Go to File > New > Project and select Plug-in Project and click Next.
  2. Where it says Project name: enter ncsa.maeviz.building.example or whatever you prefer and click Next.
  3. Nothing needs to change on this page. Make sure wizard page looks like the one below and click Finish. If the box This plug-in will make contributions to the UI is checked, uncheck it.

Now that we have a new plug-in, we can move on to adding the required plug-ins for our new project.

Add Required Plug-ins

We will need to add a few required plug-ins. To do this, do the following:

  1. Open up the MANIFEST.MF file associated with our plug-in and click on the Dependencies tab
  2. Where it says Required Plug-ins, click the Add... button and add the following plug-ins

Your Dependency list should look like the one in the screenshot below:

The next steps are to add a New Analysis, a Task, and a result schema that tells the analysis how to create our result.

New Analysis

To create a new analysis, open the Manifest.MF if it isn't already open and do the following

  1. Click on the Extensions tab and click the Add... button
  2. In the New Extension wizard that opens, search for ncsa.analysis.newAnalyses, select it and click Finish.