You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2009/10/21 14:51:17 UTC
svn commit: r827993 [3/3] - in
/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio:
ldapbrowser/common/ ldapbrowser/common/actions/
ldapbrowser/common/actions/proxy/ ldapbrowser/common/dialogs/
ldapbrowser/common/dialog...
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/ShowQuickFilterAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/ShowQuickFilterAction.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/ShowQuickFilterAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/ShowQuickFilterAction.java Wed Oct 21 12:51:13 2009
@@ -51,8 +51,8 @@
*/
public ShowQuickFilterAction( EntryEditorWidgetQuickFilterWidget quickFilterWidget )
{
- super( Messages.getString("ShowQuickFilterAction.ShowQuickFilter"), AS_CHECK_BOX ); //$NON-NLS-1$
- setToolTipText( Messages.getString("ShowQuickFilterAction.ShowQuickFilter") ); //$NON-NLS-1$
+ super( Messages.getString( "ShowQuickFilterAction.ShowQuickFilter" ), AS_CHECK_BOX ); //$NON-NLS-1$
+ setToolTipText( Messages.getString( "ShowQuickFilterAction.ShowQuickFilter" ) ); //$NON-NLS-1$
setImageDescriptor( BrowserCommonActivator.getDefault().getImageDescriptor( BrowserCommonConstants.IMG_FILTER ) );
setActionDefinitionId( IWorkbenchActionDefinitionIds.FIND_REPLACE );
setEnabled( true );
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/AliasesDereferencingWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/AliasesDereferencingWidget.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/AliasesDereferencingWidget.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/AliasesDereferencingWidget.java Wed Oct 21 12:51:13 2009
@@ -85,10 +85,12 @@
public void createWidget( Composite parent )
{
- group = BaseWidgetUtils.createGroup( parent, Messages.getString("AliasesDereferencingWidget.AliasesDereferencing"), 1 ); //$NON-NLS-1$
+ group = BaseWidgetUtils.createGroup( parent, Messages
+ .getString( "AliasesDereferencingWidget.AliasesDereferencing" ), 1 ); //$NON-NLS-1$
Composite groupComposite = BaseWidgetUtils.createColumnContainer( group, 1, 1 );
- findingButton = BaseWidgetUtils.createCheckbox( groupComposite, Messages.getString("AliasesDereferencingWidget.FindingBaseDN"), 1 ); //$NON-NLS-1$
+ findingButton = BaseWidgetUtils.createCheckbox( groupComposite, Messages
+ .getString( "AliasesDereferencingWidget.FindingBaseDN" ), 1 ); //$NON-NLS-1$
findingButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
@@ -97,7 +99,8 @@
}
} );
- searchButton = BaseWidgetUtils.createCheckbox( groupComposite, Messages.getString("AliasesDereferencingWidget.Search"), 1 ); //$NON-NLS-1$
+ searchButton = BaseWidgetUtils.createCheckbox( groupComposite, Messages
+ .getString( "AliasesDereferencingWidget.Search" ), 1 ); //$NON-NLS-1$
searchButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/BrowserConnectionWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/BrowserConnectionWidget.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/BrowserConnectionWidget.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/BrowserConnectionWidget.java Wed Oct 21 12:51:13 2009
@@ -84,13 +84,14 @@
browserConnectionText = BaseWidgetUtils.createReadonlyText( parent, "", 1 ); //$NON-NLS-1$
// Button
- connectionBrowseButton = BaseWidgetUtils.createButton( parent, Messages.getString("BrowserConnectionWidget.BrowseButton"), 1 ); //$NON-NLS-1$
+ connectionBrowseButton = BaseWidgetUtils.createButton( parent, Messages
+ .getString( "BrowserConnectionWidget.BrowseButton" ), 1 ); //$NON-NLS-1$
connectionBrowseButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
{
- SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( parent.getShell(),
- Messages.getString("BrowserConnectionWidget.SelectConnection"), selectedBrowserConnection ); //$NON-NLS-1$
+ SelectBrowserConnectionDialog dialog = new SelectBrowserConnectionDialog( parent.getShell(), Messages
+ .getString( "BrowserConnectionWidget.SelectConnection" ), selectedBrowserConnection ); //$NON-NLS-1$
dialog.open();
IBrowserConnection browserConnection = dialog.getSelectedBrowserConnection();
if ( browserConnection != null )
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/EntryWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/EntryWidget.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/EntryWidget.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/EntryWidget.java Wed Oct 21 12:51:13 2009
@@ -162,7 +162,7 @@
// Up button
upButton = new Button( textAndUpComposite, SWT.PUSH );
- upButton.setToolTipText( Messages.getString("EntryWidget.Parent") ); //$NON-NLS-1$
+ upButton.setToolTipText( Messages.getString( "EntryWidget.Parent" ) ); //$NON-NLS-1$
upButton.setImage( BrowserCommonActivator.getDefault().getImage( BrowserCommonConstants.IMG_PARENT ) );
upButton.setEnabled( false );
upButton.addSelectionListener( new SelectionAdapter()
@@ -180,7 +180,7 @@
} );
// Browse button
- entryBrowseButton = BaseWidgetUtils.createButton( parent, Messages.getString("EntryWidget.BrowseButton"), 1 ); //$NON-NLS-1$
+ entryBrowseButton = BaseWidgetUtils.createButton( parent, Messages.getString( "EntryWidget.BrowseButton" ), 1 ); //$NON-NLS-1$
entryBrowseButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
@@ -189,7 +189,7 @@
{
// get root entry
IEntry rootEntry = browserConnection.getRootDSE();
- if( suffix != null && suffix.size() > 0 )
+ if ( suffix != null && suffix.size() > 0 )
{
rootEntry = browserConnection.getEntryFromCache( suffix );
if ( rootEntry == null )
@@ -202,9 +202,9 @@
// calculate initial DN
LdapDN initialDN = dn;
- if( useLocalName && suffix != null && suffix.size() > 0 )
+ if ( useLocalName && suffix != null && suffix.size() > 0 )
{
- if( initialDN != null && initialDN.size() > 0 )
+ if ( initialDN != null && initialDN.size() > 0 )
{
initialDN = DnUtils.composeDn( initialDN, suffix );
}
@@ -224,7 +224,8 @@
}
// open dialog
- SelectEntryDialog dialog = new SelectEntryDialog( parent.getShell(), Messages.getString("EntryWidget.SelectDN"), rootEntry, entry ); //$NON-NLS-1$
+ SelectEntryDialog dialog = new SelectEntryDialog( parent.getShell(), Messages
+ .getString( "EntryWidget.SelectDN" ), rootEntry, entry ); //$NON-NLS-1$
dialog.open();
IEntry selectedEntry = dialog.getSelectedEntry();
@@ -232,7 +233,7 @@
if ( selectedEntry != null )
{
dn = selectedEntry.getDn();
- if( useLocalName && suffix != null && suffix.size() > 0 )
+ if ( useLocalName && suffix != null && suffix.size() > 0 )
{
dn = DnUtils.getPrefixName( dn, suffix );
}
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java Wed Oct 21 12:51:13 2009
@@ -149,14 +149,16 @@
new FilterWidgetAutoEditStrategyAdapter( filterCombo, parser );
// Filter editor button
- filterEditorButton = BaseWidgetUtils.createButton( parent, Messages.getString("FilterWidget.FilterEditorButton"), 1 ); //$NON-NLS-1$
+ filterEditorButton = BaseWidgetUtils.createButton( parent, Messages
+ .getString( "FilterWidget.FilterEditorButton" ), 1 ); //$NON-NLS-1$
filterEditorButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
{
if ( browserConnection != null )
{
- FilterDialog dialog = new FilterDialog( parent.getShell(), Messages.getString("FilterWidget.FilterEditor"), filterCombo.getText(), //$NON-NLS-1$
+ FilterDialog dialog = new FilterDialog( parent.getShell(), Messages
+ .getString( "FilterWidget.FilterEditor" ), filterCombo.getText(), //$NON-NLS-1$
browserConnection );
dialog.open();
String filter = dialog.getFilter();
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidgetAutoEditStrategyAdapter.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidgetAutoEditStrategyAdapter.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidgetAutoEditStrategyAdapter.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidgetAutoEditStrategyAdapter.java Wed Oct 21 12:51:13 2009
@@ -105,7 +105,7 @@
String oldText = combo.getText();
//parser.parse( oldText );
- if( !oldTexts.isEmpty() )
+ if ( !oldTexts.isEmpty() )
{
oldTexts.clear();
verifyEvents.clear();
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/LimitWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/LimitWidget.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/LimitWidget.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/LimitWidget.java Wed Oct 21 12:51:13 2009
@@ -97,13 +97,13 @@
public void createWidget( Composite parent )
{
- limitGroup = BaseWidgetUtils.createGroup( parent, Messages.getString("LimitWidget.Limits"), 1 ); //$NON-NLS-1$
+ limitGroup = BaseWidgetUtils.createGroup( parent, Messages.getString( "LimitWidget.Limits" ), 1 ); //$NON-NLS-1$
GridLayout gl = new GridLayout( 2, false );
limitGroup.setLayout( gl );
// Count limit
- String countLimitToolTipText = Messages.getString("LimitWidget.CountLimitTooltip"); //$NON-NLS-1$
- countLimitLabel = BaseWidgetUtils.createLabel( limitGroup, Messages.getString("LimitWidget.CountLimit"), 1 ); //$NON-NLS-1$
+ String countLimitToolTipText = Messages.getString( "LimitWidget.CountLimitTooltip" ); //$NON-NLS-1$
+ countLimitLabel = BaseWidgetUtils.createLabel( limitGroup, Messages.getString( "LimitWidget.CountLimit" ), 1 ); //$NON-NLS-1$
countLimitLabel.setToolTipText( countLimitToolTipText );
countLimitText = BaseWidgetUtils.createText( limitGroup, "", 1 ); //$NON-NLS-1$
countLimitText.setToolTipText( countLimitToolTipText );
@@ -126,8 +126,8 @@
} );
// Time limit
- String timeLimitToolTipText = Messages.getString("LimitWidget.TimeLimitToolTip"); //$NON-NLS-1$
- timeLimitLabel = BaseWidgetUtils.createLabel( limitGroup, Messages.getString("LimitWidget.TimeLimit"), 1 ); //$NON-NLS-1$
+ String timeLimitToolTipText = Messages.getString( "LimitWidget.TimeLimitToolTip" ); //$NON-NLS-1$
+ timeLimitLabel = BaseWidgetUtils.createLabel( limitGroup, Messages.getString( "LimitWidget.TimeLimit" ), 1 ); //$NON-NLS-1$
timeLimitLabel.setToolTipText( timeLimitToolTipText );
timeLimitText = BaseWidgetUtils.createText( limitGroup, "", 1 ); //$NON-NLS-1$
timeLimitText.setToolTipText( timeLimitToolTipText );
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesContentAssistProcessor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesContentAssistProcessor.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesContentAssistProcessor.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesContentAssistProcessor.java Wed Oct 21 12:51:13 2009
@@ -169,7 +169,7 @@
{
IDocument document = contentAssistSubjectControl.getDocument();
String text = document.get();
-
+
// search start of current attribute type
int start = 0;
for ( int i = documentOffset - 1; i >= 0; i-- )
@@ -190,8 +190,7 @@
if ( string.toUpperCase().startsWith( attribute.toUpperCase() ) )
{
ICompletionProposal proposal = new CompletionProposal( string + ", ", start, //$NON-NLS-1$
- documentOffset - start, string.length() + 2, null, string,
- null, null );
+ documentOffset - start, string.length() + 2, null, string, null, null );
proposalList.add( proposal );
}
}
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesWidget.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesWidget.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesWidget.java Wed Oct 21 12:51:13 2009
@@ -219,7 +219,7 @@
}
-
+
/**
* Splits the given string into an array. Only the following
* characters are kept, all other are used to split the string
@@ -277,6 +277,4 @@
}
}
-
-
}
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ScopeWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ScopeWidget.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ScopeWidget.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ScopeWidget.java Wed Oct 21 12:51:13 2009
@@ -91,13 +91,13 @@
// Scope group
scopeGroup = new Group( parent, SWT.NONE );
- scopeGroup.setText( Messages.getString("ScopeWidget.Scope") ); //$NON-NLS-1$
+ scopeGroup.setText( Messages.getString( "ScopeWidget.Scope" ) ); //$NON-NLS-1$
scopeGroup.setLayout( new GridLayout( 1, false ) );
scopeGroup.setLayoutData( new GridData( GridData.FILL_BOTH ) );
// Object radio
scopeObjectButton = new Button( scopeGroup, SWT.RADIO );
- scopeObjectButton.setText( Messages.getString("ScopeWidget.Object") ); //$NON-NLS-1$
+ scopeObjectButton.setText( Messages.getString( "ScopeWidget.Object" ) ); //$NON-NLS-1$
scopeObjectButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
@@ -108,7 +108,7 @@
// Onelevel radio
scopeOnelevelButton = new Button( scopeGroup, SWT.RADIO );
- scopeOnelevelButton.setText( Messages.getString("ScopeWidget.OneLevel") ); //$NON-NLS-1$
+ scopeOnelevelButton.setText( Messages.getString( "ScopeWidget.OneLevel" ) ); //$NON-NLS-1$
scopeOnelevelButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
@@ -119,7 +119,7 @@
// subtree button
scopeSubtreeButton = new Button( scopeGroup, SWT.RADIO );
- scopeSubtreeButton.setText( Messages.getString("ScopeWidget.Subtree") ); //$NON-NLS-1$
+ scopeSubtreeButton.setText( Messages.getString( "ScopeWidget.Subtree" ) ); //$NON-NLS-1$
scopeSubtreeButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent e )
@@ -161,7 +161,7 @@
}
else if ( scopeOnelevelButton.getSelection() )
{
- scope =SearchScope.ONELEVEL;
+ scope = SearchScope.ONELEVEL;
}
else if ( scopeObjectButton.getSelection() )
{
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/SearchPageWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/SearchPageWrapper.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/SearchPageWrapper.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/SearchPageWrapper.java Wed Oct 21 12:51:13 2009
@@ -135,7 +135,7 @@
/** Style for read-only referrals options */
public static final int REFERRALOPTIONS_READONLY = 1 << 25;
-
+
/** Style for invisible follow referrals manually*/
public static final int REFERRALOPTIONS_FOLLOW_MANUAL_INVISIBLE = 1 << 26;
@@ -539,8 +539,8 @@
}
Composite controlComposite = BaseWidgetUtils.createColumnContainer( composite, 1, 3 );
- controlGroup = BaseWidgetUtils.createGroup( controlComposite, Messages
- .getString( "SearchPageWrapper.Controls" ), 1 ); //$NON-NLS-1$
+ controlGroup = BaseWidgetUtils.createGroup( controlComposite,
+ Messages.getString( "SearchPageWrapper.Controls" ), 1 ); //$NON-NLS-1$
// ManageDsaIT control
manageDsaItControlButton = BaseWidgetUtils.createCheckbox( controlGroup, Messages
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeOptionsWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeOptionsWizardPage.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeOptionsWizardPage.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeOptionsWizardPage.java Wed Oct 21 12:51:13 2009
@@ -109,8 +109,8 @@
public AttributeOptionsWizardPage( String pageName, String initialAttributeDescription, AttributeWizard wizard )
{
super( pageName );
- super.setTitle( Messages.getString("AttributeOptionsWizardPage.Options") ); //$NON-NLS-1$
- super.setDescription( Messages.getString("AttributeOptionsWizardPage.OptionsDescription") ); //$NON-NLS-1$
+ super.setTitle( Messages.getString( "AttributeOptionsWizardPage.Options" ) ); //$NON-NLS-1$
+ super.setDescription( Messages.getString( "AttributeOptionsWizardPage.OptionsDescription" ) ); //$NON-NLS-1$
// super.setImageDescriptor(BrowserUIPlugin.getDefault().getImageDescriptor(BrowserUIConstants.IMG_ATTRIBUTE_WIZARD));
super.setPageComplete( false );
@@ -204,7 +204,8 @@
composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );
// Lang group
- langGroup = BaseWidgetUtils.createGroup( composite, Messages.getString("AttributeOptionsWizardPage.LanguageTags"), 2 ); //$NON-NLS-1$
+ langGroup = BaseWidgetUtils.createGroup( composite, Messages
+ .getString( "AttributeOptionsWizardPage.LanguageTags" ), 2 ); //$NON-NLS-1$
GridData gd = new GridData( GridData.FILL_HORIZONTAL );
gd.horizontalSpan = 2;
langGroup.setLayoutData( gd );
@@ -214,14 +215,16 @@
BaseWidgetUtils.createSpacer( composite, 2 );
// Options group with binary option
- optionsGroup = BaseWidgetUtils.createGroup( composite, Messages.getString("AttributeOptionsWizardPage.OtherOptions"), 2 ); //$NON-NLS-1$
+ optionsGroup = BaseWidgetUtils.createGroup( composite, Messages
+ .getString( "AttributeOptionsWizardPage.OtherOptions" ), 2 ); //$NON-NLS-1$
gd = new GridData( GridData.FILL_HORIZONTAL );
gd.horizontalSpan = 2;
optionsGroup.setLayoutData( gd );
Composite optionsComposite = BaseWidgetUtils.createColumnContainer( optionsGroup, 3, 1 );
optionLineList = new ArrayList<OptionLine>();
Composite binaryComposite = BaseWidgetUtils.createColumnContainer( optionsGroup, 1, 1 );
- binaryOptionButton = BaseWidgetUtils.createCheckbox( binaryComposite, Messages.getString("AttributeOptionsWizardPage.BinaryOption"), 1 ); //$NON-NLS-1$
+ binaryOptionButton = BaseWidgetUtils.createCheckbox( binaryComposite, Messages
+ .getString( "AttributeOptionsWizardPage.BinaryOption" ), 1 ); //$NON-NLS-1$
binaryOptionButton.setSelection( parsedBinary );
Label la = new Label( composite, SWT.NONE );
@@ -230,7 +233,7 @@
la.setLayoutData( gd );
// Preview text
- BaseWidgetUtils.createLabel( composite, Messages.getString("AttributeOptionsWizardPage.Preview"), 1 ); //$NON-NLS-1$
+ BaseWidgetUtils.createLabel( composite, Messages.getString( "AttributeOptionsWizardPage.Preview" ), 1 ); //$NON-NLS-1$
previewText = BaseWidgetUtils.createReadonlyText( composite, "", 1 ); //$NON-NLS-1$
// fill lang
@@ -309,7 +312,7 @@
{
if ( s1 == null || s2 == null )
{
- throw new ClassCastException( Messages.getString("AttributeOptionsWizardPage.MustNotBeNull") ); //$NON-NLS-1$
+ throw new ClassCastException( Messages.getString( "AttributeOptionsWizardPage.MustNotBeNull" ) ); //$NON-NLS-1$
}
return s1.compareToIgnoreCase( s2 );
}
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.java Wed Oct 21 12:51:13 2009
@@ -107,8 +107,8 @@
boolean initialShowSubschemaAttributesOnly, boolean initialHideExistingAttributes, AttributeWizard wizard )
{
super( pageName );
- super.setTitle( Messages.getString("AttributeTypeWizardPage.AttributeType") ); //$NON-NLS-1$
- super.setDescription( Messages.getString("AttributeTypeWizardPage.AttributeTypeDescription") ); //$NON-NLS-1$
+ super.setTitle( Messages.getString( "AttributeTypeWizardPage.AttributeType" ) ); //$NON-NLS-1$
+ super.setDescription( Messages.getString( "AttributeTypeWizardPage.AttributeTypeDescription" ) ); //$NON-NLS-1$
// super.setImageDescriptor(BrowserUIPlugin.getDefault().getImageDescriptor(BrowserUIConstants.IMG_ATTRIBUTE_WIZARD));
super.setPageComplete( false );
@@ -121,10 +121,10 @@
Collection<String> atdNames = SchemaUtils.getNames( atds );
possibleAttributeTypes = atdNames.toArray( new String[atdNames.size()] );
Arrays.sort( possibleAttributeTypes );
-
+
Collection<AttributeTypeDescription> allAtds = SchemaUtils.getAllAttributeTypeDescriptions( initialEntry );
Collection<String> names = SchemaUtils.getNames( allAtds );
- possibleAttributeTypesSubschemaOnly = names.toArray(new String[0]);
+ possibleAttributeTypesSubschemaOnly = names.toArray( new String[0] );
Arrays.sort( possibleAttributeTypesSubschemaOnly );
Set<String> set = new HashSet<String>( Arrays.asList( possibleAttributeTypesSubschemaOnly ) );
@@ -179,7 +179,7 @@
composite.setLayout( gl );
composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );
- BaseWidgetUtils.createLabel( composite, Messages.getString("AttributeTypeWizardPage.AttributeTypeLabel"), 1 ); //$NON-NLS-1$
+ BaseWidgetUtils.createLabel( composite, Messages.getString( "AttributeTypeWizardPage.AttributeTypeLabel" ), 1 ); //$NON-NLS-1$
// attribute combo with field decoration and content proposal
attributeTypeCombo = BaseWidgetUtils.createCombo( composite, possibleAttributeTypes, -1, 1 );
@@ -188,12 +188,14 @@
new ListContentProposalProvider( possibleAttributeTypes ), null, null, true );
BaseWidgetUtils.createSpacer( composite, 1 );
- showSubschemAttributesOnlyButton = BaseWidgetUtils.createCheckbox( composite, Messages.getString("AttributeTypeWizardPage.ShowSubschemaAttributesOnly"), //$NON-NLS-1$
+ showSubschemAttributesOnlyButton = BaseWidgetUtils.createCheckbox( composite, Messages
+ .getString( "AttributeTypeWizardPage.ShowSubschemaAttributesOnly" ), //$NON-NLS-1$
1 );
showSubschemAttributesOnlyButton.setSelection( initialShowSubschemaAttributesOnly );
BaseWidgetUtils.createSpacer( composite, 1 );
- hideExistingAttributesButton = BaseWidgetUtils.createCheckbox( composite, Messages.getString("AttributeTypeWizardPage.HideExistingAttributes"), 1 ); //$NON-NLS-1$
+ hideExistingAttributesButton = BaseWidgetUtils.createCheckbox( composite, Messages
+ .getString( "AttributeTypeWizardPage.HideExistingAttributes" ), 1 ); //$NON-NLS-1$
hideExistingAttributesButton.setSelection( initialHideExistingAttributes );
Label l = new Label( composite, SWT.NONE );
@@ -201,7 +203,7 @@
gd.horizontalSpan = 2;
l.setLayoutData( gd );
- BaseWidgetUtils.createLabel( composite, Messages.getString("AttributeTypeWizardPage.PreviewLabel"), 1 ); //$NON-NLS-1$
+ BaseWidgetUtils.createLabel( composite, Messages.getString( "AttributeTypeWizardPage.PreviewLabel" ), 1 ); //$NON-NLS-1$
previewText = BaseWidgetUtils.createReadonlyText( composite, "", 1 ); //$NON-NLS-1$
// attribute type listener
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java Wed Oct 21 12:51:13 2009
@@ -74,7 +74,7 @@
*/
public AttributeWizard()
{
- super.setWindowTitle( Messages.getString("AttributeWizard.NewAttribute") ); //$NON-NLS-1$
+ super.setWindowTitle( Messages.getString( "AttributeWizard.NewAttribute" ) ); //$NON-NLS-1$
super.setNeedsProgressMonitor( false );
this.initialShowSubschemaAttributesOnly = true;
this.initialHideExistingAttributes = true;
@@ -175,8 +175,8 @@
protected DummyWizardPage()
{
super( "" ); //$NON-NLS-1$
- super.setTitle( Messages.getString("AttributeWizard.NoEntrySelected") ); //$NON-NLS-1$
- super.setDescription( Messages.getString("AttributeWizard.NoeEntrySelectedDescription") ); //$NON-NLS-1$
+ super.setTitle( Messages.getString( "AttributeWizard.NoEntrySelected" ) ); //$NON-NLS-1$
+ super.setDescription( Messages.getString( "AttributeWizard.NoeEntrySelectedDescription" ) ); //$NON-NLS-1$
// super.setImageDescriptor(BrowserUIPlugin.getDefault().getImageDescriptor(BrowserUIConstants.IMG_ATTRIBUTE_WIZARD));
super.setPageComplete( true );
}
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java Wed Oct 21 12:51:13 2009
@@ -95,14 +95,14 @@
public NewEntryDnWizardPage( String pageName, NewEntryWizard wizard )
{
super( pageName );
- setTitle( Messages.getString("NewEntryDnWizardPage.DistinguishedName") ); //$NON-NLS-1$
+ setTitle( Messages.getString( "NewEntryDnWizardPage.DistinguishedName" ) ); //$NON-NLS-1$
if ( wizard.isNewContextEntry() )
{
- setDescription( Messages.getString("NewEntryDnWizardPage.EnterDN") ); //$NON-NLS-1$
+ setDescription( Messages.getString( "NewEntryDnWizardPage.EnterDN" ) ); //$NON-NLS-1$
}
else
{
- setDescription( Messages.getString("NewEntryDnWizardPage.SelectParent") ); //$NON-NLS-1$
+ setDescription( Messages.getString( "NewEntryDnWizardPage.SelectParent" ) ); //$NON-NLS-1$
}
setImageDescriptor( BrowserCommonActivator.getDefault().getImageDescriptor(
BrowserCommonConstants.IMG_ENTRY_WIZARD ) );
@@ -183,7 +183,7 @@
else
{
Collection<AttributeTypeDescription> atds = SchemaUtils.getAllAttributeTypeDescriptions( newEntry );
- String[] attributeNames = SchemaUtils.getNames( atds ).toArray(ArrayUtils.EMPTY_STRING_ARRAY);
+ String[] attributeNames = SchemaUtils.getNames( atds ).toArray( ArrayUtils.EMPTY_STRING_ARRAY );
LdapDN parentDn = null;
if ( wizard.getSelectedEntry() != null && newEntry.getDn().equals( wizard.getSelectedEntry().getDn() )
@@ -360,8 +360,12 @@
{
public void run()
{
- MessageDialog.openError( getShell(), Messages.getString("NewEntryDnWizardPage.Error"), //$NON-NLS-1$
- NLS.bind( Messages.getString("NewEntryDnWizardPage.ParentDoesNotExist"), dnBuilderWidget.getParentDn().toString() ) ); //$NON-NLS-1$
+ MessageDialog
+ .openError( getShell(),
+ Messages.getString( "NewEntryDnWizardPage.Error" ), //$NON-NLS-1$
+ NLS
+ .bind(
+ Messages.getString( "NewEntryDnWizardPage.ParentDoesNotExist" ), dnBuilderWidget.getParentDn().toString() ) ); //$NON-NLS-1$
}
} );
return null;
@@ -377,7 +381,10 @@
{
public void run()
{
- MessageDialog.openError( getShell(), Messages.getString("NewEntryDnWizardPage.Error"), NLS.bind( Messages.getString("NewEntryDnWizardPage.EntryAlreadyExists"), dn.toString() ) ); //$NON-NLS-1$ //$NON-NLS-2$
+ MessageDialog
+ .openError(
+ getShell(),
+ Messages.getString( "NewEntryDnWizardPage.Error" ), NLS.bind( Messages.getString( "NewEntryDnWizardPage.EntryAlreadyExists" ), dn.toString() ) ); //$NON-NLS-1$ //$NON-NLS-2$
}
} );
return null;
@@ -388,7 +395,7 @@
try
{
final LdapDN dn = new LdapDN( contextEntryDnCombo.getText() );
-
+
// check that new entry does not exists yet
ReadEntryRunnable readEntryRunnable2 = new ReadEntryRunnable( wizard.getSelectedConnection(), dn );
RunnableContextRunner.execute( readEntryRunnable2, getContainer(), false );
@@ -399,7 +406,10 @@
{
public void run()
{
- MessageDialog.openError( getShell(), Messages.getString("NewEntryDnWizardPage.Error"), NLS.bind( Messages.getString("NewEntryDnWizardPage.EntryAlreadyExists"), dn.toString() ) ); //$NON-NLS-1$ //$NON-NLS-2$
+ MessageDialog
+ .openError(
+ getShell(),
+ Messages.getString( "NewEntryDnWizardPage.Error" ), NLS.bind( Messages.getString( "NewEntryDnWizardPage.EntryAlreadyExists" ), dn.toString() ) ); //$NON-NLS-1$ //$NON-NLS-2$
}
} );
return null;
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java Wed Oct 21 12:51:13 2009
@@ -324,8 +324,8 @@
Composite availableObjectClassesComposite = BaseWidgetUtils.createColumnContainer( composite, 1, 1 );
- Composite availableObjectClassesInstantSearchComposite = BaseWidgetUtils
- .createColumnContainer( availableObjectClassesComposite, 2, 1 );
+ Composite availableObjectClassesInstantSearchComposite = BaseWidgetUtils.createColumnContainer(
+ availableObjectClassesComposite, 2, 1 );
availableObjectClassesInstantSearch = new Text( availableObjectClassesInstantSearchComposite, SWT.NONE
| SWT.BORDER | SWT.SEARCH | SWT.CANCEL );
availableObjectClassesInstantSearch.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) );
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryTypeWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryTypeWizardPage.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryTypeWizardPage.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryTypeWizardPage.java Wed Oct 21 12:51:13 2009
@@ -88,8 +88,8 @@
public NewEntryTypeWizardPage( String pageName, NewEntryWizard wizard )
{
super( pageName );
- setTitle( Messages.getString("NewEntryTypeWizardPage.EntryCreationMethod") ); //$NON-NLS-1$
- setDescription( Messages.getString("NewEntryTypeWizardPage.EntryCreationMethodDescription") ); //$NON-NLS-1$
+ setTitle( Messages.getString( "NewEntryTypeWizardPage.EntryCreationMethod" ) ); //$NON-NLS-1$
+ setDescription( Messages.getString( "NewEntryTypeWizardPage.EntryCreationMethodDescription" ) ); //$NON-NLS-1$
setImageDescriptor( BrowserCommonActivator.getDefault().getImageDescriptor(
BrowserCommonConstants.IMG_ENTRY_WIZARD ) );
setPageComplete( false );
@@ -151,7 +151,10 @@
{
public void run()
{
- MessageDialog.openError( getShell(), Messages.getString("NewEntryTypeWizardPage.Error"), Messages.getString("NewEntryTypeWizardPage.NoConnection") ); //$NON-NLS-1$ //$NON-NLS-2$
+ MessageDialog
+ .openError(
+ getShell(),
+ Messages.getString( "NewEntryTypeWizardPage.Error" ), Messages.getString( "NewEntryTypeWizardPage.NoConnection" ) ); //$NON-NLS-1$ //$NON-NLS-2$
}
} );
return null;
@@ -162,7 +165,10 @@
{
public void run()
{
- MessageDialog.openError( getShell(), Messages.getString("NewEntryTypeWizardPage.Error"), Messages.getString("NewEntryTypeWizardPage.NoDN") ); //$NON-NLS-1$ //$NON-NLS-2$
+ MessageDialog
+ .openError(
+ getShell(),
+ Messages.getString( "NewEntryTypeWizardPage.Error" ), Messages.getString( "NewEntryTypeWizardPage.NoDN" ) ); //$NON-NLS-1$ //$NON-NLS-2$
}
} );
return null;
@@ -178,7 +184,10 @@
{
public void run()
{
- MessageDialog.openError( getShell(), Messages.getString("NewEntryTypeWizardPage.Error"), NLS.bind(Messages.getString("NewEntryTypeWizardPage.EntryDoesNotExist"), dn.toString() ) ); //$NON-NLS-1$ //$NON-NLS-2$
+ MessageDialog
+ .openError(
+ getShell(),
+ Messages.getString( "NewEntryTypeWizardPage.Error" ), NLS.bind( Messages.getString( "NewEntryTypeWizardPage.EntryDoesNotExist" ), dn.toString() ) ); //$NON-NLS-1$ //$NON-NLS-2$
}
} );
return null;
@@ -236,9 +245,11 @@
composite.setLayout( gl );
composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );
- schemaButton = BaseWidgetUtils.createRadiobutton( composite, Messages.getString("NewEntryTypeWizardPage.CreateEntryFromScratch"), 1 ); //$NON-NLS-1$
+ schemaButton = BaseWidgetUtils.createRadiobutton( composite, Messages
+ .getString( "NewEntryTypeWizardPage.CreateEntryFromScratch" ), 1 ); //$NON-NLS-1$
schemaButton.addSelectionListener( this );
- templateButton = BaseWidgetUtils.createRadiobutton( composite, Messages.getString("NewEntryTypeWizardPage.UseExistingEntryAsTemplate"), 1 ); //$NON-NLS-1$
+ templateButton = BaseWidgetUtils.createRadiobutton( composite, Messages
+ .getString( "NewEntryTypeWizardPage.UseExistingEntryAsTemplate" ), 1 ); //$NON-NLS-1$
templateButton.addSelectionListener( this );
Composite entryComposite = BaseWidgetUtils.createColumnContainer( composite, 3, 1 );
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java Wed Oct 21 12:51:13 2009
@@ -117,11 +117,11 @@
if ( isNewContextEntry() )
{
- setWindowTitle( Messages.getString("NewEntryWizard.NewContextEntry") ); //$NON-NLS-1$
+ setWindowTitle( Messages.getString( "NewEntryWizard.NewContextEntry" ) ); //$NON-NLS-1$
}
else
{
- setWindowTitle( Messages.getString("NewEntryWizard.NewEntry") ); //$NON-NLS-1$
+ setWindowTitle( Messages.getString( "NewEntryWizard.NewEntry" ) ); //$NON-NLS-1$
}
if ( o instanceof IEntry )
@@ -267,8 +267,8 @@
protected DummyWizardPage()
{
super( "" ); //$NON-NLS-1$
- setTitle( Messages.getString("NewEntryWizard.NoConnectonSelected") ); //$NON-NLS-1$
- setDescription( Messages.getString("NewEntryWizard.NoConnectonSelectedDescription") ); //$NON-NLS-1$
+ setTitle( Messages.getString( "NewEntryWizard.NoConnectonSelected" ) ); //$NON-NLS-1$
+ setDescription( Messages.getString( "NewEntryWizard.NoConnectonSelectedDescription" ) ); //$NON-NLS-1$
setImageDescriptor( BrowserCommonActivator.getDefault().getImageDescriptor(
BrowserCommonConstants.IMG_ENTRY_WIZARD ) );
setPageComplete( true );
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractDialogBinaryValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractDialogBinaryValueEditor.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractDialogBinaryValueEditor.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractDialogBinaryValueEditor.java Wed Oct 21 12:51:13 2009
@@ -66,11 +66,11 @@
else if ( value.isBinary() )
{
byte[] data = value.getBinaryValue();
- return NLS.bind( Messages.getString("AbstractDialogBinaryValueEditor.BinaryDateNBytes"), data.length ); //$NON-NLS-1$
+ return NLS.bind( Messages.getString( "AbstractDialogBinaryValueEditor.BinaryDateNBytes" ), data.length ); //$NON-NLS-1$
}
else
{
- return Messages.getString("AbstractDialogBinaryValueEditor.InvalidData"); //$NON-NLS-1$
+ return Messages.getString( "AbstractDialogBinaryValueEditor.InvalidData" ); //$NON-NLS-1$
}
}
}
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/EntryValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/EntryValueEditor.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/EntryValueEditor.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/EntryValueEditor.java Wed Oct 21 12:51:13 2009
@@ -175,7 +175,7 @@
StringBuffer sb = new StringBuffer();
if ( valueList.size() > 1 )
{
- sb.append( NLS.bind( Messages.getString("EntryValueEditor.n_values"), valueList.size() ) ); //$NON-NLS-1$
+ sb.append( NLS.bind( Messages.getString( "EntryValueEditor.n_values" ), valueList.size() ) ); //$NON-NLS-1$
}
for ( Iterator<IValue> it = valueList.iterator(); it.hasNext(); )
{
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/InPlaceTextValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/InPlaceTextValueEditor.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/InPlaceTextValueEditor.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/InPlaceTextValueEditor.java Wed Oct 21 12:51:13 2009
@@ -21,8 +21,6 @@
package org.apache.directory.studio.valueeditors;
-
-
/**
* The default editor for string values.
*
Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/MultivaluedValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/MultivaluedValueEditor.java?rev=827993&r1=827992&r2=827993&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/MultivaluedValueEditor.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/MultivaluedValueEditor.java Wed Oct 21 12:51:13 2009
@@ -170,7 +170,7 @@
StringBuffer sb = new StringBuffer();
if ( valueList.size() > 1 )
{
- sb.append( NLS.bind( Messages.getString("EntryValueEditor.n_values"), valueList.size() ) ); //$NON-NLS-1$
+ sb.append( NLS.bind( Messages.getString( "EntryValueEditor.n_values" ), valueList.size() ) ); //$NON-NLS-1$
}
for ( Iterator<IValue> it = valueList.iterator(); it.hasNext(); )
{