本文整理匯總了Java中org.eclipse.ui.application.IWorkbenchWindowConfigurer.setShowFastViewBars方法的典型用法代碼示例。如果您正苦於以下問題:Java IWorkbenchWindowConfigurer.setShowFastViewBars方法的具體用法?Java IWorkbenchWindowConfigurer.setShowFastViewBars怎麽用?Java IWorkbenchWindowConfigurer.setShowFastViewBars使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.eclipse.ui.application.IWorkbenchWindowConfigurer
的用法示例。
在下文中一共展示了IWorkbenchWindowConfigurer.setShowFastViewBars方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public void preWindowOpen()
{
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
// show the shortcut bar and progress indicator, which are hidden by
// default
configurer.setShowPerspectiveBar(true);
configurer.setShowFastViewBars(true);
configurer.setShowProgressIndicator(true);
// add the drag and drop support for the editor area
configurer.addEditorAreaTransfer(EditorInputTransfer.getInstance());
configurer.addEditorAreaTransfer(ResourceTransfer.getInstance());
configurer.addEditorAreaTransfer(FileTransfer.getInstance());
configurer.addEditorAreaTransfer(MarkerTransfer.getInstance());
configurer.configureEditorAreaDropListener(new EditorAreaDropAdapter(
configurer.getWindow()));
hookTitleUpdateListeners(configurer);
}
示例2: 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);
}
示例3: 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 );
}
示例4: 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" );
}
示例5: createWorkbenchWindowAdvisor
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
IDE.registerAdapters();
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.ENABLE_DETACHED_VIEWS, false);
configurer.setShowProgressIndicator(true);
configurer.setShowFastViewBars(true);
configurer.setShowStatusLine(true);
configurer.getWindow().getPartService().addPartListener(new TitleBarPartListener());
return new ApplicationWorkbenchWindowAdvisor(configurer);
}
示例6: 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);
}
示例7: 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());
}
示例8: preWindowOpen
import org.eclipse.ui.application.IWorkbenchWindowConfigurer; //導入方法依賴的package包/類
@Override
public void preWindowOpen() {
//
IWorkbenchWindowConfigurer configurer = this.getWindowConfigurer();
configurer.setShowStatusLine(Boolean.TRUE);
configurer.setShowCoolBar(Boolean.TRUE);
configurer.setShowPerspectiveBar(Boolean.TRUE);
configurer.setShowProgressIndicator(Boolean.FALSE); // Bottom Right section in the status line
configurer.setShowFastViewBars(Boolean.TRUE);
configurer.setShowMenuBar(Boolean.FALSE);
configurer.setShellStyle(SWT.NONE); // For removing resize top options
}