[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] project.isOpen() doesn't return the correct state

Hi Friends,

I am getting a strange problem.
I have a project in my workspace. The IDE is just started, i have not clicked anywhere in the views.


There is an action invoked from the toolbar which executes only if project.isOpen() returns true.
Sometime this call doesn't works.


Then i invoked a project.refresh(INFINITE_DEPTH) before this. The frequency of project.isOpen() returning true has increased by sometime it does return false and the action doesn't work.

Can you please advice what is missing here.

Thanks and Regards,
Ashwani Kr Sharma