本文整理汇总了Java中org.eclipse.ui.application.IWorkbenchWindowConfigurer.setShowCoolBar方法的典型用法代码示例。如果您正苦于以下问题:Java IWorkbenchWindowConfigurer.setShowCoolBar方法的具体用法?Java IWorkbenchWindowConfigurer.setShowCoolBar怎么用?Java IWorkbenchWindowConfigurer.setShowCoolBar使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.ui.application.IWorkbenchWindowConfigurer
的用法示例。
在下文中一共展示了IWorkbenchWindowConfigurer.setShowCoolBar方法的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: EnsembleWorkbenchWindowAdvisor
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //导入方法依赖的package包/类
public EnsembleWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
super(configurer);
// set the initialize app window size
Rectangle monitorSize = PlatformUI.getWorkbench().getDisplay().getPrimaryMonitor().getClientArea();
configurer.setInitialSize(getInitialWindowSize(monitorSize.width, monitorSize.height));
configurer.setShowCoolBar(true);
configurer.setShowStatusLine(true);
configurer.setShowProgressIndicator(true);
configurer.setShowPerspectiveBar(true);
// add the drag and drop support for the editor area
// TODO investigate how much of the following commented code would be useful to us
// configurer.addEditorAreaTransfer(EditorInputTransfer.getInstance());
// configurer.addEditorAreaTransfer(ResourceTransfer.getInstance());
// configurer.addEditorAreaTransfer(FileTransfer.getInstance());
// configurer.addEditorAreaTransfer(MarkerTransfer.getInstance());
configurer.configureEditorAreaDropListener(new EditorAreaDropAdapter(configurer.getWindow()));
removeActionSets(getUndesirableActionSets());
removePopupMenus(getUndesirablePopupMenus());
}
示例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() {
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();
}
示例6: 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());
}
示例7: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //导入方法依赖的package包/类
@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 );
}
示例8: 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" );
}
示例9: 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$$
}
示例10: 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);
}
示例11: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //导入方法依赖的package包/类
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);
}
示例12: 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());
}
示例13: 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");
}
示例14: 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"));
}
示例15: 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$
}