Index: PageLayout.java =================================================================== RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PageLayout.java,v retrieving revision 1.10 diff -u -r1.10 PageLayout.java --- PageLayout.java 11 Mar 2003 20:46:45 -0000 1.10 +++ PageLayout.java 27 May 2003 20:13:56 -0000 @@ -44,9 +44,7 @@ * *

*/ -public class PageLayout implements IPageLayout { - private static final String MISSING_REF_PART = "Referenced part does not exist yet: "; //$NON-NLS-1$ - +public class PageLayout implements IPageLayout { private ViewFactory viewFactory; private LayoutPart editorFolder; private boolean editorVisible = true; @@ -156,7 +154,7 @@ ratio = normalizeRatio(ratio); rootLayoutContainer.add(newPart, getPartSashConst(relationship), ratio, refPart); } else { - WorkbenchPlugin.log(MISSING_REF_PART + refId);//$NON-NLS-1$ + WorkbenchPlugin.log(WorkbenchMessages.format("PageLayout.missingRefPart", new Object[] {refId}));//$NON-NLS-1$ rootLayoutContainer.add(newPart); } } @@ -224,7 +222,7 @@ */ /*package*/ boolean checkPartInLayout(String partId) { if (getRefPart(partId) != null) { - WorkbenchPlugin.log("Part already exists in page layout: " + partId);//$NON-NLS-1$ + WorkbenchPlugin.log(WorkbenchMessages.format("PageLayout.duplicateRefPart", new Object[] {partId}));//$NON-NLS-1$ return true; } for(int i = 0; i