Copyright (c) 2011 Michael Ruflin, Andr� Locher, Claudia von Bastian.
This file is part of Tatool.
Tatool is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Tatool is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Tatool. If not, see <http://www.gnu.org/licenses/>.
This executable element implementation provides support
for executing the code in the AWT event dispatch thread, thus
making sure that changes to the task display from within the executable
work as expected.
Note: Use the BlockingAWTExecutable for implementations that require
user input in order to finish the execution.
Implementation of executeTask.
Calls doExecutionAWT then returns.
Empty implementation - stopping is not implemented as element execution is expected to be quick anyways
Subclasses implement this method to execute some code.
It is guaranteed that the caller thread is the AWT thread.