App

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

OpenImagePopUpFragment.java
Go to the documentation of this file.
1 package mhr.app.fragments.toolbox;
2
3 import mhr.appandroid.adapters.AndroidImageFile;
4
8 public class OpenImagePopUpFragment extends ImagesExplorerPopUpFragment {
9
10 public OpenImagePopUpFragment() {
11 caption = "Open image";
12 fnameEnabled = false;
13 actionCaption = "Open";
14 }
15
16 @Override
17 protected void onActionBtn() {
18 if (selected != null) {
19 activity.getAppCore().openImage(AndroidImageFile.openImageFile(selected, activity));
20 activity.getLayersPane().reseImagePresentation();
21 activity.dismissDialog();
22 }
23 }
24
25 }