if ( instance.getActivePageInstance( ) instanceof GraphicalEditorWithFlyoutPalette )
if ( instance!=null && instance.getActivePageInstance( ) instanceof GraphicalEditorWithFlyoutPalette )
				public void run( )				{					if ( instance.getActivePageInstance( ) instanceof GraphicalEditorWithFlyoutPalette )					{						GraphicalEditorWithFlyoutPalette editor = (GraphicalEditorWithFlyoutPalette) instance.getActivePageInstance( );						GraphicalViewer view = editor.getGraphicalViewer( );						UIUtil.resetViewSelection( view, true );					}				};