/**
* Initializes the page with the Editor input.
*/
private void initFromInput()
{
ServerConfiguration configuration = ( ( ServerConfigurationEditorInput ) getEditorInput() )
.getServerConfiguration();
binaryAttributes = configuration.getBinaryAttributes();
binaryAttributesTableViewer.setInput( binaryAttributes );
// Port
portText.setText( "" + configuration.getPort() );
// Principal
String principal = configuration.getPrincipal();
if ( principal != null )
{
principalText.setText( principal );
}
// Password
String password = configuration.getPassword();
if ( password != null )
{
passwordText.setText( password );
}
// Allow Anonymous Access
allowAnonymousAccessCheckbox.setSelection( configuration.isAllowAnonymousAccess() );
// Max Time Limit
maxTimeLimitText.setText( "" + configuration.getMaxTimeLimit() );
// Max Size Limit
maxSizeLimitText.setText( "" + configuration.getMaxSizeLimit() );
// Synchronization Period
synchPeriodText.setText( "" + configuration.getSynchronizationPeriod() );
// Max Threads
maxThreadsText.setText( "" + configuration.getMaxThreads() );
// Enable Access Control
enableAccesControlCheckbox.setSelection( configuration.isEnableAccessControl() );
// Enable NTP
enableNTPCheckbox.setSelection( configuration.isEnableNTP() );
// Enable Kerberos
enableKerberosCheckbox.setSelection( configuration.isEnableKerberos() );
// Enable Change Password
enableChangePasswordCheckbox.setSelection( configuration.isEnableChangePassword() );
// Denormalize Op Attr
denormalizeOpAttrCheckbox.setSelection( configuration.isDenormalizeOpAttr() );
}