Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-ui-dev] My plugin view must appear when a log comes.

I have a logger plugin project. I prepared a view for it. I have a log logger that has two handlers. One of them logs to a frame. And I am doing for other handler to show logs in the plugin view. But for that, I must show out the view when a log comes and also must change the content when a log comes. I am going to use setInput() method for this. Bur firstly I must reach the plugin view. I can't do it. The handler must find the plugin view when it is created. How can I find the view? I tried PlatformUI.getWorkbench() method and then findView(...) after getting active page. It doesn't work and says "The workbench has not been created yet".

For an idea, I want to create a plugin like jUnit view. When you right click on test code and run the test, the jUnit view appears on the workbench and shows green or red according to test result. My logger plugin view must appear when a log comes.

Can you help me?


Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.

Back to the top