Package framework.beans.directory.writer

Examples of framework.beans.directory.writer.IntelWriterDetails


        return getDetails().used;
    }
   
    public void setType(int type) throws ClipsException{
        if (isInDirectory()){
            IntelWriterDetails newDetails = getDetailsCopy();
            newDetails.type = type;
            saveDetails(newDetails);
        }else{
            getDetails().type = type;
        }
View Full Code Here


        }
    }
   
    public void setUsed(int used) throws ClipsException{
        if (isInDirectory()){
            IntelWriterDetails newDetails = getDetailsCopy();
            newDetails.used = used;
            saveDetails(newDetails);
        }else{
            getDetails().used = used;
        }
View Full Code Here

                        while(line.charAt(line.length() - 1) == '.'){
                            line = line.substring(0, line.length()-1);
                            line = line.trim();
                        }
                        //line += ".";
                        IntelWriterDetails d = new IntelWriterDetails();
                        d.title = line;
                        d.type = currentType;
                        System.out.println("ITEM: " + line + " TYPE: "+ directory.getItemFromID(currentType) + " --> ADD");
                        writer.getItems().append(new DirectoryIntelliWriterItem(d));                                    
                    }
View Full Code Here

        directory = DirectoryLocator.getDirectory(DirectoryIWTypeAbstract.class, false);
    }

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

        //Сохранение новых итемов
        for (Iterator<String> it = newSet.iterator(); it.hasNext();) {
            String s = it.next();
            if (!oldSet.containsValue(s)) {
                System.out.println("Add DirectoryIntelliWriterItem : " + s);
                IntelWriterDetails details = new IntelWriterDetails();
                details.type = type.getID();
                details.title = s;
                DirectoryIntelliWriterItem newItem = new DirectoryIntelliWriterItem(details);
                itemsSelector.append(newItem);
            }
View Full Code Here

TOP

Related Classes of framework.beans.directory.writer.IntelWriterDetails

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.