|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egf.common.ui.helper.ViewerHelper
public class ViewerHelper
| Constructor Summary | |
|---|---|
ViewerHelper()
|
|
| Method Summary | |
|---|---|
static void |
refresh(StructuredViewer viewer_p)
Refresh in an efficient way the specified viewer completely with information freshly obtained from this viewer's model. |
static void |
refresh(StructuredViewer viewer_p,
boolean updateLabels_p)
Refresh in an efficient way the specified viewer completely with information freshly obtained from this viewer's model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewerHelper()
| Method Detail |
|---|
public static void refresh(StructuredViewer viewer_p)
viewer_p -
public static void refresh(StructuredViewer viewer_p,
boolean updateLabels_p)
updateLabels_p is true then labels for otherwise unaffected elements are updated as well.
Calling refresh(viewer, true) has the same effect as refresh(viewer).
Note that the implementation may still obtain labels for existing elements even if updateLabels is false. The intent is simply to allow
optimization where possible.
updateLabels - true to update labels for existing elements, false to only update labels as needed, assuming that labels
for existing elements are unchanged.viewer_p - updateLabels_p -
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.