reloadCmiButton = BaseWidgetUtils.createButton( cmiComposite, "", 1 ); //$NON-NLS-1$
GridData gd = new GridData();
gd.verticalAlignment = SWT.BOTTOM;
gd.horizontalAlignment = SWT.RIGHT;
reloadCmiButton.setLayoutData( gd );
reloadCmiButton.addSelectionListener( new SelectionListener()
{
public void widgetSelected( SelectionEvent e )
{
reloadOperationalAttributes();
}
public void widgetDefaultSelected( SelectionEvent e )
{
}
} );
Group sizingGroup = BaseWidgetUtils.createGroup( BaseWidgetUtils.createColumnContainer( composite, 1, 1 ),
Messages.getString( "EntryPropertyPage.SizingInformation" ), 1 ); //$NON-NLS-1$
Composite sizingComposite = BaseWidgetUtils.createColumnContainer( sizingGroup, 3, 1 );
BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.EntrySize" ), 1 ); //$NON-NLS-1$
sizeText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
GridData sizeTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
sizeTextGridData.widthHint = 300;
sizeText.setLayoutData( sizeTextGridData );
BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfChildren" ), 1 ); //$NON-NLS-1$
childrenText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
GridData childrenTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
childrenTextGridData.widthHint = 300;
childrenText.setLayoutData( childrenTextGridData );
BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfAttributes" ), 1 ); //$NON-NLS-1$
attributesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
GridData attributesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
attributesTextGridData.widthHint = 300;
attributesText.setLayoutData( attributesTextGridData );
BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfValues" ), 1 ); //$NON-NLS-1$
valuesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
GridData valuesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
valuesTextGridData.widthHint = 300;
valuesText.setLayoutData( valuesTextGridData );
includeOperationalAttributesButton = BaseWidgetUtils.createCheckbox( sizingComposite, Messages
.getString( "EntryPropertyPage.IncludeoperationalAttributes" ), 2 ); //$NON-NLS-1$
includeOperationalAttributesButton.addSelectionListener( new SelectionListener()
{
public void widgetSelected( SelectionEvent e )
{
entryUpdated( getEntry( getElement() ) );
}
public void widgetDefaultSelected( SelectionEvent e )
{
}
} );
reloadEntryButton = BaseWidgetUtils.createButton( sizingComposite, "", 1 ); //$NON-NLS-1$
gd = new GridData();
gd.verticalAlignment = SWT.BOTTOM;
gd.horizontalAlignment = SWT.RIGHT;
reloadEntryButton.setLayoutData( gd );
reloadEntryButton.addSelectionListener( new SelectionListener()
{
public void widgetSelected( SelectionEvent e )
{
reloadEntry();
}