Package org.python.pydev.django_templates.completions

Examples of org.python.pydev.django_templates.completions.DjContentAssistProcessor


    /* (non-Javadoc)
     * @see com.aptana.editor.common.ISourceViewerConfiguration#getContentAssistProcessor(com.aptana.editor.common.AbstractThemeableEditor, java.lang.String)
     */
    public IContentAssistProcessor getContentAssistProcessor(AbstractThemeableEditor editor, String contentType) {
        return new DjContentAssistProcessor(contentType, null);
    }
View Full Code Here


        }
        //Note: The HTMLSourceViewerConfiguration should get the CSS content assist based on the content type.
        IContentAssistProcessor cssContentAssistProcessor = CSSSourceConfiguration.getDefault()
                .getContentAssistProcessor(getEditor(), contentType);
        if (CSSSourceConfiguration.DEFAULT.equals(contentType) || IDocument.DEFAULT_CONTENT_TYPE.equals(contentType)) {
            return new DjContentAssistProcessor(contentType, cssContentAssistProcessor);
        }
        return cssContentAssistProcessor;
    }
View Full Code Here

            return DjHtmlSourceConfiguration.getDefault().getContentAssistProcessor(getEditor(), contentType);
        }
        IContentAssistProcessor htmlContentAssistProcessor = HTMLSourceConfiguration.getDefault()
                .getContentAssistProcessor(getEditor(), contentType);
        if (HTMLSourceConfiguration.DEFAULT.equals(contentType) || IDocument.DEFAULT_CONTENT_TYPE.equals(contentType)) {
            return new DjContentAssistProcessor(contentType, htmlContentAssistProcessor);
        }
        return htmlContentAssistProcessor;
    }
View Full Code Here

TOP

Related Classes of org.python.pydev.django_templates.completions.DjContentAssistProcessor

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.