Search in sources :

Example 1 with IThreadInput

use of org.talend.designer.runtime.visualization.internal.ui.properties.thread.IThreadInput in project tdi-studio-se by Talend.

the class ThreadDumpEditor method createThreadsPage.

/**
     * Creates the threads page.
     */
private void createThreadsPage() {
    threadSashForm = new ThreadSashForm(getContainer(), getEditorSite().getActionBars());
    threadSashForm.setInput(new IThreadInput() {

        @Override
        public IThreadElement[] getThreadListElements() {
            return threadListElements.toArray(new IThreadElement[0]);
        }
    });
    int page = addPage(threadSashForm);
    setPageText(page, Messages.threadsTabLabel);
    setPageImage(page, getThreadImage());
    threadSashForm.refresh();
}
Also used : IThreadElement(org.talend.designer.runtime.visualization.IThreadElement) IThreadInput(org.talend.designer.runtime.visualization.internal.ui.properties.thread.IThreadInput) ThreadSashForm(org.talend.designer.runtime.visualization.internal.ui.properties.thread.ThreadSashForm)

Aggregations

IThreadElement (org.talend.designer.runtime.visualization.IThreadElement)1 IThreadInput (org.talend.designer.runtime.visualization.internal.ui.properties.thread.IThreadInput)1 ThreadSashForm (org.talend.designer.runtime.visualization.internal.ui.properties.thread.ThreadSashForm)1