Re: Reboot Netbeans Platform Application after option change

2018-08-23 Thread Andreas Hauffe

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, 
mailto:andreas.hau...@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 mailto:neilcsm...@apache.org>>
Gesendet: Donnerstag, 23. August 2018 17:32
An: Hauffe, Andreas mailto:andreas.hau...@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
mailto:andreas.hau...@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-unsubscr...@netbeans.apache.org

For additional commands, e-mail: users-h...@netbeans.apache.org


For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [MASSMAIL]Reboot Netbeans Platform Application after option change

2018-08-23 Thread José J . Rodriguez

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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@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

2018-08-23 Thread José J . Rodriguez

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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@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

2018-08-23 Thread 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, 
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 
> Gesendet: Donnerstag, 23. August 2018 17:32
> An: Hauffe, Andreas 
> 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 
> 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-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@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

2018-08-23 Thread Andreas Hauffe
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  
Gesendet: Donnerstag, 23. August 2018 17:32
An: Hauffe, Andreas 
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  
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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



smime.p7s
Description: S/MIME cryptographic signature


Re: Reboot Netbeans Platform Application after option change

2018-08-23 Thread Neil C Smith
Hi,

On Thu, 23 Aug 2018 at 16:23, Andreas Hauffe
 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reboot Netbeans Platform Application after option change

2018-08-23 Thread Andreas Hauffe

Hi,

is there a simple way to restart a Netbeans Platform application after 
specific options in the options dialog are changed?


--
Regards,
Andreas Hauffe




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [java] formatter questions

2018-08-23 Thread Chris McGee
Thanks Will,

I’ll go over this with the team. You’re probably right that making this third 
party plugin work with NB 9.0 and future is likely not a large investment.

I’m wondering if that investment is better spent finding a way to invoke the NB 
formatter(s) in Maven. This would be ideal for us as our code is already mostly 
formatted using NB with well known settings for Java, JSP, HTML and Javascript. 
I don’t know the NB formatter code at all yet and so I don’t know how difficult 
that would be. Also, it is unclear if other teams have the same problem and how 
many would benefit from such a tool.

Any thoughts on this approach?

Cheers,
Chris

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists