80 lines
2.0 KiB
Java
80 lines
2.0 KiB
Java
/*
|
|
* Nextcloud Android client application
|
|
*
|
|
* @author Andy Scherzinger
|
|
* Copyright (C) 2018 Andy Scherzinger
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
package com.owncloud.android.ui.fragment;
|
|
|
|
import com.owncloud.android.lib.common.Creator;
|
|
|
|
/**
|
|
* Actions interface to be implemented by any class that makes use of
|
|
* {@link com.owncloud.android.ui.fragment.OCFileListBottomSheetDialog}.
|
|
*/
|
|
public interface OCFileListBottomSheetActions {
|
|
/**
|
|
* creates a folder within the actual folder.
|
|
*/
|
|
void createFolder();
|
|
|
|
/**
|
|
* offers a file upload with the Android OS file picker to the current folder.
|
|
*/
|
|
void uploadFromApp();
|
|
|
|
/**
|
|
* offers a file upload with the app file picker to the current folder.
|
|
*/
|
|
void uploadFiles();
|
|
|
|
/**
|
|
* opens template selection for documents
|
|
*/
|
|
void newDocument();
|
|
|
|
/**
|
|
* opens template selection for spreadsheets
|
|
*/
|
|
void newSpreadsheet();
|
|
|
|
/**
|
|
* opens template selection for presentations
|
|
*/
|
|
void newPresentation();
|
|
|
|
/**
|
|
* offers direct camera upload to the current folder.
|
|
*/
|
|
void directCameraUpload();
|
|
|
|
/**
|
|
* offers scanning document upload to the current folder.
|
|
*/
|
|
void scanDocUpload();
|
|
|
|
/**
|
|
* open template selection for creator @link Creator
|
|
*/
|
|
void showTemplate(Creator creator, String headline);
|
|
|
|
/**
|
|
* open editor for rich workspace
|
|
*/
|
|
void createRichWorkspace();
|
|
}
|