N - the native widgetpublic interface WCompositePart<N> extends WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MCompositePart>
WWidget.WidgetStateWDragTargetWidget.DropData, WDragTargetWidget.DropType| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIXED_LAYOUT_GRAB_HORIZONTAL
PersistatedState Key to specify that the control should grab the
remaining horizontal space
Value type is boolean.
|
static java.lang.String |
FIXED_LAYOUT_GRAB_VERTICAL
PersistatedState Key to specify that the control should grab the
remaining vertical space
Value type is boolean.
|
static java.lang.String |
FIXED_LAYOUT_HEIGHT
PersistatedState Key to specify the fixed layout height - only has an
effect when used with
TAG_FIXED_LAYOUT
Value type is int. |
static java.lang.String |
FIXED_LAYOUT_WIDTH
PersistatedState Key to specify the fixed layout width - only has an
effect when used with
TAG_FIXED_LAYOUT. |
static java.lang.String |
TAG_FIXED_LAYOUT
PersistatedState Key to fix the layout.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(@NonNull WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement> widget)
Append a widget
|
void |
addItems(int index,
@NonNull java.util.List<WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement>> list)
Insert items at the given index
|
void |
addItems(@NonNull java.util.List<WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement>> list)
Append a list of widgets
|
int |
getItemCount() |
void |
removeItem(@NonNull WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement> widget)
Remove item
|
void |
updateLayout()
Update the layout
|
getStaticLayoutNode, getWeightactivate, addStyleClasses, addStyleClasses, deactivate, getDomElement, getWidget, getWidgetState, isActive, registerActivationCallback, removeStyleClasses, removeStyleClasses, setDomElement, setPropertyChangeHandler, setStyleId, setWidgetStategetDropDroppedCallback, setDragDroppedCallbackstatic final java.lang.String TAG_FIXED_LAYOUT
Value type is boolean.
static final java.lang.String FIXED_LAYOUT_WIDTH
TAG_FIXED_LAYOUT.
Value type is int.
static final java.lang.String FIXED_LAYOUT_HEIGHT
TAG_FIXED_LAYOUT
Value type is int.
static final java.lang.String FIXED_LAYOUT_GRAB_HORIZONTAL
Value type is boolean.
static final java.lang.String FIXED_LAYOUT_GRAB_VERTICAL
Value type is boolean.
void addItem(@NonNull WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement> widget)
widget - the widgetint getItemCount()
void addItems(@NonNull java.util.List<WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement>> list)
list - the list of widgetsvoid addItems(int index,
@NonNull java.util.List<WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement>> list)
index - the indexlist - the list of itemsvoid removeItem(@NonNull WLayoutedWidget<org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement> widget)
widget - the widgetvoid updateLayout()