Java Code Examples for org.eclipse.ui.application.IWorkbenchWindowConfigurer#setShowFastViewBars()
The following examples show how to use
org.eclipse.ui.application.IWorkbenchWindowConfigurer#setShowFastViewBars() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ApplicationWorkbenchWindowAdvisor.java From elexis-3-core with Eclipse Public License 1.0 | 6 votes |
/** * 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 + " " + Elexis.VERSION); 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); }
Example 2
Source File: ApplicationWorkbenchWindowAdvisor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
@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 ); }
Example 3
Source File: ApplicationWorkbenchWindowAdvisor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
@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" ); }
Example 4
Source File: ApplicationWorkbenchWindowAdvisor.java From tlaplus with MIT License | 5 votes |
public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(800, 600)); configurer.setShowFastViewBars(true); configurer.setShowStatusLine(true); configurer.setShowProgressIndicator(true); configurer.setShowCoolBar(false); // A DropTargetAdapter is need for editor DND support final DropTargetListener dtl = new EditorAreaDropAdapter( configurer.getWindow()); configurer.configureEditorAreaDropListener(dtl); }