package org.autojs.autojs.model.explorer;

import org.autojs.autojs.pio.PFile;

import java.io.File;

public class ExplorerSampleItem extends ExplorerFileItem {
    public ExplorerSampleItem(PFile file, ExplorerPage parent) {
        super(file, parent);
    }

    public ExplorerSampleItem(String path, ExplorerPage parent) {
        super(path, parent);
    }

    public ExplorerSampleItem(File file, ExplorerPage parent) {
        super(file, parent);
    }

    @Override
    public boolean canDelete() {
        return false;
    }

    @Override
    public boolean canRename() {
        return false;
    }

    @Override
    public boolean canBuildApk() {
        return getFile().canBuildApk();
    }

    @Override
    public boolean canSetAsWorkingDir() {
        return false;
    }

}
