Examples of ColorManager


Examples of org.erlide.ui.editors.erl.ColorManager

            }

        });

        final IPreferenceStore store = ErlideUIPlugin.getDefault().getPreferenceStore();
        final IColorManager colorManager = new ColorManager();
        consoleOutputViewer.setDocument(fDoc);
        consoleOutputViewer.configure(new ErlangConsoleSourceViewerConfiguration(store,
                colorManager, backend));

        consoleInputViewer = new SourceViewer(sashForm, null, SWT.MULTI | SWT.WRAP
View Full Code Here

Examples of org.erlide.ui.editors.erl.ColorManager

    }

    private ErlangSourceViewerConfiguration getSourceViewerConfiguration() {
        if (fSourceViewerConfiguration == null) {
            fSourceViewerConfiguration = new EditorConfiguration(fPreferenceStore, null,
                    new ColorManager());
        }
        return fSourceViewerConfiguration;
    }
View Full Code Here

Examples of org.erlide.ui.editors.erl.ColorManager

    ErlContentViewer(final Composite parent) {
        fSourceViewer = new SourceViewer(parent, null, SWT.LEFT_TO_RIGHT | SWT.H_SCROLL
                | SWT.V_SCROLL);
        final IPreferenceStore store = ErlideUIPlugin.getDefault().getPreferenceStore();
        fSourceViewer.configure(new ErlangSourceViewerConfiguration(store,
                new ColorManager()));
        fSourceViewer.setEditable(false);

        final String symbolicFontName = ErlMergeViewer.class.getName();
        final Font font = JFaceResources.getFont(symbolicFontName);
        if (font != null) {
View Full Code Here

Examples of org.erlide.ui.editors.erl.ColorManager

        super.dispose();
    }

    @Override
    protected void initializeEditor() {
        colorManager = new ColorManager();
        setDocumentProvider(new TextFileDocumentProvider());

        final IPreferenceStore store = getErlangEditorPreferenceStore();
        setPreferenceStore(store);
View Full Code Here

Examples of org.erlide.ui.editors.erl.ColorManager

    /**
     * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
     */
    @Override
    public void init(final IWorkbench workbench) {
        fColorManager = new ColorManager();
        fOverlayStore = new OverlayPreferenceStore(ErlideUIPlugin.getDefault()
                .getPreferenceStore(), new OverlayPreferenceStore.OverlayKey[] {});
        fOverlayStore.addKeys(createOverlayStoreKeys());
        fOverlayStore.load();
        fOverlayStore.start();
View Full Code Here

Examples of org.python.pydev.debug.newconsole.prefs.ColorManager

        ret.o2 = retBuf.toString();
        return ret;
    }

    public Tuple<List<ScriptStyleRange>, String> createInterpreterErrorStyle(String content, int offset) {
        ColorManager colorManager = ColorManager.getDefault();
        TextAttribute attr = colorManager.getConsoleErrorTextAttribute();
        return createInterpreterStdStyle(content, offset, err, colorManager, attr, ScriptStyleRange.STDERR);
    }
View Full Code Here

Examples of org.python.pydev.debug.newconsole.prefs.ColorManager

        TextAttribute attr = colorManager.getConsoleErrorTextAttribute();
        return createInterpreterStdStyle(content, offset, err, colorManager, attr, ScriptStyleRange.STDERR);
    }

    public Tuple<List<ScriptStyleRange>, String> createInterpreterOutputStyle(String content, int offset) {
        ColorManager colorManager = ColorManager.getDefault();
        TextAttribute attr = colorManager.getConsoleOutputTextAttribute();
        return createInterpreterStdStyle(content, offset, out, colorManager, attr, ScriptStyleRange.STDOUT);
    }
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.