File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
openstack-ui/src/main/java/org/openstack/ui/client/view/compute/volume Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414
1515public class AttachVolumeActivity extends AbstractActivity implements AttachVolumeView .Presenter {
1616
17- private static final AttachVolumeView VIEW = new AttachVolumeView ();
17+ public static final AttachVolumeView VIEW = new AttachVolumeView ();
1818
1919 private Volume volume ;
2020
Original file line number Diff line number Diff line change 1414
1515public class CreateVolumeActivity extends AbstractActivity {
1616
17- private static final CreateVolumeView VIEW = new CreateVolumeView ();
17+ public static final CreateVolumeView VIEW = new CreateVolumeView ();
1818
1919 //create volume from snapshot
2020 private Snapshot snapshot ;
@@ -29,7 +29,6 @@ public CreateVolumeActivity(Snapshot snapshot) {
2929
3030 @ Override
3131 public void start (final AcceptsOneWidget panel , EventBus eventBus ) {
32- //VIEW.setPresenter(this);
3332 OpenStackClient .COMPUTE .listSnapshots (new DefaultAsyncCallback <SnapshotList >() {
3433
3534 @ Override
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ public void onSuccess(Volume result) {
110110 @ Override
111111 public void onCreateVolume () {
112112 CreateVolumeActivity activity = new CreateVolumeActivity ();
113+ CreateVolumeActivity .VIEW .setPresenter (this );
113114 activity .start (UI .MODAL , null );
114115 }
115116
You can’t perform that action at this time.
0 commit comments