private Map<IFile, List<DroolsElement>> resourcesMap = new HashMap<IFile, List<DroolsElement>>();
private TreeViewer treeViewer;
public void createPartControl(Composite parent) {
treeViewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
treeViewer.setContentProvider(new DroolsContentProvider());
treeViewer.setLabelProvider(new DroolsLabelProvider());
treeViewer.setSorter(new DroolsTreeSorter());
treeViewer.addDoubleClickListener(this);
treeViewer.setUseHashlookup(true);
treeViewer.setInput(ruleSet);