1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 | 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> 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Using CSS ViewParts in Eclipse 4 |
From: | <[email protected]> |
To: | <[email protected]> |
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? Adrian Potter ISIS Computing Group |