Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] Simplify expression editors?

Hi lorenzo,

Sorry, I cannot help on this.
This is part of the legacy code of the editor.

The original code was written for Eclipse 2.x.
I am not even sure this workaround is required anymore.

Regards,

                 Vincent.


Le 15/10/2012 16:52, Lorenzo Bettini a écrit :
Hi

can anyone tell me the meaning of this method in ExpressionAssignCategory?

	/*
	 * (non-Javadoc)
	 * @see org.eclipse.bpel.ui.properties.ExpressionSection
	 * #createClient(org.eclipse.swt.widgets.Composite)
	 */
	@Override
	protected final void createClient(Composite parent) {
		// ugly HACK to make subclasses work
		//FlatFormLayout layout = new FlatFormLayout();
		//layout.marginHeight = layout.marginWidth = 0;
		//parent.setLayout(layout);
		FillLayout fillLayout = new FillLayout();
		fillLayout.marginHeight = fillLayout.marginWidth = 0;
		parent.setLayout(fillLayout);
		super.createClient(parent);
	}

I'm writing some subclasses and it looks like there are problems with
layout if I do not redefine this createClient method...

thanks
	Lorenzo

--
Vincent Zurczak

Eclipse RCP Developer & Petals ESB Consultant
Phone: +33 (0) 6 40 28 86 57

Linagora: www.linagora.com
Petals Link: www.petalslink.com

lol Vincent Zurczak @ LinkedIn My Skype ID My English blog

Back to the top