You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2007/04/09 11:59:22 UTC
svn commit: r526698 [5/5] - in
/directory/ldapstudio/trunk/ldapstudio-ldifeditor: ./ META-INF/ resources/
resources/icons/ resources/templates/ src/ src/main/ src/main/java/
src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/director...
Added: directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifRecordRule.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifRecordRule.java?view=auto&rev=526698
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifRecordRule.java (added)
+++ directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifRecordRule.java Mon Apr 9 02:59:19 2007
@@ -0,0 +1,222 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.directory.ldapstudio.ldifeditor.editor.text;
+
+
+import org.eclipse.jface.text.rules.ICharacterScanner;
+import org.eclipse.jface.text.rules.IPredicateRule;
+import org.eclipse.jface.text.rules.IToken;
+import org.eclipse.jface.text.rules.Token;
+
+
+/**
+ * Rule to detect LDIF records. A LDIF record must start with "dn:" at column 0
+ * and end with new line at column 0.
+ *
+ *
+ */
+public class LdifRecordRule implements IPredicateRule
+{
+
+ private static char[] DN_SEQUENCE = new char[]
+ { 'd', 'n', ':' };
+
+ private IToken recordToken;
+
+
+ public LdifRecordRule( IToken recordToken )
+ {
+ this.recordToken = recordToken;
+ }
+
+
+ public IToken getSuccessToken()
+ {
+ return this.recordToken;
+ }
+
+
+ /**
+ * Checks for new line "\n", "\r" or "\r\n".
+ *
+ * @param scanner
+ * @return
+ */
+ private int matchNewline( ICharacterScanner scanner )
+ {
+
+ int c = scanner.read();
+
+ if ( c == '\r' )
+ {
+ c = scanner.read();
+ if ( c == '\n' )
+ {
+ return 2;
+ }
+ else
+ {
+ scanner.unread();
+ return 1;
+ }
+ }
+ else if ( c == '\n' )
+ {
+ c = scanner.read();
+ if ( c == '\r' )
+ {
+ return 2;
+ }
+ else
+ {
+ scanner.unread();
+ return 1;
+ }
+ }
+ else
+ {
+ scanner.unread();
+ return 0;
+ }
+ }
+
+
+ /**
+ * Checks for "dn:".
+ *
+ * @param scanner
+ * @return
+ */
+ private int matchDnAndColon( ICharacterScanner scanner )
+ {
+
+ for ( int i = 0; i < DN_SEQUENCE.length; i++ )
+ {
+
+ int c = scanner.read();
+
+ if ( c != DN_SEQUENCE[i] )
+ {
+ while ( i >= 0 )
+ {
+ scanner.unread();
+ i--;
+ }
+ return 0;
+ }
+
+ }
+
+ return DN_SEQUENCE.length;
+ }
+
+
+ private boolean matchEOF( ICharacterScanner scanner )
+ {
+ int c = scanner.read();
+ if ( c == ICharacterScanner.EOF )
+ {
+ return true;
+ }
+ else
+ {
+ scanner.unread();
+ return false;
+ }
+ }
+
+
+ public IToken evaluate( ICharacterScanner scanner, boolean resume )
+ {
+
+ if ( scanner.getColumn() != 0 )
+ {
+ return Token.UNDEFINED;
+ }
+
+ int c;
+
+ do
+ {
+ c = scanner.read();
+
+ if ( c == '\r' || c == '\n' )
+ {
+
+ // check end of record
+ scanner.unread();
+
+ if ( this.matchNewline( scanner ) > 0 )
+ {
+
+ int nlCount = this.matchNewline( scanner );
+ if ( nlCount > 0 )
+ {
+ int dnCount = this.matchDnAndColon( scanner );
+ if ( dnCount > 0 )
+ {
+ while ( dnCount > 0 )
+ {
+ scanner.unread();
+ dnCount--;
+ }
+ return this.recordToken;
+ }
+ else if ( this.matchEOF( scanner ) )
+ {
+ return this.recordToken;
+ }
+ else
+ {
+ while ( nlCount > 0 )
+ {
+ scanner.unread();
+ nlCount--;
+ }
+ }
+ }
+ else if ( this.matchEOF( scanner ) )
+ {
+ return this.recordToken;
+ }
+ }
+ else if ( this.matchEOF( scanner ) )
+ {
+ return this.recordToken;
+ }
+
+ }
+ else if ( c == ICharacterScanner.EOF )
+ {
+ return this.recordToken;
+ }
+ }
+ while ( true );
+
+ }
+
+
+ public IToken evaluate( ICharacterScanner scanner )
+ {
+ return this.evaluate( scanner, false );
+ }
+
+}
Added: directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifTextHover.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifTextHover.java?view=auto&rev=526698
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifTextHover.java (added)
+++ directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifTextHover.java Mon Apr 9 02:59:19 2007
@@ -0,0 +1,87 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.directory.ldapstudio.ldifeditor.editor.text;
+
+
+import org.apache.directory.ldapstudio.browser.core.model.ldif.LdifFile;
+import org.apache.directory.ldapstudio.browser.core.model.ldif.LdifPart;
+import org.apache.directory.ldapstudio.browser.core.model.ldif.container.LdifContainer;
+import org.apache.directory.ldapstudio.browser.core.model.ldif.lines.LdifValueLineBase;
+import org.apache.directory.ldapstudio.ldifeditor.editor.ILdifEditor;
+
+import org.eclipse.jface.text.IRegion;
+import org.eclipse.jface.text.ITextHover;
+import org.eclipse.jface.text.ITextViewer;
+import org.eclipse.jface.text.Region;
+
+
+public class LdifTextHover implements ITextHover
+{
+
+ private ILdifEditor editor;
+
+
+ public LdifTextHover( ILdifEditor editor )
+ {
+ this.editor = editor;
+ }
+
+
+ public String getHoverInfo( ITextViewer textViewer, IRegion hoverRegion )
+ {
+
+ if ( this.editor != null )
+ {
+
+ LdifContainer container = LdifFile.getContainer( this.editor.getLdifModel(), hoverRegion.getOffset() );
+ if ( container != null )
+ {
+ LdifPart part = LdifFile.getContainerContent( container, hoverRegion.getOffset() );
+ if ( part != null )
+ {
+ if ( part instanceof LdifValueLineBase )
+ {
+ LdifValueLineBase line = ( LdifValueLineBase ) part;
+ if ( line.isValueTypeBase64() )
+ {
+ return line.getValueAsString();
+ }
+ }
+ }
+ }
+ }
+
+ return null;
+ }
+
+
+ public IRegion getHoverRegion( ITextViewer textViewer, int offset )
+ {
+
+ if ( this.editor != null )
+ {
+ return new Region( offset, 0 );
+ }
+
+ return null;
+ }
+
+}
Added: directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifValueRule.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifValueRule.java?view=auto&rev=526698
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifValueRule.java (added)
+++ directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/editor/text/LdifValueRule.java Mon Apr 9 02:59:19 2007
@@ -0,0 +1,121 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.directory.ldapstudio.ldifeditor.editor.text;
+
+
+import org.eclipse.jface.text.rules.ICharacterScanner;
+import org.eclipse.jface.text.rules.IRule;
+import org.eclipse.jface.text.rules.IToken;
+import org.eclipse.jface.text.rules.Token;
+
+
+public class LdifValueRule implements IRule
+{
+
+ private IToken token;
+
+
+ public LdifValueRule( IToken token )
+ {
+ this.token = token;
+ }
+
+
+ public IToken evaluate( ICharacterScanner scanner )
+ {
+
+ if ( matchContent( scanner ) )
+ {
+ return this.token;
+ }
+ else
+ {
+ return Token.UNDEFINED;
+ }
+
+ }
+
+
+ protected boolean matchContent( ICharacterScanner scanner )
+ {
+
+ int count = 0;
+
+ int c = scanner.read();
+ while ( c != ICharacterScanner.EOF )
+ {
+
+ // check for folding
+ if ( c == '\n' || c == '\r' )
+ {
+ StringBuffer temp = new StringBuffer( 3 );
+ if ( c == '\r' )
+ {
+ c = scanner.read();
+ if ( c == '\n' )
+ {
+ temp.append( c );
+ }
+ else
+ {
+ scanner.unread();
+ }
+ }
+ else if ( c == '\n' )
+ {
+ c = scanner.read();
+ if ( c == '\r' )
+ {
+ temp.append( c );
+ }
+ else
+ {
+ scanner.unread();
+ }
+ }
+
+ c = scanner.read();
+ if ( c == ' ' && c != ICharacterScanner.EOF )
+ {
+ // space after newline, continue
+ temp.append( c );
+ count += temp.length();
+ c = scanner.read();
+ }
+ else
+ {
+ for ( int i = 0; i < temp.length(); i++ )
+ scanner.unread();
+ break;
+ }
+ }
+ else
+ {
+ count++;
+ c = scanner.read();
+ }
+ }
+ scanner.unread();
+
+ return count > 0;
+ }
+
+}
Added: directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/widgets/LdifEditorWidget.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/widgets/LdifEditorWidget.java?view=auto&rev=526698
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/widgets/LdifEditorWidget.java (added)
+++ directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/widgets/LdifEditorWidget.java Mon Apr 9 02:59:19 2007
@@ -0,0 +1,215 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.directory.ldapstudio.ldifeditor.widgets;
+
+
+import org.apache.directory.ldapstudio.browser.common.widgets.BrowserWidget;
+import org.apache.directory.ldapstudio.browser.core.model.IConnection;
+import org.apache.directory.ldapstudio.browser.core.model.ldif.LdifFile;
+import org.apache.directory.ldapstudio.ldifeditor.editor.ILdifEditor;
+import org.apache.directory.ldapstudio.ldifeditor.editor.LdifDocumentProvider;
+import org.apache.directory.ldapstudio.ldifeditor.editor.LdifSourceViewerConfiguration;
+import org.apache.directory.ldapstudio.ldifeditor.editor.NonExistingLdifEditorInput;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.resource.JFaceResources;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.jface.text.ITextListener;
+import org.eclipse.jface.text.TextEvent;
+import org.eclipse.jface.text.source.SourceViewer;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.graphics.Font;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+
+
+/**
+ * The LdifEditorWidget provides basic LDIF editor functionality like
+ * syntax highlighting and content assistent.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class LdifEditorWidget extends BrowserWidget implements ILdifEditor, ITextListener
+{
+
+ /** The connection. */
+ private IConnection connection;
+
+ /** The initial LDIF. */
+ private String initialLdif;
+
+ /** The content assist enabled. */
+ private boolean contentAssistEnabled;
+
+ /** The editor input. */
+ private NonExistingLdifEditorInput editorInput;
+
+ /** The document provider. */
+ private LdifDocumentProvider documentProvider;
+
+ /** The source viewer. */
+ private SourceViewer sourceViewer;
+
+ /** The source viewer configuration. */
+ private LdifSourceViewerConfiguration sourceViewerConfiguration;
+
+
+ /**
+ * Creates a new instance of LdifEditorWidget.
+ *
+ * @param contentAssistEnabled the content assist enabled
+ * @param initialLdif the initial ldif
+ * @param connection the connection
+ */
+ public LdifEditorWidget( IConnection connection, String initialLdif, boolean contentAssistEnabled )
+ {
+ this.connection = connection;
+ this.initialLdif = initialLdif;
+ this.contentAssistEnabled = contentAssistEnabled;
+ }
+
+
+ /**
+ * Disposes this widget.
+ */
+ public void dispose()
+ {
+ if ( editorInput != null )
+ {
+ sourceViewer.removeTextListener( this );
+ documentProvider.disconnect( editorInput );
+ // documentProvider = null;
+ editorInput = null;
+ }
+ }
+
+
+ /**
+ * Creates the widget.
+ *
+ * @param parent the parent
+ */
+ public void createWidget( Composite parent )
+ {
+ Composite composite = new Composite( parent, SWT.NONE );
+ composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );
+ GridLayout layout = new GridLayout( 1, false );
+ layout.marginWidth = 0;
+ layout.marginHeight = 0;
+ composite.setLayout( layout );
+
+ // create source viewer
+ // sourceViewer = new ProjectionViewer(parent, ruler,
+ // getOverviewRuler(), true, styles);
+ sourceViewer = new SourceViewer( composite, null, null, false, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL );
+ sourceViewer.getControl().setLayoutData( new GridData( GridData.FILL_BOTH ) );
+
+ // configure
+ sourceViewerConfiguration = new LdifSourceViewerConfiguration( this, this.contentAssistEnabled );
+ sourceViewer.configure( sourceViewerConfiguration );
+
+ // set font
+ Font font = JFaceResources.getFont( JFaceResources.TEXT_FONT );
+ sourceViewer.getTextWidget().setFont( font );
+
+ // setup document
+ try
+ {
+ editorInput = new NonExistingLdifEditorInput();
+ documentProvider = new LdifDocumentProvider();
+ documentProvider.connect( editorInput );
+
+ IDocument document = documentProvider.getDocument( editorInput );
+ document.set( initialLdif );
+ sourceViewer.setDocument( document );
+ }
+ catch ( CoreException e )
+ {
+ e.printStackTrace();
+ }
+
+ // listener
+ sourceViewer.addTextListener( this );
+
+ // focus
+ sourceViewer.getControl().setFocus();
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public IConnection getConnection()
+ {
+ return connection;
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public LdifFile getLdifModel()
+ {
+ return documentProvider.getLdifModel();
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public Object getAdapter( Class adapter )
+ {
+ return null;
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public void textChanged( TextEvent event )
+ {
+ super.notifyListeners();
+ }
+
+
+ /**
+ * Gets the source viewer.
+ *
+ * @return the source viewer
+ */
+ public SourceViewer getSourceViewer()
+ {
+ return sourceViewer;
+ }
+
+
+ /**
+ * Gets the source viewer configuration.
+ *
+ * @return the source viewer configuration
+ */
+ public LdifSourceViewerConfiguration getSourceViewerConfiguration()
+ {
+ return sourceViewerConfiguration;
+ }
+
+}
Added: directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/wizards/NewLdifFileWizard.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/wizards/NewLdifFileWizard.java?view=auto&rev=526698
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/wizards/NewLdifFileWizard.java (added)
+++ directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/java/org/apache/directory/ldapstudio/ldifeditor/wizards/NewLdifFileWizard.java Mon Apr 9 02:59:19 2007
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+package org.apache.directory.ldapstudio.ldifeditor.wizards;
+
+
+import org.apache.directory.ldapstudio.ldifeditor.editor.LdifEditor;
+import org.apache.directory.ldapstudio.ldifeditor.editor.NonExistingLdifEditorInput;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.wizard.Wizard;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.INewWizard;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.PartInitException;
+
+
+/**
+ * The NewLdifFileWizard is used to add a "New LDIF" action to the platforms
+ * "New..." menu. It just opens an editor with a dummy LDIF editor input.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+
+public class NewLdifFileWizard extends Wizard implements INewWizard
+{
+
+ /** The window. */
+ private IWorkbenchWindow window;
+
+
+ /**
+ * Creates a new instance of NewLdifFileWizard.
+ */
+ public NewLdifFileWizard()
+ {
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public void init( IWorkbench workbench, IStructuredSelection selection )
+ {
+ window = workbench.getActiveWorkbenchWindow();
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public void dispose()
+ {
+ window = null;
+ }
+
+
+ /**
+ * Gets the id.
+ *
+ * @return the id
+ */
+ public static String getId()
+ {
+ return NewLdifFileWizard.class.getName();
+ }
+
+
+ /**
+ * {@inheritDoc}
+ */
+ public boolean performFinish()
+ {
+ IEditorInput input = new NonExistingLdifEditorInput();
+ String editorId = LdifEditor.getId();
+
+ try
+ {
+ IWorkbenchPage page = window.getActivePage();
+ page.openEditor( input, editorId );
+ }
+ catch ( PartInitException e )
+ {
+ return false;
+ }
+ return true;
+ }
+
+}
Added: directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/resources/org/apache/directory/ldapstudio/ldifeditor/messages.properties
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/resources/org/apache/directory/ldapstudio/ldifeditor/messages.properties?view=auto&rev=526698
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/resources/org/apache/directory/ldapstudio/ldifeditor/messages.properties (added)
+++ directory/ldapstudio/trunk/ldapstudio-ldifeditor/src/main/resources/org/apache/directory/ldapstudio/ldifeditor/messages.properties Mon Apr 9 02:59:19 2007
@@ -0,0 +1,3 @@
+ldifeditor__contentassistproposal_label=Content Assist
+ldifeditor__contentassistproposal_tooltip=Content Assist
+ldifeditor__contentassistproposal_description=Content Assist