|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.view.model.preview.common.Preview
public class Preview
This class renders the contents of a VView in a Composite.
| Constructor Summary | |
|---|---|
Preview(org.eclipse.swt.widgets.Composite parent)
The constructor. |
|
| Method Summary | |
|---|---|
void |
cleanSampleData()
|
void |
clear()
Removes the previous rendering result from the parent Composite. |
boolean |
isUpdateAutomatic()
|
void |
registerForViewModelChanges()
Adds adapter to listen to changes in the currently cached view model. |
void |
removeAdapter()
|
void |
removeView()
Removes the cached view. |
void |
render(VView view,
org.eclipse.emf.ecore.EObject sampleData)
Render the contents of the VView. |
void |
setUpdateAutomatic(boolean canAutomaticallyRender)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Preview(org.eclipse.swt.widgets.Composite parent)
parent - - the Composite in which to render| Method Detail |
|---|
public void render(VView view,
org.eclipse.emf.ecore.EObject sampleData)
VView.
view - the VViewsampleData - the sample data to be displayed in the viewpublic void registerForViewModelChanges()
public void removeAdapter()
public void clear()
public void removeView()
public boolean isUpdateAutomatic()
public void setUpdateAutomatic(boolean canAutomaticallyRender)
canAutomaticallyRender - the canAutomaticallyRender to setpublic void cleanSampleData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||