Package org.erlide.ui.editors.erl

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


        }

        // Source viewer
        fViewer = new SourceViewer(composite, null, style);
        fViewer.configure(new ErlangSourceViewerConfiguration(ErlangEditor
                .getErlangEditorPreferenceStore(), new ColorManager()));
        fViewer.setEditable(false);

        fText = fViewer.getTextWidget();
        gd = new GridData(GridData.BEGINNING | GridData.FILL_BOTH);
        fText.setLayoutData(gd);
View Full Code Here


            }

        });

        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

    }

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

    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

        super.dispose();
    }

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

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

    /**
     * @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

TOP

Related Classes of org.erlide.ui.editors.erl.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.