org.eclipse.emf.ecp.view.internal.swt
Class ECPSWTViewImpl
java.lang.Object
org.eclipse.emf.ecp.view.internal.swt.ECPSWTViewImpl
- All Implemented Interfaces:
- ECPSWTView
public class ECPSWTViewImpl
- extends Object
- implements ECPSWTView
- Author:
- Jonas
ECPSWTViewImpl
public ECPSWTViewImpl(org.eclipse.swt.widgets.Composite composite,
ViewModelContext viewContext)
- Parameters:
composite
- the composite containing the viewviewContext
- the view context of the view
getSWTControl
public org.eclipse.swt.widgets.Control getSWTControl()
-
- Specified by:
getSWTControl
in interface ECPSWTView
- Returns:
- the root SWT Control of this view.
- See Also:
ECPSWTView.getSWTControl()
dispose
public void dispose()
- Disposes the view.
- Specified by:
dispose
in interface ECPSWTView
- See Also:
ECPSWTView.dispose()
getViewModelContext
public ViewModelContext getViewModelContext()
- Returns the
ViewModelContext
which was used to create the current view.
- Specified by:
getViewModelContext
in interface ECPSWTView
- Returns:
- the
ViewModelContext
- See Also:
ECPSWTView.getViewModelContext()
Copyright © 2014. All Rights Reserved.