OrganizationManagerStage.java 文件源码

java
阅读 31 收藏 0 点赞 0 评论 0

项目:titanium 作者:
private void removeAction(Event e) {
    Alert conf = new Alert(AlertType.CONFIRMATION, "Do you really want to delete this organization ?\n"
            + "Every server and member association will be lost.");

    Optional<ButtonType> result = conf.showAndWait();

    if (result.isPresent() && result.get().equals(ButtonType.OK)) {
        try {
            wsp.removeOrganization(orgas.selectionModelProperty().get().getSelectedItem().getOrganization());
            forceOrganizationListRefresh();
            App.getCurrentInstance().refreshWSPTabs();
        } catch(Exception e1) {
            ErrorUtils.getAlertFromException(e1).show();
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号