Interface CSSElementContext
- All Known Implementing Classes:
CSSElementContextImpl
public interface CSSElementContext
Context of the
Element
which wrap the native widget (SWT widget,
Swing Component...).
This context can be used to store any data.-
Method Summary
Modifier and TypeMethodDescriptionboolean
elementMustBeRefreshed
(IElementProvider elementProvider) Return true if element provider has changed and false otherwise.Get data withkey
.Return theElement
which wrap the native widget.void
Set datavalue
into the context withkey
.void
setElement
(Element newElement) Set theElement
which wrap the native widget.void
setElementProvider
(IElementProvider elementProvider) SetIElementProvider
used to get the Element wich wrap the native widget.
-
Method Details
-
getElement
Element getElement()Return theElement
which wrap the native widget. -
setElement
Set theElement
which wrap the native widget. -
setData
Set datavalue
into the context withkey
. -
getData
Get data withkey
. -
elementMustBeRefreshed
Return true if element provider has changed and false otherwise. -
setElementProvider
SetIElementProvider
used to get the Element wich wrap the native widget.
-