|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractTabbedPropertySection
org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractListPropertySection
public abstract class AbstractListPropertySection
An abstract implementation of a section with a list. It represents a list field. Creation 9 aug. 2006
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
|---|
STANDARD_LABEL_WIDTH |
| Constructor Summary | |
|---|---|
AbstractListPropertySection()
|
|
| Method Summary | |
|---|---|
protected void |
addElement()
This method may be overriden if client want to implement their own add treatment |
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
|
protected void |
createWidgets(org.eclipse.swt.widgets.Composite composite)
Section widgets should be created inside this method. |
protected abstract org.eclipse.jface.viewers.IBaseLabelProvider |
getLabelProvider()
Returns a label provider to be set for this table. |
protected abstract java.lang.Object |
getListValues()
Returns the feature which is multiple |
TableViewerComposite |
getTable()
|
protected void |
hookListeners()
Widgets created at AbstractTabbedPropertySection.createWidgets(Composite) may listen platform
events. |
void |
refresh()
|
protected void |
setSectionData(org.eclipse.swt.widgets.Composite composite)
This method should be implemented to set layout data to the widgets created at AbstractTabbedPropertySection.createWidgets(Composite). |
protected void |
setTable(TableViewerComposite table)
Set the table |
void |
updateSelection(java.lang.Object data)
This method may be overriden if client desire to listen the table selection |
| Methods inherited from class org.eclipse.emf.ecoretools.tabbedproperties.sections.AbstractTabbedPropertySection |
|---|
aboutToBeHidden, aboutToBeShown, addListener, clearDecorators, createCommand, getActivePage, getEditingDomain, getEObject, getEObjectList, getFeature, getLabelText, getMainComposite, getMessageManager, getModelListener, getSectionComposite, getStandardLabelWidth, getStatusLineManager, handleModelChanged, isReadOnly, makeContributions, removeListener, setDecorator, setErrorDecorator, setErrorMessage, setInfoDecorator, setInput, setMessage, setWarningDecorator |
| Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
|---|
dispose, getMinimumHeight, getPart, getSelection, getWidgetFactory, shouldUseExtraSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractListPropertySection()
| Method Detail |
|---|
public void createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
createControls in interface org.eclipse.ui.views.properties.tabbed.ISectioncreateControls in class AbstractTabbedPropertySectionAbstractTabbedPropertySection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)protected void createWidgets(org.eclipse.swt.widgets.Composite composite)
AbstractTabbedPropertySectionAbstractTabbedPropertySection.setSectionData(Composite) If widgets
has listeners implement the AbstractTabbedPropertySection.hookListeners().
createWidgets in class AbstractTabbedPropertySectioncomposite - the parent CompositeAbstractTabbedPropertySection.createWidgets(org.eclipse.swt.widgets.Composite)protected void setSectionData(org.eclipse.swt.widgets.Composite composite)
AbstractTabbedPropertySectionAbstractTabbedPropertySection.createWidgets(Composite). This improves visibility
setSectionData in class AbstractTabbedPropertySectioncomposite - Sometimes widgets will be set formDatas and position will
depend on parent composite.AbstractTabbedPropertySection.setSectionData(org.eclipse.swt.widgets.Composite)protected void hookListeners()
AbstractTabbedPropertySectionAbstractTabbedPropertySection.createWidgets(Composite) may listen platform
events. Set them here in order to improve visibility
hookListeners in class AbstractTabbedPropertySectionAbstractTabbedPropertySection.hookListeners()protected void addElement()
public void refresh()
refresh in interface org.eclipse.ui.views.properties.tabbed.ISectionrefresh in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySectionAbstractPropertySection.refresh()public TableViewerComposite getTable()
protected void setTable(TableViewerComposite table)
table - public void updateSelection(java.lang.Object data)
data - the selected data from the listened table.protected abstract java.lang.Object getListValues()
protected abstract org.eclipse.jface.viewers.IBaseLabelProvider getLabelProvider()
|
Copyright 2007 Anyware Technologies. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||