int shellStyle= getShellStyle(); setShellStyle(shellStyle | SWT.MAX | SWT.RESIZE);
setShellStyle(getShellStyle() | SWT.MAX | SWT.RESIZE);
	public EditTemplateDialog(Shell parent, Template template, boolean edit) {		super(parent);				int shellStyle= getShellStyle();		setShellStyle(shellStyle | SWT.MAX | SWT.RESIZE);				if (edit)			setTitle(TemplateMessages.getString("EditTemplateDialog.title.edit")); //$NON-NLS-1$		else			setTitle(TemplateMessages.getString("EditTemplateDialog.title.new")); //$NON-NLS-1$		fTemplate= template;				ContextTypeRegistry registry= ContextTypeRegistry.getInstance();		for (Iterator iterator= registry.iterator(); iterator.hasNext(); )			fContextTypes.add(iterator.next());		if (fContextTypes.size() > 0)			fProcessor.setContextType(ContextTypeRegistry.getInstance().getContextType((String) fContextTypes.get(0)));	}