Java Code Examples for org.eclipse.ui.application.IWorkbenchWindowConfigurer#setInitialSize()
The following examples show how to use
org.eclipse.ui.application.IWorkbenchWindowConfigurer#setInitialSize() .
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 MergeProcessor with Apache License 2.0 | 5 votes |
/** * {@inheritDoc} */ @Override public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(631, 218)); configurer.setShowCoolBar(true); configurer.setShowStatusLine(true); final IConfiguration configuration = E4CompatibilityUtil.getApplicationContext().get(IConfiguration.class); configurer.setTitle("MergeProcessor " + Configuration.getVersion() + " <" + configuration.getUser() + "@" //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$ + configuration.getSftpConfiguration().getHost() + ">"); //$NON-NLS-1$ }
Example 2
Source File: ApplicationWorkbenchWindowAdvisor.java From nebula with Eclipse Public License 2.0 | 5 votes |
@Override public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(700, 400)); configurer.setShowCoolBar(false); configurer.setShowStatusLine(false); configurer.setTitle("Nebula Examples"); }
Example 3
Source File: N4JSApplicationWorkbenchWindowAdvisor.java From n4js with Eclipse Public License 1.0 | 5 votes |
@Override public void preWindowOpen() { super.preWindowOpen(); final IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(1024, 768)); configurer.setShowCoolBar(true); configurer.setShowStatusLine(true); configurer.setShowProgressIndicator(true); configurer.setShowPerspectiveBar(true); initN4Context(); updateDefaultEditorMappingIfAbsent(); reviewDisabledCategoriesFromAppModel(); }
Example 4
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 5
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 6
Source File: ApplicationWorkbenchWindowAdvisor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
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$$ }
Example 7
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); }
Example 8
Source File: ApplicationWorkbenchWindowAdvisor.java From depan with Apache License 2.0 | 5 votes |
@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"); }
Example 9
Source File: ApplicationWorkbenchWindowAdvisor.java From translationstudio8 with GNU General Public License v2.0 | 5 votes |
public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(400, 300)); configurer.setShowCoolBar(false); configurer.setShowStatusLine(false); configurer.setTitle("OSGI Services Demo"); }
Example 10
Source File: ApplicationWorkbenchWindowAdvisor.java From translationstudio8 with GNU General Public License v2.0 | 5 votes |
/** * (non-Javadoc) * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen() */ public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(400, 300)); configurer.setShowCoolBar(false); configurer.setShowStatusLine(false); configurer.setTitle("RAP Converter Application"); }
Example 11
Source File: ApplicationWorkbenchWindowAdvisor.java From codeexamples-eclipse with Eclipse Public License 1.0 | 5 votes |
@Override public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(400, 300)); configurer.setShowCoolBar(true); configurer.setShowStatusLine(false); configurer.setTitle("RCP Application"); }
Example 12
Source File: ApplicationWorkbenchWindowAdvisor.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setShowCoolBar(true); configurer.setShowProgressIndicator(true); configurer.setShowStatusLine(false); Rectangle clientArea = Display.getDefault().getClientArea(); configurer.setInitialSize(new Point(clientArea.width, clientArea.height)); }
Example 13
Source File: ApplicationWorkbenchWindowAdvisor.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(400, 300)); configurer.setShowCoolBar(false); configurer.setShowStatusLine(false); configurer.setTitle("OSGI Services Demo"); }
Example 14
Source File: ApplicationWorkbenchWindowAdvisor.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
/** * (non-Javadoc) * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#preWindowOpen() */ public void preWindowOpen() { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(400, 300)); configurer.setShowCoolBar(false); configurer.setShowStatusLine(false); configurer.setTitle("RAP Converter Application"); }
Example 15
Source File: ClientWorkbenchWindowAdvisor.java From ice with Eclipse Public License 1.0 | 5 votes |
@Override public void preWindowOpen() { // Get Display width and height Rectangle bounds = PlatformUI.getWorkbench().getDisplay().getBounds(); // Grab the Workbench Window Configurer, used to set things such as // perspectives bar, coolbar, etc.. IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); // Set the size of the application the the size of the Display configurer.setInitialSize(new Point(bounds.width, bounds.height)); // Turn on the Coolbar, status bar, menu bar, and Perspectives bar configurer.setShowCoolBar(true); configurer.setShowStatusLine(true); configurer.setShowMenuBar(true); configurer.setShowPerspectiveBar(true); // Set the Application Title configurer.setTitle("ICE - " + "Eclipse Integrated Computational Environment"); //$NON-NLS-1$ // Move the Perspectives Bar to the Top Right, and make the editor tabs // curved instead of boxy and rectangular (looks better) PlatformUI.getPreferenceStore().setValue( IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false); return; }
Example 16
Source File: RcpWindowAdvisor.java From olca-app with Mozilla Public License 2.0 | 5 votes |
@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 + " " + App.getVersion()); }