public class ECPSWTViewImpl extends Object implements ECPSWTView
Constructor and Description |
---|
ECPSWTViewImpl(org.eclipse.swt.widgets.Composite composite,
ViewModelContext viewContext) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the view.
|
org.eclipse.swt.widgets.Control |
getSWTControl() |
ViewModelContext |
getViewModelContext()
Returns the
ViewModelContext which was used to create the current view. |
public ECPSWTViewImpl(org.eclipse.swt.widgets.Composite composite, ViewModelContext viewContext)
composite
- the composite containing the viewviewContext
- the view context of the viewpublic org.eclipse.swt.widgets.Control getSWTControl()
getSWTControl
in interface ECPSWTView
ECPSWTView.getSWTControl()
public void dispose()
dispose
in interface ECPSWTView
ECPSWTView.dispose()
public ViewModelContext getViewModelContext()
ViewModelContext
which was used to create the current view.getViewModelContext
in interface ECPSWTView
ViewModelContext
ECPSWTView.getViewModelContext()
Copyright © 2019. All rights reserved.