viewer.setLabelProvider( labelProvider );
addListener( labelProvider );
getSite().getPage().addSelectionListener( ID, new SelectionChangeHandler() );
getSite().getPage().addSelectionListener( RelationshipTypeView.ID, new RelTypeSelectionChangeHandler() );
menu = new NeoGraphMenu( this );
GraphDbServiceManager sm = Activator.getDefault().getGraphDbServiceManager();
sm.addServiceEventListener( new NeoGraphServiceEventListener() );
getSite().setSelectionProvider( viewer );
Activator.getDefault().getPluginPreferences().addPropertyChangeListener( new PreferenceChangeHandler() );
PlatformUI.getWorkbench().getHelpSystem().setHelp( viewer.getControl(),
HelpContextConstants.NEO_GRAPH_VIEW_PART );