Package org.erlide.ui.views

Examples of org.erlide.ui.views.SourceViewerInformationControl


                getImage(template), relevance);
        p.setInformationControlCreator(new IInformationControlCreator() {

            @Override
            public IInformationControl createInformationControl(final Shell parent) {
                return new SourceViewerInformationControl(parent,
                        PreferenceConstants.EDITOR_TEXT_FONT);
            }
        });
        return p;
    }
View Full Code Here


                        if (r.isOk()) {
                            str = OtpErlang.asString(r.getValue());
                        } else {
                            str = r.getErrorReason().toString();
                        }
                        info = new SourceViewerInformationControl(t.getShell(),
                                SWT.ON_TOP | SWT.TOOL | SWT.RESIZE, SWT.MULTI | SWT.WRAP,
                                PreferenceConstants.EDITOR_TEXT_FONT, null);
                        info.setForegroundColor(t.getDisplay().getSystemColor(
                                SWT.COLOR_INFO_FOREGROUND));
                        info.setBackgroundColor(t.getDisplay().getSystemColor(
View Full Code Here

TOP

Related Classes of org.erlide.ui.views.SourceViewerInformationControl

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.