I forgot to mention, that if no getTaskMonitorDialog() is provided by the
PlugIn, the default TaskMonitorDialog is used.
2010/1/12 Benjamin Gudehus
> For customizing the TaskMonitorDialog the source code of a plugin could
> look like this:
>
>
> class HelloProgressPlugIn extends AbstractPlugIn i
For customizing the TaskMonitorDialog the source code of a plugin could look
like this:
class HelloProgressPlugIn extends AbstractPlugIn implements ThreadedPlugIn {
void initialize(PlugInContext pluginContext) {}
boolean execute(PlugInContext pluginContext) {
return true
}
It's been a while since I posted that thread, and I'm afraid I don't
remember all of the details that made me ask the questions. I know I
definitely had concerns about adding layers inside a thread. It still
seems to me that this would trigger painting of the LayerViewPanel.
When this repainting is
Hei
Benjamin Gudehus wrote:
> Hi!
>
> PS: Who send the first message? I did not get it.
>
> I found the first message here:
> http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg06770.html
aha.. thanks. I was traveling in August - that's why I did not know it.
But its q
Hi!
PS: Who send the first message? I did not get it.
>
I found the first message here:
http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg06770.html
you know that this is possible using
> * monitor.report("computing feature " + count + " of " + numFeatures);
>
I already impl
>
> BTW: I'm currently trying to modify the TaskMonitorDialog to show a
> progressbar with addional information.
you know that this is possible using
* monitor.report("computing feature " + count + " of " + numFeatures);
I also use often the following option to send messages during processing
Hi!
> I'm trying to figure out how to separate the code by putting the one
> task in the execute method and the other task in the run method, but I
> can't find a solution yet. (I need to determine the relationship
> between the execute and run method. The Javadoc doesn't seem to
> indicate when t
OK, I figured out this call hierarchy for
* execute() (in AbstractPlugIn.toActionListener()) and
* run() (in TaskWrapper.run()).
=== FeatureInstaller.addMainMenuItem() ===
public void addMainMenuItem(PlugIn executable, String[] menuPath,
String menuItemName, boolean checkBox, Icon icon, Enab
Last week I was in the process of wrapping-up my plug-in that allows
the user to import survey point data in a text delimited format. I
wanted to show the user a progress bar as the data was being loaded. I
first attempted to use the TaskMonitorDialog directly, which didn't
work very well. (The dia