當前位置: 首頁>>代碼示例>>Java>>正文


Java IWorkbenchWindowConfigurer.setShowMenuBar方法代碼示例

本文整理匯總了Java中org.eclipse.ui.application.IWorkbenchWindowConfigurer.setShowMenuBar方法的典型用法代碼示例。如果您正苦於以下問題:Java IWorkbenchWindowConfigurer.setShowMenuBar方法的具體用法?Java IWorkbenchWindowConfigurer.setShowMenuBar怎麽用?Java IWorkbenchWindowConfigurer.setShowMenuBar使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.eclipse.ui.application.IWorkbenchWindowConfigurer的用法示例。


在下文中一共展示了IWorkbenchWindowConfigurer.setShowMenuBar方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen ()
{
    final IWorkbenchWindowConfigurer configurer = getWindowConfigurer ();
    configurer.setInitialSize ( new Point ( 400 * 3, 300 * 3 ) );
    configurer.setShowFastViewBars ( false );
    configurer.setShowProgressIndicator ( true );
    configurer.setShowMenuBar ( true );
    configurer.setShowCoolBar ( true );
    configurer.setShowStatusLine ( true );
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:12,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例2: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen ()
{
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer ();
    configurer.setInitialSize ( new Point ( 400 * 3, 300 * 3 ) );
    configurer.setShowFastViewBars ( false );
    configurer.setShowPerspectiveBar ( true );
    configurer.setShowProgressIndicator ( true );
    configurer.setShowMenuBar ( true );
    configurer.setShowCoolBar ( true );
    configurer.setShowStatusLine ( true );
    configurer.setTitle ( "Eclipse SCADA Admin Client" );
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:14,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例3: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize ( new Point ( 1200, 1024 ) );
    configurer.setShowCoolBar ( false );
    configurer.setShowStatusLine ( true );
    configurer.setShowProgressIndicator ( true );
    configurer.setShowMenuBar ( true );
    configurer.setTitle("Eclipse NeoSCADA Client"); //$$NON-NLS-1$$
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:10,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例4: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
    super.preWindowOpen();
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();

    configurer.setInitialSize(new Point(1920, 1200));
    configurer.setShowMenuBar(true);
    configurer.setShowCoolBar(true);
    configurer.setShowFastViewBars(true);
    configurer.setShowProgressIndicator(true);
    configurer.setShowPerspectiveBar(true);
    configurer.setShowStatusLine(true);
    configurer.setTitle(getDefaultTitle());
}
 
開發者ID:yamcs,項目名稱:yamcs-studio,代碼行數:15,代碼來源:YamcsStudioWorkbenchWindowAdvisor.java

示例5: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public void preWindowOpen() {
	IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
	configurer.setInitialSize(new Point(900, 600));
	configurer.setShowMenuBar(false);
	configurer.setShowCoolBar(false);
	configurer.setShowStatusLine(false);
	configurer.setTitle("openHAB Designer");
}
 
開發者ID:andrey-desman,項目名稱:openhab-hdl,代碼行數:9,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例6: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
  IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
  configurer.setInitialSize(new Point(750, 550));
  configurer.setShowMenuBar(true);
  configurer.setShowCoolBar(true);
  configurer.setShowStatusLine(true);
  configurer.setShowProgressIndicator(true);
  configurer.setTitle("DepAn");
}
 
開發者ID:google,項目名稱:depan,代碼行數:11,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例7: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
/***************************************************************************
 * Called just before the workbench window is open. Window initialization is
 * done here.
 **************************************************************************/
public void preWindowOpen()
{
	IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
	Logger.debug("Using release number: " + RELEASE, Level.INIT, this);
	IConfigurationManager cfg = (IConfigurationManager) ServiceManager.get(IConfigurationManager.class);
	String appName = cfg.getProperty(PropertyKey.APPLICATION_NAME);
	configurer.setTitle(appName + " Procedure Executor - " + RELEASE);
	configurer.setInitialSize(new Point(1300, 900));
	configurer.setShowCoolBar(true);
	configurer.setShowMenuBar(true);
	configurer.setShowStatusLine(true);
}
 
開發者ID:Spacecraft-Code,項目名稱:SPELL,代碼行數:17,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例8: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
	//
	IWorkbenchWindowConfigurer configurer = this.getWindowConfigurer();

	configurer.setShowStatusLine(Boolean.TRUE);
	configurer.setShowCoolBar(Boolean.TRUE);
	configurer.setShowPerspectiveBar(Boolean.TRUE);
	configurer.setShowProgressIndicator(Boolean.FALSE);	// Bottom Right section in the status line 
	configurer.setShowFastViewBars(Boolean.TRUE);
	configurer.setShowMenuBar(Boolean.FALSE);
	
	configurer.setShellStyle(SWT.NONE);	// For removing resize top options
}
 
開發者ID:jaloncad,項目名稱:redmine.rap,代碼行數:15,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例9: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public void preWindowOpen() {
	IWorkbenchWindowConfigurer configurer = getWindowConfigurer();

	configurer.setShowCoolBar(true);
	configurer.setShowMenuBar(true);
	configurer.setShowStatusLine(true);
}
 
開發者ID:gaia-ucm,項目名稱:jbt,代碼行數:8,代碼來源:ApplicationWorkbenchWindowAdvisor.java

示例10: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
	IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
	configurer.setInitialSize(new Point(800, 600));
	configurer.setShowCoolBar(true);
	configurer.setShowStatusLine(true);
	configurer.setShowProgressIndicator(true);
	configurer.setShowMenuBar(true);
	configurer.setTitle(Config.APPLICATION_NAME + " " + Config.VERSION);
}
 
開發者ID:GreenDelta,項目名稱:olca-app,代碼行數:11,代碼來源:RcpWindowAdvisor.java

示例11: preWindowOpen

import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
	IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
	configurer.setShowCoolBar(true);
	configurer.setShowStatusLine(false);
	configurer.setShowProgressIndicator(true);
	configurer.setShowMenuBar(true);
	// configurer.setTitle("Paho MQTT Utility");
}
 
開發者ID:gulliverrr,項目名稱:hestia-engine-dev,代碼行數:10,代碼來源:ApplicationWorkbenchWindowAdvisor.java


注:本文中的org.eclipse.ui.application.IWorkbenchWindowConfigurer.setShowMenuBar方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。