org.eparapher.rcp.views
Class AbstractCertificateView

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
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
Direct Known Subclasses:
TrustedCertificateStoreView, UserCertificateStoreView

public abstract class AbstractCertificateView
extends org.eclipse.ui.part.ViewPart


Field Summary
protected  org.eclipse.jface.action.Action delecteAction
           
protected  org.eclipse.jface.action.Action doubleClickAction
           
protected  org.eclipse.jface.action.Action exportAction
           
protected  org.eclipse.jface.action.Action importAction
           
protected  org.eclipse.jface.action.Action refreshAction
           
protected  org.eclipse.jface.viewers.TableViewer viewer
           
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
AbstractCertificateView()
           
 
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 abstract  org.eclipse.swt.graphics.Image getCertificateImage(Object obj)
           
protected abstract  Object[] getKeystoreEntries()
          Passing the focus request to the viewer's control.
protected  String[] getSelectedAlias()
           
protected  void makeActions()
           
 void refreshView()
          Refresh the view.
 void setFocus()
          Passing the focus request to the viewer's control.
 
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

viewer

protected org.eclipse.jface.viewers.TableViewer viewer

importAction

protected org.eclipse.jface.action.Action importAction

exportAction

protected org.eclipse.jface.action.Action exportAction

delecteAction

protected org.eclipse.jface.action.Action delecteAction

refreshAction

protected org.eclipse.jface.action.Action refreshAction

doubleClickAction

protected org.eclipse.jface.action.Action doubleClickAction
Constructor Detail

AbstractCertificateView

public AbstractCertificateView()
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
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

fillLocalPullDown

protected void fillLocalPullDown(org.eclipse.jface.action.IMenuManager manager)

fillContextMenu

protected void fillContextMenu(org.eclipse.jface.action.IMenuManager manager)

fillLocalToolBar

protected void fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)

makeActions

protected void makeActions()

setFocus

public void setFocus()
Passing the focus request to the viewer's control.

Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart

refreshView

public void refreshView()
Refresh the view.


getKeystoreEntries

protected abstract Object[] getKeystoreEntries()
Passing the focus request to the viewer's control.


getCertificateImage

protected abstract org.eclipse.swt.graphics.Image getCertificateImage(Object obj)

getSelectedAlias

protected String[] getSelectedAlias()


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.