@Override
 public void onShowMetadata() {
   view.showBusyIndicator(CommonConstants.INSTANCE.Loading());
   metadataService
       .call(getMetadataSuccessCallback(), new HasBusyIndicatorDefaultErrorCallback(view))
       .getMetadata(path);
 }
  @OnStartup
  public void init(final Path path) {
    this.path = checkNotNull("path", path);

    makeMenuBar();

    view.showBusyIndicator(CommonConstants.INSTANCE.Loading());

    projectService
        .call(getModelSuccessCallback(), new HasBusyIndicatorDefaultErrorCallback(view))
        .load(path);
  }
 @Inject
 public ProjectImportsScreenPresenter(
     @New ProjectImportsScreenView view,
     @New FileMenuBuilder menuBuilder,
     @New ImportsWidgetPresenter importsWidget,
     Caller<ProjectService> projectService,
     Caller<MetadataService> metadataService,
     Event<NotificationEvent> notification) {
   this.view = view;
   this.menuBuilder = menuBuilder;
   this.importsWidget = importsWidget;
   this.projectService = projectService;
   this.metadataService = metadataService;
   this.notification = notification;
   view.setPresenter(this);
 }
 @WorkbenchPartView
 public Widget asWidget() {
   return view.asWidget();
 }