Class ViewUtils

java.lang.Object
com.e1c.langtool.ui.ViewUtils

public final class ViewUtils extends Object
This class contains useful static utility methods for working with views.
  • Method Details

    • reloadView

      public static void reloadView(String id)
      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:
      • IViewPart
      • ViewPart
    • getView

      public static org.eclipse.ui.IViewPart getView(String id)
      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