New Views Don’t Show Up When Using Eclipse RCP setSaveAndRestore
2017-08-10 11:02
621 查看
rcp程序创建view时不显示的问题:
public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
//System.out.println("hahahahahah================");
String editorArea = layout.getEditorArea();
layout.addView("com.adtec.demo.views.FirstView", IPageLayout.RIGHT, 0.2f, editorArea);
}
}
方法并没有执行,解决方案如下,勾选clear,重新运行即可:
run as->run configrations..->main->clear勾选上
相关文章推荐
- Be cautious when using Map and Set in Java
- Set class as public when you add a new class using VS
- save and load nueral network parameters when using python lasagne
- http://blogs.msdn.com/b/pranavwagh/archive/2007/03/03/word-2007-file-seems-to-be-deleted-when-you-open-and-save-it-using-dsoframer.aspx
- Xcode not set up properly when using Qt in macOS
- Set up eclipse for Ext js and spket IDE plugin
- Set up SSH for Git and Mercurial on Mac OSX/Linux
- WP REST API: Setting Up and Using Basic Authentication
- Tutorial for building J2EE Applications using JBOSS and ECLIPSE (5)
- set up your enviroment with the new version to continue you development.
- ui-grid cannot rendered correctly when using ng-show/ng-hide, if you press F12 on the keyboard, it c
- using vb.net export a datatable to Excel and save as file
- Linux信号集 —— Signal set and using
- Tutorial for building J2EE Applications using JBOSS and ECLIPSE (9)
- [转]Setting up an ASP.NET website development environment using Visual Studio .NET, Subversion, and Windows XP
- Error : should use android:showAsAction when not using support library
- How to set timeout for user when login using zend_auth?
- Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse
- Eclipse plugin & RCP technology guide (1) - Introduction of Eclipse and Eclipse plugin
- How to make fundamental Winsock calls to set up communication using the internet Protocol