In this lesson, you will create an icons folder and import
the sample graphics to use as your decorators.
Note: Before you complete this lesson you should
create an Eclipse plugin project with
the following attributes:
- Project Name : com.ibm.carma.plugin.decorators
- ID : com.ibm.carma.plugin.decorators
- Name : Decorators
To create the icons folder and import the graphics:
- In the Package Explorer view, right
click on the com.ibm.carma.plugin.decorators plugin-project
you just created, and select New > Folder.
- In the New Folder dialog box that
opens, select com.ibm.carma.plugin.decorators as
the parent folder.
- Enter icons as the name of the
folder, and click Finish. You should see the icons folder
appear under your com.ibm.carma.plugin.decorators project.
- Right click on the icons folder, and select Import.
- In the Import dialog box that opens,
select General > File System.
Click Next.
- In the From Directory text field,
either enter in the path name of the directory containing your graphics
or click Browse and browse for the appropriate
directory. Once a directory has been specified, it should open in
the panels below the text field.
- Select either the complete directory from the left panel
or just the individual files from the right panel to be imported.
When all files that you wish to import have been marked with a check,
click Finish.
In the Package Explorer view, expand com.ibm.carma.plugin.decorators >icons,
and you should see the graphics that you just imported.