Examples of ITextArea


Examples of org.berlin.patterns.swing.app.gui.Components.ITextArea

                } // End of try - catch BLOCK READ PROP FILE //
            } // End of the if - file exists //       
            final GlobalConfiguration globalConf = new GlobalConfiguration().load(GlobalConfiguration.PATH);
            globalConf.loadFromDynamicScript(propsLocalFile);                       
            // End of load conf //           
            final ITextArea textArea = new OutputTextArea(ta);
            textArea.defaultSettings();
            ta.setEditable(false);
            ((BasicWindow) this.getBasicWindow()).setOutputTextArea(textArea);
            textArea.setText("System Loaded - " + Version.num + (new Date()) + "\nWith action.command set to help, hit the execute button for help.\nAlso visit browser at http://localhost:7181\nParseLogs - the premier way to scan for errors and data in log files\n" + globalConf.getTopMessage() + "\n");     
            return this;
        } // End of the method //
View Full Code Here

Examples of org.berlin.patterns.swing.app.gui.Components.ITextArea

         * Method withInputCommandArea.
         * @return WindowBuilder
         */
        public WindowBuilder withInputCommandArea() {           
            final JTextArea ta = new JTextArea("");
            final ITextArea textArea = new CommandInputArea(ta);                                  
            textArea.defaultSettings();
           
            final Font font = new Font("Courier New", Font.BOLD, 14);
            ta.setFont(font);                                              
            ((BasicWindow) this.getBasicWindow()).setInputTextArea(textArea);
           
            // Add initial input //
            final StringBuffer buf = new StringBuffer();
            buf.append("###############\n");
            buf.append("# Log Script DSL/Doman Language Input (property conf format)\n");
            buf.append("# Modify action.comand=XXXXX and then click execute to invoke a command\n");
            buf.append("#        action.comand=help  for standard commands\n");
            buf.append("###############\n\n");       
            buf.append("#unzipArchiveFiles=false\n\n");           
            buf.append("user.searchTerm=Exception\n");
            // Slightly editable
            buf.append("action.command=help\n");
            // Here is an example of some other command :
            //buf.append("action.command=errorTimeoutDownload\n");                      
            textArea.setText(buf.toString());                                                                              
            return this;
        }          
View Full Code Here

Examples of org.eclipse.birt.report.engine.layout.area.ITextArea

     *
     * @see org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter#startAutoText(org.eclipse.birt.report.engine.content.IAutoTextContent)
     */
    @Override
    public void startAutoText(IAutoTextContent autoText) {
        ITextArea totalPage = (ITextArea) autoText.getExtension(IContent.LAYOUT_EXTENSION);
        renderer.setTotalPage(totalPage);
    }
View Full Code Here

Examples of org.eclipse.birt.report.engine.layout.area.ITextArea

            for (int i = 0; i < areas.size(); i++) {
                IArea ar = unWrap(areas.get(i));

                if (ar instanceof ITextArea) {
                    String contentType = Data.STRING;
                    ITextArea tar = (ITextArea) ar;
                    if (ar.getContent().getContentType() == IContent.DATA_CONTENT) {
                        IDataContent dataContent = (IDataContent) ar.getContent();
                        contentType = ExcelUtil.getType(dataContent.getValue());
                    }
                    TextAreaWrapper textWrapper = new TextAreaWrapper((ITextArea) tar, contentType);
                    textWrapper.text = ((ITextContent) hostArea.getContent()).getText();
                    /**
                     * @Todo da migliorare
                     */
                    Object content = tar.getContent();
                    if (content instanceof DataContent) {
                        DataContent dataContent = (DataContent) tar.getContent();
                        Object generateBy = dataContent.getGenerateBy();
                        if (generateBy instanceof DataItemDesign) {
                            DataItemDesign did = (DataItemDesign) generateBy;
                            did.getName();
                            if (did.getName() != null && did.getName().equals("levelValue")) {
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.