Specifying the Properties

The Eclipse function package provides comprehensive support for the properties of an Eclipse resource. The properties are available to you as linked properties. To add a linked property to the model right-click the Properties category folder, and then click New Child > Eclipse > Resource Properties and choose one of the resources available. In this tutorial you only need to add the resource properties Name and Has Children:

  1. Right-click the Properties category folder, and then click New Child > Eclipse > Resource Properties > Name .

    This opens the Enter Object ID dialog box.

  2. In the New ID file, type TUTORIAL_PROP_EclipseResName.
  3. Click OK.
  4. Right-click the Properties category folder, and then click New Child > Eclipse > Resource Properties > Has Children .

    This opens the Enter Object ID dialog box.

  5. In the New ID filed, type TUTORIAL_PROP_ResHasChildren.
  6. Click OK.
  7. While pressing Ctrl, click TUTORIAL_PROP_EclipseResName and TUTORIAL_PROP_ResHasChildren
  8. Drag and drop the selection onto TUTORIAL_ELE_EclipseProject.

    This opens the Create Relationships dialog box.


    Create Relationships
  9. Click OK.
  10. Repeat steps 7 through 9 twice, replacing the target of the drag and drop action with TUTORIAL_ELE_EclipseFolder on the first occasion and TUTORIAL_ELE_EclipseFile on the second.