Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Using CSS ViewParts in Eclipse 4
From: <adrian.potter@stfc.ac.uk>
To: <tech-talk@aps.anl.gov>
Date: Tue, 1 Aug 2017 09:15:06 +0000

Hello,

 

I’m trying to write an Eclipse 4 application using EPICS and CSS.

 

From inspection of the code, CSS’s views use the Eclipse 3.x compatibility layer; they inherit from ViewPart and call creatPartControl() to build the view. Elements of the Eclipse 4 application model on the other hand use annotations (i.e. @PostConstruct) to do the same.

 

If I try and use a CSS ViewPart in my Eclipse 4 application, I typically get nullPointerExceptions where the CSS class tries to access the Eclipse  3.x API (e.g. getSite()). Does anyone have any advice on how I can get around this issue to use CSS views in my Eclipse 4 application?

Many thanks,

Adrian Potter

ISIS Computing Group

 


Replies:
Re: Using CSS ViewParts in Eclipse 4 Kasemir, Kay

Navigate by Date:
Prev: EPICS Redundancy Adil Razzaq
Next: Re: Using CSS ViewParts in Eclipse 4 Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: RE: EPICS Redundancy Penning, Joerg
Next: Re: Using CSS ViewParts in Eclipse 4 Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 08 Aug 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·