public class NotesView extends ViewPart implements IPartListener, Observer, ISaveablePart, ISaveablePart2
CANCEL, DEFAULT, NO, YESPROP_DIRTYPROP_TITLE| Constructor and Description |
|---|
NotesView() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPartControl(Composite parent) |
void |
dispose() |
void |
doSave(IProgressMonitor monitor) |
void |
doSaveAs() |
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
boolean |
isSaveOnCloseNeeded() |
void |
partActivated(IWorkbenchPart part) |
void |
partBroughtToTop(IWorkbenchPart part) |
void |
partClosed(IWorkbenchPart part) |
void |
partDeactivated(IWorkbenchPart part) |
void |
partOpened(IWorkbenchPart part) |
int |
promptToSaveOnClose() |
void |
resetUndoManager() |
void |
setFocus() |
void |
update(Observable o,
Object arg) |
getViewSite, init, init, saveState, setInitializationDataaddPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListenergetAdapterpublic void createPartControl(Composite parent)
createPartControl in interface IWorkbenchPartcreatePartControl in class WorkbenchPartpublic void setFocus()
setFocus in interface IWorkbenchPartsetFocus in class WorkbenchPartpublic void partActivated(IWorkbenchPart part)
partActivated in interface IPartListenerpublic void partBroughtToTop(IWorkbenchPart part)
partBroughtToTop in interface IPartListenerpublic void partClosed(IWorkbenchPart part)
partClosed in interface IPartListenerpublic void partDeactivated(IWorkbenchPart part)
partDeactivated in interface IPartListenerpublic void partOpened(IWorkbenchPart part)
partOpened in interface IPartListenerpublic void update(Observable o, Object arg)
public void dispose()
dispose in interface IWorkbenchPartdispose in class WorkbenchPartpublic void resetUndoManager()
public void doSave(IProgressMonitor monitor)
doSave in interface ISaveablePartpublic void doSaveAs()
doSaveAs in interface ISaveablePartpublic boolean isDirty()
isDirty in interface ISaveablePartpublic boolean isSaveAsAllowed()
isSaveAsAllowed in interface ISaveablePartpublic boolean isSaveOnCloseNeeded()
isSaveOnCloseNeeded in interface ISaveablePartpublic int promptToSaveOnClose()
promptToSaveOnClose in interface ISaveablePart2