Package com.e1c.langtool.ui
Class ViewUtils
java.lang.Object
com.e1c.langtool.ui.ViewUtils
This class contains useful static utility methods for working with views.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.ui.IViewPartReturns a view part by the given id.static voidreloadView(String id) Reloads the view part with associated with the given id.
-
Method Details
-
reloadView
Reloads the view part with associated with the given id.This method does nothing if view was not initialized yet.
- Parameters:
id- the id of view part to reload- See Also:
-
IViewPartViewPart
-
getView
Returns a view part by the given id.- Parameters:
id- the id that associated with a view part- Returns:
- a view part that associated with the given id
-