org.eclipse.jface.dialogs.TitleAreaDialog Java Examples

The following examples show how to use org.eclipse.jface.dialogs.TitleAreaDialog. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RnDialogs.java    From elexis-3-core with Eclipse Public License 1.0 5 votes vote down vote up
@Override
public int open() {
	if (rn != null) {
		if (Rechnung.isStorno(rn) || Rechnung.hasStornoBeforeDate(rn, new TimeTool())) {
			SWTHelper.alert(Messages.RnActions_stornoAction,
				Messages.RnActions_stornoActionNotPossibleText);
			return TitleAreaDialog.CANCEL;
		}
	}
	return super.open();
}
 
Example #2
Source File: WizardBase.java    From birt with Eclipse Public License 1.0 4 votes vote down vote up
protected TitleAreaDialog getDialog( )
{
	return dialog;
}