X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.procore.ui%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fprocore%2Fui%2Finternal%2FUI.java;h=a36c6a20dc246e810b0404f739985050be4d9c1f;hp=00cca9311329ff43eaf8afe4ae0835d69139a0d4;hb=1fe7ef332a6f996a13b4dda38bc85a743a154baa;hpb=662ee6d0e68c386fdbc22300bdadb58d61de5b17 diff --git a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/UI.java b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/UI.java index 00cca9311..a36c6a20d 100644 --- a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/UI.java +++ b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/UI.java @@ -19,10 +19,10 @@ import org.simantics.db.server.ProCoreException; public class UI { public static boolean delete(Shell shell, File folder) { - return HandlerUtil.delete(shell, folder, "Database Delete", null); + return HandlerUtil.delete(shell, folder, Messages.UI_DatabaseDelete, null); } public static boolean purge(Shell shell, File folder) { - return HandlerUtil.purge(shell, folder, "Database Purge", null); + return HandlerUtil.purge(shell, folder, Messages.UI_DatabasePurge, null); } public static boolean handleStart(Shell shell, InternalException e) throws ProCoreException { if (!(e instanceof ProCoreException)) @@ -50,7 +50,7 @@ public class UI { private static long getId(E pe) { long id = 0; try { - Method m = pe.getClass().getMethod("getHandlerId"); + Method m = pe.getClass().getMethod("getHandlerId"); //$NON-NLS-1$ Object value = m.invoke(null); id = (long)value; } catch (RuntimeException e) {