Linking the XHTML Content to the Task Class

Link the XHTML content to the task class.

Now that the XHTML file is completed, link this file to the Task01ImportGeometry class:
  1. Return to Task01ImportGeometry and locate the line beginning with public class Task01ImportGeometry extends Task {.
  2. Insert the following code above that line:
    @StarAssistantTask(display = "Import Geometry",
        contentPath = "XHTML/01_ImportGeometry.xhtml",
        controller = Task01ImportGeometry.ImportGeometryTaskController.class)
  3. Save the file (Ctrl-S).