com.bonevich.eclipse.cvsgrapher
Class CvsGraphPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bycom.bonevich.eclipse.cvsgrapher.CvsGraphPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator, CvsGraphPluginResources

public final class CvsGraphPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
implements CvsGraphPluginResources

The main plugin class to be used in the desktop.


Field Summary
static java.lang.String DEFAULT_COLOR_BRANCH
           
static java.lang.String DEFAULT_COLOR_VERSION
           
static java.lang.String DEFAULT_MERGETAG_DEST
           
static java.lang.String DEFAULT_MERGETAG_SOURCE
           
static boolean DEFAULT_SHOW_AUTHOR
           
static boolean DEFAULT_SHOW_TAGS
           
static boolean DEFAULT_SHOW_TIMESTAMP
           
static java.lang.String PREFERENCE_COLOR_BRANCH
           
static java.lang.String PREFERENCE_COLOR_VERSION
           
static java.lang.String PREFERENCE_MERGETAG_DEST
           
static java.lang.String PREFERENCE_MERGETAG_SOURCE
           
static java.lang.String PREFERENCE_SHOW_AUTHOR
           
static java.lang.String PREFERENCE_SHOW_TAGS
           
static java.lang.String PREFERENCE_SHOW_TIMESTAMP
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
bundle, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
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
 
Constructor Summary
CvsGraphPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
           
 
Method Summary
 org.eclipse.swt.graphics.Color getBranchNodeColorPreference()
           
 java.util.regex.Pattern getMergeTagDestPreference()
           
 java.util.regex.Pattern getMergeTagSourcePreference()
           
static CvsGraphPlugin getPlugin()
           
 java.util.ResourceBundle getResourceBundle()
           
static java.lang.String getResourceString(java.lang.String key)
          Returns the string from the plugin's resource bundle, or 'key' if not found.
 org.eclipse.swt.graphics.Color getVersionNodeColorPreference()
           
static org.eclipse.core.resources.IWorkspace getWorkspace()
           
protected  void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
           
 boolean showAuthorPreference()
           
 boolean showTagsPreference()
           
 boolean showTimestampPreference()
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREFERENCE_COLOR_VERSION

public static final java.lang.String PREFERENCE_COLOR_VERSION
See Also:
Constant Field Values

PREFERENCE_COLOR_BRANCH

public static final java.lang.String PREFERENCE_COLOR_BRANCH
See Also:
Constant Field Values

PREFERENCE_MERGETAG_SOURCE

public static final java.lang.String PREFERENCE_MERGETAG_SOURCE
See Also:
Constant Field Values

PREFERENCE_MERGETAG_DEST

public static final java.lang.String PREFERENCE_MERGETAG_DEST
See Also:
Constant Field Values

PREFERENCE_SHOW_AUTHOR

public static final java.lang.String PREFERENCE_SHOW_AUTHOR
See Also:
Constant Field Values

PREFERENCE_SHOW_TIMESTAMP

public static final java.lang.String PREFERENCE_SHOW_TIMESTAMP
See Also:
Constant Field Values

PREFERENCE_SHOW_TAGS

public static final java.lang.String PREFERENCE_SHOW_TAGS
See Also:
Constant Field Values

DEFAULT_COLOR_VERSION

public static final java.lang.String DEFAULT_COLOR_VERSION
See Also:
Constant Field Values

DEFAULT_COLOR_BRANCH

public static final java.lang.String DEFAULT_COLOR_BRANCH
See Also:
Constant Field Values

DEFAULT_MERGETAG_SOURCE

public static final java.lang.String DEFAULT_MERGETAG_SOURCE
See Also:
Constant Field Values

DEFAULT_MERGETAG_DEST

public static final java.lang.String DEFAULT_MERGETAG_DEST
See Also:
Constant Field Values

DEFAULT_SHOW_AUTHOR

public static final boolean DEFAULT_SHOW_AUTHOR
See Also:
Constant Field Values

DEFAULT_SHOW_TIMESTAMP

public static final boolean DEFAULT_SHOW_TIMESTAMP
See Also:
Constant Field Values

DEFAULT_SHOW_TAGS

public static final boolean DEFAULT_SHOW_TAGS
See Also:
Constant Field Values
Constructor Detail

CvsGraphPlugin

public CvsGraphPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
Method Detail

getPlugin

public static CvsGraphPlugin getPlugin()

getWorkspace

public static org.eclipse.core.resources.IWorkspace getWorkspace()

getResourceString

public static java.lang.String getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.


getResourceBundle

public java.util.ResourceBundle getResourceBundle()

initializeDefaultPreferences

protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)

getVersionNodeColorPreference

public org.eclipse.swt.graphics.Color getVersionNodeColorPreference()

getBranchNodeColorPreference

public org.eclipse.swt.graphics.Color getBranchNodeColorPreference()

getMergeTagSourcePreference

public java.util.regex.Pattern getMergeTagSourcePreference()

getMergeTagDestPreference

public java.util.regex.Pattern getMergeTagDestPreference()

showAuthorPreference

public boolean showAuthorPreference()

showTimestampPreference

public boolean showTimestampPreference()

showTagsPreference

public boolean showTagsPreference()


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