com.bonevich.eclipse.cvsgrapher.editors
Class CvsGraphEditor

java.lang.Object
  extended byorg.eclipse.ui.part.WorkbenchPart
      extended byorg.eclipse.ui.part.EditorPart
          extended byorg.eclipse.gef.ui.parts.GraphicalEditor
              extended bycom.bonevich.eclipse.cvsgrapher.editors.CvsGraphEditor
All Implemented Interfaces:
org.eclipse.gef.commands.CommandStackListener, CvsGraphPluginResources, org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorPart, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.ISaveablePart, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IWorkbenchPart

public final class CvsGraphEditor
extends org.eclipse.gef.ui.parts.GraphicalEditor
implements CvsGraphPluginResources

The CVS Graph GEF editor.

Author:
jbonevic

Field Summary
static java.lang.String EDITOR_ID
           
 
Fields inherited from interface com.bonevich.eclipse.cvsgrapher.CvsGraphPluginResources
CVSGRAPHER_EDITOR_TITLE, CVSGRAPHER_EDITOR_TITLE_WITHARG, CVSGRAPHER_PREFS_COLOR_BRANCH_LABEL, CVSGRAPHER_PREFS_COLOR_VERSION_LABEL, CVSGRAPHER_PREFS_GENERAL, CVSGRAPHER_PREFS_MERGETAG_DEST_LABEL, CVSGRAPHER_PREFS_MERGETAG_SOURCE_LABEL, CVSGRAPHER_PREFS_MERGETAGS_LABEL, CVSGRAPHER_PREFS_SHOW_AUTHOR_LABEL, CVSGRAPHER_PREFS_SHOW_LABEL, CVSGRAPHER_PREFS_SHOW_TAGS_LABEL, CVSGRAPHER_PREFS_SHOW_TIMESTAMP_LABEL, RESOURCE_BUNDLE
 
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
CvsGraphEditor()
           
 
Method Summary
protected  void configureGraphicalViewer()
           
 void doSave(org.eclipse.core.runtime.IProgressMonitor iMonitor)
           
 void doSaveAs()
           
 void gotoMarker(org.eclipse.core.resources.IMarker iMarker)
           
 void init(org.eclipse.ui.IEditorSite iSite, org.eclipse.ui.IEditorInput iInput)
           
protected  void initializeGraphicalViewer()
           
 boolean isDirty()
           
 boolean isSaveAsAllowed()
           
 
Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditor
commandStackChanged, createActions, createGraphicalViewer, createPartControl, dispose, firePropertyChange, getActionRegistry, getAdapter, getCommandStack, getEditDomain, getGraphicalViewer, getPropertyActions, getSelectionActions, getSelectionSynchronizer, getStackActions, hookGraphicalViewer, initializeActionRegistry, selectionChanged, setActionRegistry, setEditDomain, setFocus, setGraphicalViewer, updateActions
 
Methods inherited from class org.eclipse.ui.part.EditorPart
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInput
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, getConfigurationElement, getDefaultImage, getJobChangeListener, getSite, getTitle, getTitleImage, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener
 

Field Detail

EDITOR_ID

public static final java.lang.String EDITOR_ID
See Also:
Constant Field Values
Constructor Detail

CvsGraphEditor

public CvsGraphEditor()
Method Detail

init

public void init(org.eclipse.ui.IEditorSite iSite,
                 org.eclipse.ui.IEditorInput iInput)
          throws org.eclipse.ui.PartInitException
Specified by:
init in interface org.eclipse.ui.IEditorPart
Throws:
org.eclipse.ui.PartInitException
See Also:
IEditorPart.init(IEditorSite, IEditorInput)

initializeGraphicalViewer

protected void initializeGraphicalViewer()
See Also:
GraphicalEditor.initializeGraphicalViewer()

isSaveAsAllowed

public boolean isSaveAsAllowed()
Specified by:
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePart
See Also:
ISaveablePart.isSaveAsAllowed()

doSave

public void doSave(org.eclipse.core.runtime.IProgressMonitor iMonitor)
Specified by:
doSave in interface org.eclipse.ui.ISaveablePart
See Also:
ISaveablePart.doSave(IProgressMonitor)

doSaveAs

public void doSaveAs()
Specified by:
doSaveAs in interface org.eclipse.ui.ISaveablePart
See Also:
ISaveablePart.doSaveAs()

gotoMarker

public void gotoMarker(org.eclipse.core.resources.IMarker iMarker)
See Also:
org.eclipse.ui.IEditorPart#gotoMarker(IMarker)

isDirty

public boolean isDirty()
Specified by:
isDirty in interface org.eclipse.ui.ISaveablePart
See Also:
ISaveablePart.isDirty()

configureGraphicalViewer

protected void configureGraphicalViewer()
See Also:
GraphicalEditor.configureGraphicalViewer()


Copyright © 2003-2004 bonevich.com. All Rights Reserved.