initDragAndDrop();
	public void createPartControl(Composite parent) {				fViewer= createViewer(parent);		fViewer.setUseHashlookup(true);		fViewer.setComparer(new PackageExplorerElementComparer());				setProviders();				JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);					MenuManager menuMgr= new MenuManager("#PopupMenu"); //$NON-NLS-1$		menuMgr.setRemoveAllWhenShown(true);		menuMgr.addMenuListener(this);		fContextMenu= menuMgr.createContextMenu(fViewer.getTree());		fViewer.getTree().setMenu(fContextMenu);				// Register viewer with site. This must be done before making the actions.		IWorkbenchPartSite site= getSite();		site.registerContextMenu(menuMgr, fViewer);		site.setSelectionProvider(fViewer);		site.getPage().addPartListener(fPartListener);				if (fMemento != null) {			restoreLinkingEnabled(fMemento);		}				makeActions(); // call before registering for selection changes				// Set input after filter and sorter has been set. This avoids resorting and refiltering.		restoreFilterAndSorter();		fViewer.setInput(findInputElement());		initFrameActions();		initDragAndDrop();		initKeyListener();					fSelectionListener= new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent event) {				handleSelectionChanged(event);			}		};		fViewer.addSelectionChangedListener(fSelectionListener);				fViewer.addDoubleClickListener(new IDoubleClickListener() {			public void doubleClick(DoubleClickEvent event) {				fActionSet.handleDoubleClick(event);			}		});				fViewer.addOpenListener(new IOpenListener() {			public void open(OpenEvent event) {				fActionSet.handleOpen(event);			}		});		IStatusLineManager slManager= getViewSite().getActionBars().getStatusLineManager();		fViewer.addSelectionChangedListener(new StatusBarUpdater(slManager));		fViewer.addTreeListener(fExpansionListener);			if (fMemento != null)			restoreUIState(fMemento);		fMemento= null;			// Set help for the view 		JavaUIHelp.setHelp(fViewer, IJavaHelpContextIds.PACKAGES_VIEW);				fillActionBars();		updateTitle();				fFilterUpdater= new FilterUpdater(fViewer);		ResourcesPlugin.getWorkspace().addResourceChangeListener(fFilterUpdater);	}