Java Code Examples for org.eclipse.draw2d.FlowLayout#setMinorSpacing()

The following examples show how to use org.eclipse.draw2d.FlowLayout#setMinorSpacing() . 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: GroupColumnFigure.java    From erflute with Apache License 2.0 5 votes vote down vote up
public GroupColumnFigure() {
    final FlowLayout layout = new FlowLayout();
    layout.setStretchMinorAxis(true);
    layout.setMajorSpacing(0);
    layout.setMinorSpacing(0);
    setLayoutManager(layout);
}
 
Example 2
Source File: NormalColumnFigure.java    From erflute with Apache License 2.0 5 votes vote down vote up
public NormalColumnFigure() {
    final FlowLayout layout = new FlowLayout();
    layout.setStretchMinorAxis(true);
    layout.setMajorSpacing(0);
    layout.setMinorSpacing(0);
    setLayoutManager(layout);
}
 
Example 3
Source File: AttributeEditPart.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
protected IFigure createFigure( )
{

	ColumnFigure columnFigure = null;
	columnFigure = new AttributeFigure( );
	FlowLayout layout = new FlowLayout( );
	layout.setMinorSpacing( 2 );
	columnFigure.setLayoutManager( layout );
	columnFigure.setOpaque( true );
	String name = OlapUtil.getDataFieldDisplayName( getColumn( ) );
	label = new Label( name );
	columnFigure.add( label );
	return columnFigure;

}
 
Example 4
Source File: HierarchyColumnEditPart.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
protected IFigure createFigure( )
{
	ColumnFigure columnFigure = null;
	columnFigure = new ColumnFigure( );
	FlowLayout layout = new FlowLayout( );
	layout.setMinorSpacing( 2 );
	columnFigure.setLayoutManager( layout );
	columnFigure.setOpaque( true );
	String name = OlapUtil.getDataFieldDisplayName( getColumn( ) );
	label = new Label( name );
	columnFigure.add( label );
	return columnFigure;
}
 
Example 5
Source File: ColumnEditPart.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
protected IFigure createFigure( )
{
	ColumnFigure columnFigure = null;
	columnFigure = new ColumnFigure( );
	FlowLayout layout = new FlowLayout( );
	layout.setMinorSpacing( 2 );
	columnFigure.setLayoutManager( layout );
	columnFigure.setOpaque( true );
	String name = OlapUtil.getDataFieldDisplayName( getColumn( ) );
	label = new Label( name );
	columnFigure.add( label );
	return columnFigure;
}
 
Example 6
Source File: GroupColumnFigure.java    From ermaster-b with Apache License 2.0 5 votes vote down vote up
public GroupColumnFigure() {
	FlowLayout layout = new FlowLayout();
	layout.setStretchMinorAxis(true);
	layout.setMajorSpacing(0);
	layout.setMinorSpacing(0);
	this.setLayoutManager(layout);
}
 
Example 7
Source File: NormalColumnFigure.java    From ermaster-b with Apache License 2.0 5 votes vote down vote up
public NormalColumnFigure() {
	FlowLayout layout = new FlowLayout();
	layout.setStretchMinorAxis(true);
	layout.setMajorSpacing(0);
	layout.setMinorSpacing(0);
	this.setLayoutManager(layout);
}