Package cbg.editor.rules

Examples of cbg.editor.rules.ColorManager


        setPreferenceStore(store);
        // setDocumentProvider(new TextFileDocumentProvider(new
        // ColoringDocumentProvider()));
        setDocumentProvider(new ColoringDocumentProvider());
        // setDocumentProvider(new DelegateDocumentProvider());
        ColorManager colorManager = EditorPlugin.getDefault().getColorManager();
        setSourceViewerConfiguration(new ColoringSourceViewerConfiguration(colorManager));
    }
View Full Code Here


public class EditorPlugin extends AbstractUIPlugin {
    public static final String STATUS_CATEGORY_MODE = "cbg.editor.modeStatus";

    public ColorManager getColorManager() {
        if (colorManager == null) {
            colorManager = new ColorManager(getPreferenceStore());
        }
        return colorManager;
    }
View Full Code Here

TOP

Related Classes of cbg.editor.rules.ColorManager

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.