|
Lines 161-167
Link Here
|
| 161 |
* @param showStatusField <code>true</code> iff the control has a status field at the bottom |
161 |
* @param showStatusField <code>true</code> iff the control has a status field at the bottom |
| 162 |
*/ |
162 |
*/ |
| 163 |
public AbstractInformationControl(Shell parent, int shellStyle, int treeStyle, String invokingCommandId, boolean showStatusField) { |
163 |
public AbstractInformationControl(Shell parent, int shellStyle, int treeStyle, String invokingCommandId, boolean showStatusField) { |
| 164 |
super(parent, shellStyle, true, true, true, true, null, null); |
164 |
super(parent, shellStyle, true, true, false, true, true, null, null); |
| 165 |
if (invokingCommandId != null) { |
165 |
if (invokingCommandId != null) { |
| 166 |
ICommandManager commandManager= PlatformUI.getWorkbench().getCommandSupport().getCommandManager(); |
166 |
ICommandManager commandManager= PlatformUI.getWorkbench().getCommandSupport().getCommandManager(); |
| 167 |
fInvokingCommand= commandManager.getCommand(invokingCommandId); |
167 |
fInvokingCommand= commandManager.getCommand(invokingCommandId); |
|
Lines 624-630
Link Here
|
| 624 |
* the call to constrainShellSize in PopupDialog.open will still ensure that the shell is |
624 |
* the call to constrainShellSize in PopupDialog.open will still ensure that the shell is |
| 625 |
* entirely visible. |
625 |
* entirely visible. |
| 626 |
*/ |
626 |
*/ |
| 627 |
if (!getPersistBounds() || getDialogSettings() == null) |
627 |
if (!getPersistLocation() || getDialogSettings() == null) |
| 628 |
getShell().setLocation(location); |
628 |
getShell().setLocation(location); |
| 629 |
} |
629 |
} |
| 630 |
|
630 |
|