If the example programs are actual projects, you will want to import them. To verify that the example program is part of a project, first look in the example program folder for the presence of .cproject and .project files, which is where CW Eclipse stores a project's metadata. If that is the case, proceed as follows:
1) In the C/C++ perspective, choose File > Import.
An Import Select window appears.
2) Expand the General list and select the Existing Projects into Workspace option.
Click Next.
An Import Projects window appears.
3) Choose the Select root directory option, then Click Browse.
Navigate to the desired example folder and select it. Click OK.
4) In the Import Projects window, the name of the project and the folder should appear
in the Projects pane. If the folder does not contain valid project metadata,
you will get an error.
5) Check the Copy projects into workspace option. Since a lot of CodeWarrior's
references to files and libraries are made relative to the workspace folder, this
reduces any file path problems that might arise and you'll live longer. It's also
making a copy of the original folder, so you have
a backup in case things go horribly wrong with the copy (which will be the project).
6) Click Finish.
The example program folder should appear in the CodeWarrior Projects view.
You should be able to build and debug the example program.
Hope this helps,
---Tom