0

So in my plugin i sometimes disallow editing of an interval after it's been processed. THus, in TimeIntervalCommitBefore i am returning false. However, I'd like to display an error message to the user in this case. How can i possibly do this?

flag

1 Answer

1

It sounds like you probably want:

api.Notifications.AddError("Stuff went boom.");

There's a summary of all the different types of notifications plugins can generate here.

link|flag
yeah, i was hoping for something that can be showed in the the dialog timesheet window. The standard adderror doesn't make it so obvious to the user that something was wrong because it can be hidden behind the dialog – bitbounce Feb 13 2011 at 17:29

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.