Class ECPropertiesComposite
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
ro.sync.ecss.extensions.commons.table.properties.ECPropertiesComposite
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
,PropertySelectionController
@API(type=INTERNAL,
src=PUBLIC)
public class ECPropertiesComposite
extends org.eclipse.swt.widgets.Composite
implements PropertySelectionController
Composite corresponding to a tab information. It contains all the properties
that will be modified, for a type of elements.
-
Field Summary
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
-
Constructor Summary
ConstructorsConstructorDescriptionECPropertiesComposite
(org.eclipse.swt.widgets.TabFolder parent, List<TableProperty> properties, String contextInfo, AuthorResourceBundle authorResourceBundle, ColorThemeUtilities colorThemeUtilities) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionObtain a list with all modified properties for the current panel.void
selectionChanged
(TableProperty property, String newValue) Method which controls the change of the selected key.Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isAutoScalable, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
-
Constructor Details
-
ECPropertiesComposite
public ECPropertiesComposite(org.eclipse.swt.widgets.TabFolder parent, List<TableProperty> properties, String contextInfo, AuthorResourceBundle authorResourceBundle, ColorThemeUtilities colorThemeUtilities) Constructor.- Parameters:
parent
- The tab folder.properties
- The list with properties that will be presented inside the current composite.contextInfo
- The context information. It contains information about what is edited inside the current composite.authorResourceBundle
- The author resource bundle.colorThemeUtilities
- The color theme utilities.
-
-
Method Details
-
getModifiedProperties
Obtain a list with all modified properties for the current panel.- Returns:
- a
List
with all modified properties from the current panel.
-
selectionChanged
public void selectionChanged(TableProperty property, String newValue) throws AuthorOperationException Description copied from interface:PropertySelectionController
Method which controls the change of the selected key.- Specified by:
selectionChanged
in interfacePropertySelectionController
- Parameters:
property
- The modified property.newValue
- The new selected value of the given property- Throws:
AuthorOperationException
- When the handling of selection changed cannot be performed.- See Also:
-