org.fosstrak.llrp.commander.editors.graphical
Class LLRPMasterDetailsBlock

java.lang.Object
  extended by org.eclipse.ui.forms.MasterDetailsBlock
      extended by org.fosstrak.llrp.commander.editors.graphical.LLRPMasterDetailsBlock

public class LLRPMasterDetailsBlock
extends org.eclipse.ui.forms.MasterDetailsBlock

The LLRPMasterDetailsBlock has two parts: a master part that shows the message tree and a details part that shows details about the currently selected tree element.

Author:
Ulrich Etter, ETHZ

Field Summary
 
Fields inherited from class org.eclipse.ui.forms.MasterDetailsBlock
detailsPart, sashForm
 
Constructor Summary
LLRPMasterDetailsBlock(GraphicalEditorPage page, LLRPTreeMaintainer treeMaintainer)
           
 
Method Summary
protected  void createMasterPart(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent)
           
protected  void createToolBarActions(org.eclipse.ui.forms.IManagedForm managedForm)
           
 void refresh(java.lang.Object elementToSelect)
          Updates the error message field, refreshes the TreeViewer and selects the given element in the TreeViewer.
protected  void registerPages(org.eclipse.ui.forms.DetailsPart detailsPart)
           
 
Methods inherited from class org.eclipse.ui.forms.MasterDetailsBlock
createContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLRPMasterDetailsBlock

public LLRPMasterDetailsBlock(GraphicalEditorPage page,
                              LLRPTreeMaintainer treeMaintainer)
Method Detail

refresh

public void refresh(java.lang.Object elementToSelect)
Updates the error message field, refreshes the TreeViewer and selects the given element in the TreeViewer.

Parameters:
elementToSelect - the element to select in the TreeViewer

createMasterPart

protected void createMasterPart(org.eclipse.ui.forms.IManagedForm managedForm,
                                org.eclipse.swt.widgets.Composite parent)
Specified by:
createMasterPart in class org.eclipse.ui.forms.MasterDetailsBlock

createToolBarActions

protected void createToolBarActions(org.eclipse.ui.forms.IManagedForm managedForm)
Specified by:
createToolBarActions in class org.eclipse.ui.forms.MasterDetailsBlock

registerPages

protected void registerPages(org.eclipse.ui.forms.DetailsPart detailsPart)
Specified by:
registerPages in class org.eclipse.ui.forms.MasterDetailsBlock


Copyright © 2009. All Rights Reserved.