import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Platform;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IEditorInput;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IEditorInput;
- ErrorLogger.defaultLogWarning("Invalid parameter '" + parameter + ". Complete view argument: " + data, null);
+ ErrorLogger.defaultLogWarning(NLS.bind(Messages.DiagramEditor_InvalidParameter, parameter, data), null);
protected DiagramViewer createViewer() throws PartInitException {
if (viewerClassName == null)
throw new PartInitException(
protected DiagramViewer createViewer() throws PartInitException {
if (viewerClassName == null)
throw new PartInitException(
- "DiagramViewer contributor class was not specified in editor extension's class attribute viewer-argument. contributor is '"
- + viewerContributor + "'");
+ "DiagramViewer contributor class was not specified in editor extension's class attribute viewer-argument. contributor is '" //$NON-NLS-1$
+ + viewerContributor + "'"); //$NON-NLS-1$
- throw new PartInitException("DiagramViewer '" + viewerClassName + "' contributor bundle '"
- + viewerContributor + "' was not found in the platform.");
+ throw new PartInitException("DiagramViewer '" + viewerClassName + "' contributor bundle '" //$NON-NLS-1$ //$NON-NLS-2$
+ + viewerContributor + "' was not found in the platform."); //$NON-NLS-1$
- throw new PartInitException("DiagramViewer class '" + viewerClassName + "' is not assignable to "
- + DiagramViewer.class + ".");
+ throw new PartInitException("DiagramViewer class '" + viewerClassName + "' is not assignable to " //$NON-NLS-1$ //$NON-NLS-2$
+ + DiagramViewer.class + "."); //$NON-NLS-1$
- throw new PartInitException("Failed to instantiate DiagramViewer implementation '" + viewerClassName
- + "' from bundle '" + viewerContributor + "'. See exception for details.", e);
+ throw new PartInitException("Failed to instantiate DiagramViewer implementation '" + viewerClassName //$NON-NLS-1$
+ + "' from bundle '" + viewerContributor + "'. See exception for details.", e); //$NON-NLS-1$ //$NON-NLS-2$