org.eparapher.rcp.views
Class UserCertificateStoreView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by org.eparapher.rcp.views.AbstractCertificateView
                  extended by org.eparapher.rcp.views.UserCertificateStoreView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class UserCertificateStoreView
extends AbstractCertificateView

This view shows user's certificates obtained from the Keystore defined in the configuration.

The view uses a label provider to define how model objects should be presented in the view. Each view can present the same model objects using different labels and icons, if needed. Alternatively, a single label provider can be shared between views in order to ensure that objects of the same type are presented in the same way everywhere.


Field Summary
static String ID
           
 
Fields inherited from class org.eparapher.rcp.views.AbstractCertificateView
delecteAction, doubleClickAction, exportAction, importAction, refreshAction, viewer
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
UserCertificateStoreView()
          The constructor.
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          This is a callback that will allow us to create the viewer and initialize it.
protected  void fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
           
protected  void fillLocalPullDown(org.eclipse.jface.action.IMenuManager manager)
           
protected  void fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
           
protected  org.eclipse.swt.graphics.Image getCertificateImage(Object obj)
           
protected  Object[] getKeystoreEntries()
          Passing the focus request to the viewer's control.
protected  void makeActions()
           
 
Methods inherited from class org.eparapher.rcp.views.AbstractCertificateView
getSelectedAlias, refreshView, setFocus
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

UserCertificateStoreView

public UserCertificateStoreView()
The constructor.

Method Detail

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize it.

Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Overrides:
createPartControl in class AbstractCertificateView

fillLocalPullDown

protected void fillLocalPullDown(org.eclipse.jface.action.IMenuManager manager)
Overrides:
fillLocalPullDown in class AbstractCertificateView

fillContextMenu

protected void fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
Overrides:
fillContextMenu in class AbstractCertificateView

fillLocalToolBar

protected void fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
Overrides:
fillLocalToolBar in class AbstractCertificateView

makeActions

protected void makeActions()
Overrides:
makeActions in class AbstractCertificateView

getCertificateImage

protected org.eclipse.swt.graphics.Image getCertificateImage(Object obj)
Specified by:
getCertificateImage in class AbstractCertificateView

getKeystoreEntries

protected Object[] getKeystoreEntries()
Description copied from class: AbstractCertificateView
Passing the focus request to the viewer's control.

Specified by:
getKeystoreEntries in class AbstractCertificateView


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.