protected void setShellStyle(int newShellStyle) { super.setShellStyle( newShellStyle | SWT.RESIZE ); }
/** * {@inheritDoc} */ @Override protected void setShellStyle(int newShellStyle) { super.setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE | SWT.RESIZE); setBlockOnOpen(false); }
/** * Creates a new instance of MoveEntriesDialog. * * @param parentShell the parent shell * @param entries the entries */ public MoveEntriesDialog( Shell parentShell, IEntry[] entries ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.entries = entries; this.parentDn = null; }
/** * Creates a new instance of ScopeDialog. * * @param parentShell the parent shell * @param dialogTitle the dialog title * @param multipleEntriesSelected the multiple entries selected */ public ScopeDialog( Shell parentShell, String dialogTitle, boolean multipleEntriesSelected ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.dialogTitle = dialogTitle; this.multipleEntriesSelected = multipleEntriesSelected; }
/** * Creates a new instance of HexDialog. * * @param parentShell the parent shell * @param initialData the initial data */ public HexDialog( Shell parentShell, byte[] initialData ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.currentData = initialData; }
/** * Creates a new instance of ScopeDialog. * * @param parentShell the parent shell * @param dialogTitle the dialog title * @param multipleEntriesSelected the multiple entries selected */ public SimulateRenameDialogImpl( Shell parentShell ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); }
/** * Creates a new instance of ScopeDialog. * * @param parentShell the parent shell * @param dialogTitle the dialog title * @param multipleEntriesSelected the multiple entries selected */ public EntryExistsCopyStrategyDialogImpl( Shell parentShell ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); strategy = EntryExistsCopyStrategy.BREAK; }
/** * Creates a new instance of TextDialog. * * @param parentShell the parent shell * @param initialValue the initial value */ public TextDialog( Shell parentShell, String initialValue ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.initialValue = initialValue; this.returnValue = null; }
/** * Creates a new instance of SelectEntryDialog. * * @param parentShell the parent shell * @param title the title * @param rootEntry the root entry * @param initialEntry the initial entry */ public SelectEntryDialog( Shell parentShell, String title, IEntry rootEntry, IEntry initialEntry ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.title = title; this.rootEntry = rootEntry; this.initialEntry = initialEntry; this.selectedEntry = null; }
/** * Creates a new instance of SelectConnectionDialog. * * @param parentShell the parent shell * @param title the title * @param initialBrowserConnection the initial browser connection */ public SelectBrowserConnectionDialog( Shell parentShell, String title, IBrowserConnection initialBrowserConnection ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.title = title; this.initialBrowserConnection = initialBrowserConnection; this.selectedBrowserConnection = null; }
/** * Creates a new instance of DnDialog. * * @param parentShell the parent shell * @param title the title of the dialog * @param description the description of the dialog * @param connection the connection used to browse the directory * @param dn the initial Dn, may be null */ public DnDialog( Shell parentShell, String title, String description, IBrowserConnection connection, Dn dn ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.title = title; this.description = description; this.connection = connection; this.dn = dn; }
/** * Creates a dialog with the given parent. * * @param parentShell * object that returns the current parent shell * * @since 3.1 */ protected Dialog(IShellProvider parentShell) { super(parentShell); if (isResizable()) { setShellStyle(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.MAX | SWT.RESIZE | getDefaultOrientation()); } else { setShellStyle(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | getDefaultOrientation()); } setBlockOnOpen(true); }
/** * Creates a dialog with the given parent. * * @param parentShell * object that returns the current parent shell * */ protected Dialog(IShellProvider parentShell) { super(parentShell); if (isResizable()) { setShellStyle(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.MAX | SWT.RESIZE | getDefaultOrientation()); } else { setShellStyle(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | getDefaultOrientation()); } setBlockOnOpen(true); }
/** * Creates a dialog with the given parent. * * @param parentShell * object that returns the current parent shell * * @since 3.1 */ protected Dialog(IShellProvider parentShell) { super(parentShell); if (isResizable()) { setShellStyle(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.MAX | SWT.RESIZE | getDefaultOrientation()); } else { setShellStyle(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | getDefaultOrientation()); } setBlockOnOpen(true); }
/** * Creates a new instance of RenameEntryDialog. * * @param parentShell the parent shell * @param entry the entry */ public RenameEntryDialog( Shell parentShell, IEntry entry ) { super( parentShell ); super.setShellStyle( super.getShellStyle() | SWT.RESIZE ); this.entry = entry; this.rdn = null; if ( BrowserCommonActivator.getDefault().getDialogSettings().get( DELETE_OLD_RDN_DIALOGSETTING_KEY ) == null ) { BrowserCommonActivator.getDefault().getDialogSettings().put( DELETE_OLD_RDN_DIALOGSETTING_KEY, true ); } }