You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Andreas Hauffe <an...@tu-dresden.de> on 2018/08/23 15:22:39 UTC
Reboot Netbeans Platform Application after option change
Hi,
is there a simple way to restart a Netbeans Platform application after
specific options in the options dialog are changed?
--
Regards,
Andreas Hauffe
Re: [MASSMAIL]Reboot Netbeans Platform Application after option
change
Posted by "José J. Rodriguez" <jo...@cenpalab.cu>.
Andreas Hauffe wrote:
> Hi,
>
> is there a simple way to restart a Netbeans Platform application after
> specific options in the options dialog are changed?
>
Sent my previous email too fast, just had a look at the code and it uses
the already mentioned LifecycleManager...
https://github.com/markiewb/restart-ide-for-netbeans/blob/master/src/de/markiew/netbeans/plugin/restart/RestartAction.java
Regards,
Joe1962
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [MASSMAIL]Reboot Netbeans Platform Application after option
change
Posted by "José J. Rodriguez" <jo...@cenpalab.cu>.
Andreas Hauffe wrote:
> Hi,
>
> is there a simple way to restart a Netbeans Platform application after
> specific options in the options dialog are changed?
>
I have never studied, nor used, the Netbeans Platform (though I've
wanted to), so I don't know if this is at all relevant, but I have used
the "Restart IDE" plugin on the Netbeans IDE. HTH...
Regards,
Joe1962
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Reboot Netbeans Platform Application after option change
Posted by Andreas Hauffe <an...@tu-dresden.de>.
Hi,
thanks for the last hint. I was reading the email on my mobile and
haven't seen, that there is my solution.
The point that I was missing is in
https://github.com/apache/incubator-netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/options/LafOptionsPanelController.java#L51
.
I have to but the call of the UI or restart dialog, I want to show, into
another thread. Otherwise you will interrupt the storing process of all
changed options, so the api is showing a hint, that storing takes to
long. This message is blocking any input for my own dialog. At this
point I had no other option than killing the application. Now it's
completely clear but it wasn't before.
Now it is working. Thanks again.
--
Regards,
Andreas Hauffe
Am 23.08.2018 um 20:11 schrieb Neil C Smith:
> Hi,
>
> Check the file I linked to. The LaF option seems to do exactly what
> you're looking for?
>
> Best wishes,
>
> Neil
>
> On Thu, 23 Aug 2018, 18:38 Andreas Hauffe,
> <andreas.hauffe@tu-dresden.de <ma...@tu-dresden.de>>
> wrote:
>
> Hi,
>
> thanks for the reply. I also fount the LifecycleManager, but I
> don't know where to put the commands so that the UI is visible
> after clicking the ok button of the OptionDialog. Do you have any
> tips?
>
> --
> Regards,
> Andreas Hauffe
>
> -----Ursprüngliche Nachricht-----
> Von: Neil C Smith <neilcsmith@apache.org
> <ma...@apache.org>>
> Gesendet: Donnerstag, 23. August 2018 17:32
> An: Hauffe, Andreas <andreas.hauffe@tu-dresden.de
> <ma...@tu-dresden.de>>
> Cc: users@netbeans.apache.org <ma...@netbeans.apache.org>
> Betreff: Re: Reboot Netbeans Platform Application after option change
>
> Hi,
>
> On Thu, 23 Aug 2018 at 16:23, Andreas Hauffe
> <andreas.hauffe@tu-dresden.de
> <ma...@tu-dresden.de>> wrote:
> > is there a simple way to restart a Netbeans Platform application
> after
> > specific options in the options dialog are changed?
>
> LifecycleManager? Mark for restart then exit?
>
> You may want some sort of UI in there though?! Maybe something like
> https://github.com/apache/incubator-netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/options/LafPanel.java#L233
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> <ma...@netbeans.apache.org>
> For additional commands, e-mail: users-help@netbeans.apache.org
> <ma...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
Re: Reboot Netbeans Platform Application after option change
Posted by Neil C Smith <ne...@apache.org>.
Hi,
Check the file I linked to. The LaF option seems to do exactly what you're
looking for?
Best wishes,
Neil
On Thu, 23 Aug 2018, 18:38 Andreas Hauffe, <an...@tu-dresden.de>
wrote:
> Hi,
>
> thanks for the reply. I also fount the LifecycleManager, but I don't know
> where to put the commands so that the UI is visible after clicking the ok
> button of the OptionDialog. Do you have any tips?
>
> --
> Regards,
> Andreas Hauffe
>
> -----Ursprüngliche Nachricht-----
> Von: Neil C Smith <ne...@apache.org>
> Gesendet: Donnerstag, 23. August 2018 17:32
> An: Hauffe, Andreas <an...@tu-dresden.de>
> Cc: users@netbeans.apache.org
> Betreff: Re: Reboot Netbeans Platform Application after option change
>
> Hi,
>
> On Thu, 23 Aug 2018 at 16:23, Andreas Hauffe <an...@tu-dresden.de>
> wrote:
> > is there a simple way to restart a Netbeans Platform application after
> > specific options in the options dialog are changed?
>
> LifecycleManager? Mark for restart then exit?
>
> You may want some sort of UI in there though?! Maybe something like
>
> https://github.com/apache/incubator-netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/options/LafPanel.java#L233
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
AW: Reboot Netbeans Platform Application after option change
Posted by Andreas Hauffe <an...@tu-dresden.de>.
Hi,
thanks for the reply. I also fount the LifecycleManager, but I don't know where to put the commands so that the UI is visible after clicking the ok button of the OptionDialog. Do you have any tips?
--
Regards,
Andreas Hauffe
-----Ursprüngliche Nachricht-----
Von: Neil C Smith <ne...@apache.org>
Gesendet: Donnerstag, 23. August 2018 17:32
An: Hauffe, Andreas <an...@tu-dresden.de>
Cc: users@netbeans.apache.org
Betreff: Re: Reboot Netbeans Platform Application after option change
Hi,
On Thu, 23 Aug 2018 at 16:23, Andreas Hauffe <an...@tu-dresden.de> wrote:
> is there a simple way to restart a Netbeans Platform application after
> specific options in the options dialog are changed?
LifecycleManager? Mark for restart then exit?
You may want some sort of UI in there though?! Maybe something like
https://github.com/apache/incubator-netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/options/LafPanel.java#L233
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Reboot Netbeans Platform Application after option change
Posted by Neil C Smith <ne...@apache.org>.
Hi,
On Thu, 23 Aug 2018 at 16:23, Andreas Hauffe
<an...@tu-dresden.de> wrote:
> is there a simple way to restart a Netbeans Platform application after
> specific options in the options dialog are changed?
LifecycleManager? Mark for restart then exit?
You may want some sort of UI in there though?! Maybe something like
https://github.com/apache/incubator-netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/options/LafPanel.java#L233
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists