本文整理匯總了Java中org.eclipse.ui.application.IWorkbenchWindowConfigurer.setTitle方法的典型用法代碼示例。如果您正苦於以下問題:Java IWorkbenchWindowConfigurer.setTitle方法的具體用法?Java IWorkbenchWindowConfigurer.setTitle怎麽用?Java IWorkbenchWindowConfigurer.setTitle使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.eclipse.ui.application.IWorkbenchWindowConfigurer
的用法示例。
在下文中一共展示了IWorkbenchWindowConfigurer.setTitle方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
//configurer.setInitialSize(new Point(100, 100));
//configurer.getWindow().getShell().setMaximized( true );
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(false);
configurer.setShowPerspectiveBar(false);
configurer.setShowProgressIndicator(false);
//configurer.setShowPerspectiveBar(true);
configurer.setTitle("IDRT Import and Mapping Tool V"
+ Activator.getDefault().getBundle().getVersion());
//TODO
configurer.setShowStatusLine(true);
configurer.setShowProgressIndicator(true);
// IPreferenceStore apiStore = PlatformUI.getPreferenceStore();
// apiStore.setValue(IWorkbenchPreferenceConstants.DOCK_PERSPECTIVE_BAR,
// "TOP_RIGHT");
}
示例2: postWindowCreate
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void postWindowCreate() {
// System.out.println("postWindowCreate()\t");
// // TODO remove SYSTEM.OUT.PRINTLN
// show editor area
// IWorkbenchPage activePage = getWindowConfigurer().getWindow().getActivePage();
// activePage.setEditorAreaVisible(true);
final IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setTitle(_appTitle);
/**
* THIS IS VERY CRITICAL TO BE SET BEFORE THE ASYNC RUNNABLE STARTS, OTHERWISE THE VIEWS
* DISPLAY THE WRONG DATA. E.G. COLLATED TOURS SHOWS ALL TOURS AND NOT FOR THE SELECTED
* TOURTYPE.
*/
TourTypeManager.restoreState();
TourTypeFilterManager.restoreState();
TourFilterManager.restoreState();
}
示例3: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public void preWindowOpen( )
{
IWorkbenchWindowConfigurer configurer = getWindowConfigurer( );
configurer.setShowCoolBar( true );
configurer.setShowStatusLine( true );
String title = null;
IProduct product = Platform.getProduct( );
if ( product != null )
{
title = product.getName( );
}
if ( title == null )
{
title = DesignerWorkbenchMessages.Workbench_title;
}
configurer.setTitle( title );
}
示例4: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
/**
* Diese Methode wird jeweils unmittelbar vor dem öffnen des Anwendungsfensters ausgeführt.
*/
public void preWindowOpen(){
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
// configurer.setInitialSize(new Point(900, 700));
configurer.setShowCoolBar(true);
configurer.setShowStatusLine(true);
configurer.setShowProgressIndicator(true);
configurer.setTitle(Hub.APPLICATION_NAME + " " + CoreHub.readElexisBuildVersion());
configurer.setShowFastViewBars(true);
if (CoreHub.localCfg.get(Preferences.SHOWPERSPECTIVESELECTOR, Boolean.toString(false))
.equals(Boolean.toString(true))) {
configurer.setShowPerspectiveBar(true);
} else {
configurer.setShowPerspectiveBar(false);
}
// Wir wollen die schicken runden Tabs von Eclipse 3.x
PlatformUI.getPreferenceStore().setValue(
IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);
// Aber die Animationen sind eher nervend, nicht?
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS,
false);
}
示例5: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setShowCoolBar(true);
configurer.setShowStatusLine(true);
configurer.setShowProgressIndicator(true);
configurer.setTitle(Application.getGlobalInfo().getApplicationTitle());
}
示例6: 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" );
}
示例7: 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$$
}
示例8: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setInitialSize(new Point(800, 800));
configurer.setShowCoolBar(true);
configurer.setShowStatusLine(true);
configurer.setTitle("XStreamer");
configurer.setShowPerspectiveBar(true);
}
示例9: 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());
}
示例10: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setInitialSize(new Point(400, 300));
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(false);
configurer.setTitle("Hello RCP");
}
示例11: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
/**
* @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen() <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setInitialSize(new Point(600, 450));
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(true);
configurer.setTitle(getString("_UI_Application_title"));
}
示例12: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setInitialSize(new Point(400, 300));
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(false);
configurer.setTitle("Hello RCP"); //$NON-NLS-1$
}
示例13: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
/**
* @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen()
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
// configurer.setInitialSize(new Point(600, 450));
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(true);
configurer.setTitle(getString("_UI_Application_title"));
}
示例14: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setInitialSize(new Point(800, 400));
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(false);
configurer.setTitle("e3 -> e4 Migration"); //$NON-NLS-1$
}
示例15: 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");
}