org.hudsonci.maven.plugin.ui.gwt.buildinfo
Interface ModuleInfoPickerPresenter

All Known Implementing Classes:
ModuleInfoPickerPresenterImpl

public interface ModuleInfoPickerPresenter

Presenter for ModuleInfoPickerPresenter.ModuleInfoPickerView widgets.

Since:
2.1.0
Author:
Jamie Whitehouse

Nested Class Summary
static interface ModuleInfoPickerPresenter.ModuleInfoPickerView
          Display of module selector to show a summary of the modules for selection to view details.
 
Method Summary
 ModuleInfoPickerPresenter.ModuleInfoPickerView bind()
          Configures the view.
 void moduleSelected(MavenProjectDTO pickedModule)
          Indicates that the given module was selected.
 void refreshSelection()
           
 void selectModule(MavenProjectDTO module)
          Select the specified module.
 

Method Detail

bind

ModuleInfoPickerPresenter.ModuleInfoPickerView bind()
Configures the view. AKA Binds the presenter to the view.

Returns:
the configured widget

moduleSelected

void moduleSelected(@Nullable
                    MavenProjectDTO pickedModule)
Indicates that the given module was selected. Used to wire up the view selection events to the presenters logic.

Parameters:
pickedModule - the module that was selected or null if one was deselected.

selectModule

void selectModule(MavenProjectDTO module)
Select the specified module. Used to communicate selection change from other components. Callers should not invoke selectModule and moduleSelected, the latter will be called as needed when this method is invoked.


refreshSelection

void refreshSelection()


Copyright © 2004-2011 Hudson. All Rights Reserved.