Search in sources :

Example 1 with CubridStatusLineContrItem

use of com.cubrid.cubridmanager.ui.spi.contribution.CubridStatusLineContrItem in project cubrid-manager by CUBRID.

the class ApplicationWorkbenchWindowAdvisor method preWindowOpen.

/**
	 * Performs arbitrary actions before the window is opened.
	 */
public void preWindowOpen() {
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setShowCoolBar(true);
    configurer.setShowStatusLine(true);
    configurer.setShowProgressIndicator(true);
    LayoutManager.getInstance().setStatusLineContrItem(new CubridStatusLineContrItem());
    LayoutManager.getInstance().setTitleLineContrItem(new CubridTitleLineContrItem());
    LayoutManager.getInstance().setWorkbenchContrItem(new CubridWorkbenchContrItem());
}
Also used : CubridWorkbenchContrItem(com.cubrid.cubridmanager.ui.spi.contribution.CubridWorkbenchContrItem) CubridStatusLineContrItem(com.cubrid.cubridmanager.ui.spi.contribution.CubridStatusLineContrItem) IWorkbenchWindowConfigurer(org.eclipse.ui.application.IWorkbenchWindowConfigurer) CubridTitleLineContrItem(com.cubrid.cubridmanager.ui.spi.contribution.CubridTitleLineContrItem)

Aggregations

CubridStatusLineContrItem (com.cubrid.cubridmanager.ui.spi.contribution.CubridStatusLineContrItem)1 CubridTitleLineContrItem (com.cubrid.cubridmanager.ui.spi.contribution.CubridTitleLineContrItem)1 CubridWorkbenchContrItem (com.cubrid.cubridmanager.ui.spi.contribution.CubridWorkbenchContrItem)1 IWorkbenchWindowConfigurer (org.eclipse.ui.application.IWorkbenchWindowConfigurer)1