|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
eu.esdihumboldt.hale.ui.views.properties.PropertiesViewPart
eu.esdihumboldt.hale.ui.views.data.AbstractDataView
public abstract class AbstractDataView
Table view that shows information about certain features
Nested Class Summary | |
---|---|
class |
AbstractDataView.ToggleProvideSelectionAction
Action for toggling if an instance selection is provided by the view. |
Field Summary |
---|
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
AbstractDataView(InstanceSelector instanceSelector,
SchemaSpaceID schemaSpace,
String controllerPreferenceKey)
Creates a table view |
Method Summary | |
---|---|
void |
createViewControl(org.eclipse.swt.widgets.Composite parent)
Since createPartControl does an important job this is used for subclasses. |
void |
dispose()
|
InstanceSelector |
getDefaultInstanceSelector()
Get the default instance selector. |
InstanceSelector |
getInstanceSelector()
|
protected void |
onSelectionChange(Iterable<Instance> selection)
Called when the selection has changed |
protected void |
provideCustomControls(org.eclipse.swt.widgets.Composite parent)
Add custom controls. |
void |
selectionChanged(TypeDefinition type,
Iterable<Instance> selection)
Called when the selection changed |
void |
setFocus()
|
void |
setInstanceSelector(InstanceSelector instanceSelector)
Set the current instance selector. |
protected void |
updateSelectionProvider()
Update the selection provider when either the instance viewer or instance selector have changed. |
Methods inherited from class eu.esdihumboldt.hale.ui.views.properties.PropertiesViewPart |
---|
createPartControl, getAdapter, getContributorId, getViewContext |
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, 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.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Constructor Detail |
---|
public AbstractDataView(InstanceSelector instanceSelector, SchemaSpaceID schemaSpace, String controllerPreferenceKey)
instanceSelector
- the feature selectorschemaSpace
- the represented schema spacecontrollerPreferenceKey
- the preference key for storing the
instance view controller configurationMethod Detail |
---|
public InstanceSelector getDefaultInstanceSelector()
public void createViewControl(org.eclipse.swt.widgets.Composite parent)
PropertiesViewPart
createViewControl
in class PropertiesViewPart
parent
- the parent controlPropertiesViewPart.createViewControl(org.eclipse.swt.widgets.Composite)
protected void updateSelectionProvider()
protected void provideCustomControls(org.eclipse.swt.widgets.Composite parent)
parent
- the parent compositepublic void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
WorkbenchPart.setFocus()
public InstanceSelector getInstanceSelector()
public void setInstanceSelector(InstanceSelector instanceSelector)
instanceSelector
- the instance selector to setpublic void selectionChanged(TypeDefinition type, Iterable<Instance> selection)
InstanceSelectionListener
selectionChanged
in interface InstanceSelectionListener
type
- the definitionselection
- the selected featuresprotected void onSelectionChange(Iterable<Instance> selection)
selection
- the current selectionpublic void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
WorkbenchPart.dispose()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |