fUndo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.UNDO); fRedo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.REDO);
fUndo= fEditor.getAction(ITextEditorActionConstants.UNDO); fRedo= fEditor.getAction(ITextEditorActionConstants.REDO);
	public JavaOutlinePage(String contextMenuID, JavaEditor editor) {		super();				Assert.isNotNull(editor);				fContextMenuID= contextMenuID;		fEditor= editor;				fTogglePresentation= new TogglePresentationAction();		fPreviousAnnotation= new GotoAnnotationAction("PreviousAnnotation.", false); //$NON-NLS-1$		fNextAnnotation= new GotoAnnotationAction("NextAnnotation.", true); //$NON-NLS-1$		fShowJavadoc= (TextEditorAction) fEditor.getAction("ShowJavaDoc"); //$NON-NLS-1$		fUndo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.UNDO);		fRedo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.REDO);				fTogglePresentation.setEditor(editor);		fPreviousAnnotation.setEditor(editor);		fNextAnnotation.setEditor(editor);					fPropertyChangeListener= new IPropertyChangeListener() {			public void propertyChange(PropertyChangeEvent event) {				doPropertyChange(event);			}		};		JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(fPropertyChangeListener);	}