Examples of DirectionTypeDetails


Examples of beans.directory.direction.entity.DirectionTypeDetails

private void btAddActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddActionPerformed
    try {
        DlgSetDirectionChoice dlg = new DlgSetDirectionChoice(MainWindow.mainWindow);
        dlg.setVisible(true);
        if (dlg.getDlgResult() == ModalDialog.DLG_OK) {
            DirectionTypeDetails d = new DirectionTypeDetails();   
            d.id = 0;   
            d.title = "Введите название";
            d.choice = dlg.getChoice();
            directory.getItems().append(new DirectoryDirectionTypeItem(d));
            setTable();
View Full Code Here

Examples of beans.directory.direction.entity.DirectionTypeDetails

        return "Типы направлений";
    }

    @Override
    protected DirectoryDirectionTypeItem createFromLoadedDetails(DirectoryItemDetails details) {
        DirectionTypeDetails d = (DirectionTypeDetails) details;
        return new DirectoryDirectionTypeItem(d);
    }
View Full Code Here

Examples of beans.directory.direction.entity.DirectionTypeDetails

        return new DirectoryDirectionTypeItem(d);
    }

    @Override
    protected DirectoryDirectionTypeItem createNullItem() {
        DirectionTypeDetails d = new DirectionTypeDetails();
        d.title = "Тип не определён";
        d.choice = DirectoryDirectionTypeBean.OBLIGATE_SERVICE;
        return new DirectoryDirectionTypeItem(d);
    }
View Full Code Here

Examples of beans.directory.direction.entity.DirectionTypeDetails

        super(details);
    }
   
    public void setChoice(int choice) throws ClipsException    {
        if(isInDirectory()) {
            DirectionTypeDetails newDetails = getDetailsCopy();
            newDetails.choice = choice;
            saveDetails(newDetails);
        } else {
            getDetails().choice = choice;
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.