Package com.heroku.api

Examples of com.heroku.api.Release


    enum Columns {Name, Description, User, Commit, CreatedAt, Addons, Env, PsTable}

    @Override
    public Object getValueAt(int row, int column) {
        final Release release = getRelease(row);
        final Columns columns = columnFor(column);
        return getReleaseDetail(release, columns);
    }
View Full Code Here


    @Override
    protected List<AnAction> createActions() {
        return Arrays.asList(
                new AnAction("Release Info", "", icon("/compiler/information.png")) {
                    public void actionPerformed(AnActionEvent anActionEvent) {
                        final Release release = tableModel.getRelease(selectedRow.get());
                        if (release==null) return;
                        final Release releaseInfo = herokuProjectService.getReleaseInfo(release);
                        String html=tableModel.renderRelease(releaseInfo);
                        Messages.showMessageDialog(html, "Release Info", Messages.getInformationIcon());
                    }
                },
                new AnAction("Rollback", "", icon("/actions/rollback.png")) {
                    public void actionPerformed(AnActionEvent anActionEvent) {
                        final Release release = tableModel.getRelease(selectedRow.get());
                        if (release==null) return;
                        if (Messages.showYesNoDialog("Rollback to the Release: "+release.getName(),"Rollback to Release",Messages.getQuestionIcon())!=Messages.YES) return;
                        herokuProjectService.rollbackTo(release);
                        HerokuReleasesWindow.this.doUpdate();
                    }
                },
                new AnAction("Update", "", icon("/actions/sync.png")) {
View Full Code Here

TOP

Related Classes of com.heroku.api.Release

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.