RE: Conditionnal opening of a TopComponent

2018-01-12 Thread GRYSPEERDT Bastien [CLEMESSY]
is triggered when after the “userdir” has been read ? Thanks, Bastien De : GRYSPEERDT Bastien [CLEMESSY] [mailto:bastien.gryspee...@eiffage.com] Envoyé : mardi 9 janvier 2018 15:50 À : Geertjan Wielenga; us...@netbeans.incubator.apache.org Objet : RE: Conditionnal opening of a TopComponent Hi, I

RE: Conditionnal opening of a TopComponent

2018-01-09 Thread GRYSPEERDT Bastien [CLEMESSY]
Objet : Re: Conditionnal opening of a TopComponent One thing I would do differently is use the layer.xml file rather than doing it like this: CentralLookup.getDefault().lookup(Configuration.class); I.e., if you use FileUtile.getConfigFile, you'll be able to get a folder in the virtual file s

Re: Conditionnal opening of a TopComponent

2018-01-08 Thread Geertjan Wielenga
One thing I would do differently is use the layer.xml file rather than doing it like this: CentralLookup.getDefault().lookup(Configuration.class); I.e., if you use FileUtile.getConfigFile, you'll be able to get a folder in the virtual file system: http://bits.netbeans.org/dev/javadoc/org-openide