I'm having trouble understanding the code. But I tried to follow the instruction. I can't seem to find org.eclipse.ui.dialogs.ResourceListSelectionDialog in org.eclipse.ui.dialogs.... (the jar that is used is org.eclipse.ui.workbench_3.6.1.M20100826-1330.jar).

Am I missing something here?

Also.. how do I add multiple images into this (one for parallel, one for exclusive)?

This example was just meant to demonstrate how changing the value of an attribute can be reflected as a change in the interface. I suspect that in your case you won't need the ResourceListSelectionDialog as the shapes of your nodes will be predefined.