net.refractions.udig.ui
Interface WorkbenchConfiguration


public interface WorkbenchConfiguration

The WorkbenchConfiguration configures the Eclipse WorkbenchWindow. This is called when the workbench is starting up and gives the client application a chance to customize the properties of the WorkbenchWindow. The implementation of this interface that is called by the framework is specified by the extension in the preferences under the key 'net.refractions.udig.ui/workbenchConfiguration'. You can place this in your product's plugin_customization.ini. Example:

 net.refractions.udig.ui/workbenchConfiguration=net.refractions.udig.internal.ui.uDigWorkbenchConfiguration
 
Example class implementation:
    public void configureWorkbench( IWorkbenchWindowConfigurer configurer ) {
      configurer.setShowProgressIndicator(true);
      configurer.setInitialSize(new Point(800, 600));
    
      configurer.setShowPerspectiveBar( true );          
      configurer.setShowCoolBar(true);        
      configurer.setShowStatusLine(true);        
      configurer.setShowFastViewBars(true);
    }
 

Since:
1.1.0
Author:
rgould

Field Summary
static java.lang.String ATTR_CLASS
          Points to class field of extension point attribute
static java.lang.String ATTR_ID
          Points to id field of extension point attribute
static java.lang.String XPID
           
 
Method Summary
 void configureWorkbench(IWorkbenchWindowConfigurer configurer)
          Called by the framework when the WorkbenchWindow is being initialized.
 

Field Detail

XPID

static final java.lang.String XPID
See Also:
Constant Field Values

ATTR_ID

static final java.lang.String ATTR_ID
Points to id field of extension point attribute

See Also:
Constant Field Values

ATTR_CLASS

static final java.lang.String ATTR_CLASS
Points to class field of extension point attribute

See Also:
Constant Field Values
Method Detail

configureWorkbench

void configureWorkbench(IWorkbenchWindowConfigurer configurer)
Called by the framework when the WorkbenchWindow is being initialized. Implementing code can set the various properties here.

Parameters:
configurer - IWorkbenchWindowConfigurer used for configuring the workbench window