org.drools.eclipse.debug
Class DroolsDebugEventHandlerView

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.eclipse.ui.part.PageBookView
                  extended by org.eclipse.debug.ui.AbstractDebugView
                      extended by org.drools.eclipse.debug.DroolsDebugEventHandlerView
All Implemented Interfaces:
EventListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.debug.ui.contexts.IDebugContextListener, org.eclipse.debug.ui.IDebugView, org.eclipse.jface.viewers.IDoubleClickListener, org.eclipse.ui.IPartListener, org.eclipse.ui.IPersistable, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation
Direct Known Subclasses:
AgendaView, ApplicationDataView, ProcessInstancesView, WorkingMemoryView

public abstract class DroolsDebugEventHandlerView
extends org.eclipse.debug.ui.AbstractDebugView
implements org.eclipse.debug.ui.contexts.IDebugContextListener, org.eclipse.ui.ISelectionListener

A generic Drools debug view.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ui.part.PageBookView
org.eclipse.ui.part.PageBookView.PageRec, org.eclipse.ui.part.PageBookView.SelectionProvider
 
Field Summary
 
Fields inherited from interface org.eclipse.debug.ui.IDebugView
COPY_ACTION, CUT_ACTION, DOUBLE_CLICK_ACTION, FIND_ACTION, PASTE_ACTION, REMOVE_ACTION, SELECT_ALL_ACTION
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
DroolsDebugEventHandlerView()
           
 
Method Summary
protected  void becomesHidden()
           
protected  void becomesVisible()
           
protected  void configureToolBar(org.eclipse.jface.action.IToolBarManager tbm)
           
 void contextActivated(org.eclipse.jface.viewers.ISelection selection, org.eclipse.ui.IWorkbenchPart part)
           
protected  void createActions()
           
protected abstract  org.eclipse.jface.viewers.IContentProvider createContentProvider()
           
protected  org.eclipse.jface.viewers.Viewer createViewer(org.eclipse.swt.widgets.Composite parent)
           
 void debugContextChanged(org.eclipse.debug.ui.contexts.DebugContextEvent event)
           
 void dispose()
           
protected  void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
           
protected  int getAutoExpandLevel()
           
protected  String getHelpContextId()
           
protected  org.eclipse.debug.ui.IDebugModelPresentation getModelPresentation()
           
protected  void initActionState(org.eclipse.jface.action.IAction action)
           
 boolean isShowLogicalStructure()
           
 void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
 void setShowLogicalStructure(boolean showLogical)
           
protected  void setViewerInput(Object context)
           
 
Methods inherited from class org.eclipse.debug.ui.AbstractDebugView
add, addContextMenuManager, asyncExec, createContextMenu, createDefaultPage, createPartControl, deregisterPartListener, doCreatePage, doDestroyPage, doubleClick, findView, generatePreferenceKey, getAction, getAdapter, getBootstrapPart, getContextMenuManager, getContextMenuManagers, getControl, getDefaultControl, getMemento, getMessagePage, getPreferenceStore, getPresentation, getPresentationAttributes, getStructuredViewer, getTextViewer, getViewer, handleKeyPressed, init, initializeToolBar, isAvailable, isImportant, isVisible, registerPartListener, remove, saveAllCheckedActionStates, saveCheckedActionState, setAction, setMemento, setViewer, showMessage, showViewer, syncExec, updateObjects
 
Methods inherited from class org.eclipse.ui.part.PageBookView
doesPageExist, getCurrentContributingPart, getCurrentPage, getDefaultPage, getPageBook, getPageRec, getPageRec, getPageSite, getSelectionProvider, getViewAdapter, init, initPage, partActivated, partBroughtToTop, partClosed, partDeactivated, partHidden, partOpened, partVisible, setFocus, showPageRec
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, 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.IViewPart
getViewSite, init, saveState
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
 

Constructor Detail

DroolsDebugEventHandlerView

public DroolsDebugEventHandlerView()
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose in class org.eclipse.debug.ui.AbstractDebugView

isShowLogicalStructure

public boolean isShowLogicalStructure()

setShowLogicalStructure

public void setShowLogicalStructure(boolean showLogical)

setViewerInput

protected void setViewerInput(Object context)

createViewer

protected org.eclipse.jface.viewers.Viewer createViewer(org.eclipse.swt.widgets.Composite parent)
Specified by:
createViewer in class org.eclipse.debug.ui.AbstractDebugView

getAutoExpandLevel

protected int getAutoExpandLevel()

createContentProvider

protected abstract org.eclipse.jface.viewers.IContentProvider createContentProvider()

getHelpContextId

protected String getHelpContextId()
Specified by:
getHelpContextId in class org.eclipse.debug.ui.AbstractDebugView

becomesHidden

protected void becomesHidden()
Overrides:
becomesHidden in class org.eclipse.debug.ui.AbstractDebugView

becomesVisible

protected void becomesVisible()
Overrides:
becomesVisible in class org.eclipse.debug.ui.AbstractDebugView

createActions

protected void createActions()
Specified by:
createActions in class org.eclipse.debug.ui.AbstractDebugView

configureToolBar

protected void configureToolBar(org.eclipse.jface.action.IToolBarManager tbm)
Specified by:
configureToolBar in class org.eclipse.debug.ui.AbstractDebugView

fillContextMenu

protected void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Specified by:
fillContextMenu in class org.eclipse.debug.ui.AbstractDebugView

contextActivated

public void contextActivated(org.eclipse.jface.viewers.ISelection selection,
                             org.eclipse.ui.IWorkbenchPart part)

debugContextChanged

public void debugContextChanged(org.eclipse.debug.ui.contexts.DebugContextEvent event)
Specified by:
debugContextChanged in interface org.eclipse.debug.ui.contexts.IDebugContextListener

selectionChanged

public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.ISelectionListener

initActionState

protected void initActionState(org.eclipse.jface.action.IAction action)
Overrides:
initActionState in class org.eclipse.debug.ui.AbstractDebugView

getModelPresentation

protected org.eclipse.debug.ui.IDebugModelPresentation getModelPresentation()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.