org.fosstrak.llrp.commander.editors.graphical
Class LLRPDetailsPage
java.lang.Object
org.fosstrak.llrp.commander.editors.graphical.LLRPDetailsPage
- All Implemented Interfaces:
- org.eclipse.ui.forms.IDetailsPage, org.eclipse.ui.forms.IFormPart, org.eclipse.ui.forms.IPartSelectionListener
public class LLRPDetailsPage
- extends java.lang.Object
- implements org.eclipse.ui.forms.IDetailsPage
The LLRPDetailsPage shows details about the message/parameter currently selected in the
master part.
- Author:
- Ulrich Etter, ETHZ
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LLRPDetailsPage
public LLRPDetailsPage(java.lang.Object input,
org.eclipse.jface.viewers.TreeViewer treeViewer,
LLRPTreeMaintainer treeMaintainer,
LLRPMasterDetailsBlock block)
- Creates a new LLRPDetailsPage.
- Parameters:
input
- the object for which this page should show details (either a LLRPMessage or a LLRPParameter)treeViewer
- the tree viewer of the master parttreeMaintainer
- the TreeMaintainer associated with the input objectblock
- the LLRPMasterDetailsBlock
initialize
public void initialize(org.eclipse.ui.forms.IManagedForm mform)
- Specified by:
initialize
in interface org.eclipse.ui.forms.IFormPart
createContents
public void createContents(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createContents
in interface org.eclipse.ui.forms.IDetailsPage
selectionChanged
public void selectionChanged(org.eclipse.ui.forms.IFormPart part,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged
in interface org.eclipse.ui.forms.IPartSelectionListener
commit
public void commit(boolean onSave)
- Specified by:
commit
in interface org.eclipse.ui.forms.IFormPart
setFocus
public void setFocus()
- Specified by:
setFocus
in interface org.eclipse.ui.forms.IFormPart
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.forms.IFormPart
isDirty
public boolean isDirty()
- Specified by:
isDirty
in interface org.eclipse.ui.forms.IFormPart
isStale
public boolean isStale()
- Specified by:
isStale
in interface org.eclipse.ui.forms.IFormPart
refresh
public void refresh()
- Specified by:
refresh
in interface org.eclipse.ui.forms.IFormPart
setFormInput
public boolean setFormInput(java.lang.Object input)
- Specified by:
setFormInput
in interface org.eclipse.ui.forms.IFormPart
Copyright © 2009. All Rights Reserved.