From: Tuukka Lehtonen Date: Wed, 28 Nov 2018 13:15:54 +0000 (+0200) Subject: Externalize strings in org.simantics.db.procore.ui X-Git-Tag: v1.43.0~136^2~240 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1fe7ef332a6f996a13b4dda38bc85a743a154baa;p=simantics%2Fplatform.git Externalize strings in org.simantics.db.procore.ui gitlab #210 Change-Id: Id68728d5e8202fdadeef86d1d91e4f397ab6a4a7 --- diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/BuiltinKeys.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/BuiltinKeys.java index 4c219defb..be283bd84 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/BuiltinKeys.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/BuiltinKeys.java @@ -58,7 +58,7 @@ public interface BuiltinKeys { private InputKey() {} @Override public String toString() { - return "INPUT"; + return "INPUT"; //$NON-NLS-1$ } }; @@ -77,7 +77,7 @@ public interface BuiltinKeys { private UIContextKey() {} @Override public String toString() { - return "UI_CONTEXT"; + return "UI_CONTEXT"; //$NON-NLS-1$ } }; @@ -96,7 +96,7 @@ public interface BuiltinKeys { private BrowseContextKey() {} @Override public String toString() { - return "BROWSE_CONTEXT"; + return "BROWSE_CONTEXT"; //$NON-NLS-1$ } }; @@ -115,7 +115,7 @@ public interface BuiltinKeys { private ActionBrowseContextKey() {} @Override public String toString() { - return "ACTION_BROWSE_CONTEXT"; + return "ACTION_BROWSE_CONTEXT"; //$NON-NLS-1$ } }; @@ -134,7 +134,7 @@ public interface BuiltinKeys { private FilterKey() {} @Override public String toString() { - return "FILTER"; + return "FILTER"; //$NON-NLS-1$ } }; @@ -153,21 +153,21 @@ public interface BuiltinKeys { public static final QueryKey SELECTED_VIEWPOINT = new QueryKey() { @Override public String toString() { - return "SELECTED_VIEWPOINT"; + return "SELECTED_VIEWPOINT"; //$NON-NLS-1$ } }; public static final QueryKey ACTIVE_FILTER = new QueryKey() { @Override public String toString() { - return "ACTIVE_FILTER"; + return "ACTIVE_FILTER"; //$NON-NLS-1$ } }; public static final QueryKey> VIEWPOINT_CONTRIBUTIONS = new QueryKey>() { @Override public String toString() { - return "VIEWPOINT_CONTRIBUTIONS"; + return "VIEWPOINT_CONTRIBUTIONS"; //$NON-NLS-1$ } }; @@ -181,7 +181,7 @@ public interface BuiltinKeys { public static final QueryKey> VIEWPOINT_FACTORIES = new QueryKey>() { @Override public String toString() { - return "VIEWPOINT_FACTORIES"; + return "VIEWPOINT_FACTORIES"; //$NON-NLS-1$ } }; @@ -192,7 +192,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "SELECTED_VIEWPOINT_FACTORY"; + return "SELECTED_VIEWPOINT_FACTORY"; //$NON-NLS-1$ } }; @@ -203,7 +203,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "VIEWPOINT"; + return "VIEWPOINT"; //$NON-NLS-1$ } }; @@ -214,7 +214,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "VIEWPOINT_CONTRIBUTION"; + return "VIEWPOINT_CONTRIBUTION"; //$NON-NLS-1$ } }; @@ -224,7 +224,7 @@ public interface BuiltinKeys { public static final QueryKey> LABEL_DECORATOR_FACTORIES = new QueryKey>() { @Override public String toString() { - return "LABEL_DECORATOR_FACTORIES"; + return "LABEL_DECORATOR_FACTORIES"; //$NON-NLS-1$ } }; /** @@ -233,7 +233,7 @@ public interface BuiltinKeys { public static final QueryKey> LABEL_DECORATORS = new QueryKey>() { @Override public String toString() { - return "LABEL_DECORATORS"; + return "LABEL_DECORATORS"; //$NON-NLS-1$ } }; /** @@ -242,7 +242,7 @@ public interface BuiltinKeys { public static final QueryKey> IMAGE_DECORATOR_FACTORIES = new QueryKey>() { @Override public String toString() { - return "IMAGE_DECORATOR_FACTORIES"; + return "IMAGE_DECORATOR_FACTORIES"; //$NON-NLS-1$ } }; /** @@ -251,35 +251,35 @@ public interface BuiltinKeys { public static final QueryKey> IMAGE_DECORATORS = new QueryKey>() { @Override public String toString() { - return "IMAGE_DECORATORS"; + return "IMAGE_DECORATORS"; //$NON-NLS-1$ } }; public static final QueryKey SELECTED_LABELER = new QueryKey() { @Override public String toString() { - return "SELECTED_LABELER"; + return "SELECTED_LABELER"; //$NON-NLS-1$ } }; public static final QueryKey SELECTED_IMAGER = new QueryKey() { @Override public String toString() { - return "SELECTED_IMAGER"; + return "SELECTED_IMAGER"; //$NON-NLS-1$ } }; public static final QueryKey> SELECTED_LABEL_DECORATOR_FACTORIES = new QueryKey>() { @Override public String toString() { - return "SELECTED_LABEL_DECORATOR_FACTORIES"; + return "SELECTED_LABEL_DECORATOR_FACTORIES"; //$NON-NLS-1$ } }; public static final QueryKey> SELECTED_IMAGE_DECORATOR_FACTORIES = new QueryKey>() { @Override public String toString() { - return "SELECTED_IMAGE_DECORATOR_FACTORIES"; + return "SELECTED_IMAGE_DECORATOR_FACTORIES"; //$NON-NLS-1$ } }; @@ -293,7 +293,7 @@ public interface BuiltinKeys { public static final QueryKey> LABELER_FACTORIES = new QueryKey>() { @Override public String toString() { - return "LABELER_FACTORIES"; + return "LABELER_FACTORIES"; //$NON-NLS-1$ } }; @@ -307,7 +307,7 @@ public interface BuiltinKeys { public static final QueryKey> IMAGER_FACTORIES = new QueryKey>() { @Override public String toString() { - return "IMAGER_FACTORIES"; + return "IMAGER_FACTORIES"; //$NON-NLS-1$ } }; @@ -318,7 +318,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "LABELER"; + return "LABELER"; //$NON-NLS-1$ } }; @@ -329,7 +329,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "CHECK_STATE"; + return "CHECK_STATE"; //$NON-NLS-1$ } }; @@ -340,7 +340,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "LABEL_DECORATOR"; + return "LABEL_DECORATOR"; //$NON-NLS-1$ } }; @@ -351,7 +351,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "IMAGER"; + return "IMAGER"; //$NON-NLS-1$ } }; @@ -362,7 +362,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "IMAGE_DECORATOR"; + return "IMAGE_DECORATOR"; //$NON-NLS-1$ } }; @@ -380,7 +380,7 @@ public interface BuiltinKeys { public static final PrimitiveQueryKey> SELECTION_REQUESTS = new PrimitiveQueryKey>() { @Override public String toString() { - return "SELECTION_REQUEST"; + return "SELECTION_REQUEST"; //$NON-NLS-1$ } }; @@ -400,7 +400,7 @@ public interface BuiltinKeys { public static final QueryKey PRUNED_CHILDREN = new QueryKey() { @Override public String toString() { - return "PRUNED_CHILDREN"; + return "PRUNED_CHILDREN"; //$NON-NLS-1$ } }; @@ -417,7 +417,7 @@ public interface BuiltinKeys { public static final QueryKey COMPARABLE_CHILDREN = new QueryKey() { @Override public String toString() { - return "COMPARABLE_CHILDREN"; + return "COMPARABLE_CHILDREN"; //$NON-NLS-1$ } }; @@ -431,7 +431,7 @@ public interface BuiltinKeys { public static final QueryKey> COMPARABLE_FACTORIES = new QueryKey>() { @Override public String toString() { - return "COMPARABLE_FACTORIES"; + return "COMPARABLE_FACTORIES"; //$NON-NLS-1$ } }; @@ -442,7 +442,7 @@ public interface BuiltinKeys { } @Override public String getKeyName() { - return "SELECTED_COMPARABLE_FACTORY"; + return "SELECTED_COMPARABLE_FACTORY"; //$NON-NLS-1$ } } @@ -460,7 +460,7 @@ public interface BuiltinKeys { public static final QueryKey FINAL_CHILDREN = new QueryKey() { @Override public String toString() { - return "FINAL_CHILDREN"; + return "FINAL_CHILDREN"; //$NON-NLS-1$ } }; @@ -472,7 +472,7 @@ public interface BuiltinKeys { public static final PrimitiveQueryKey IS_EXPANDED = new PrimitiveQueryKey() { @Override public String toString() { - return "IS_EXPANDED"; + return "IS_EXPANDED"; //$NON-NLS-1$ } }; @@ -486,7 +486,7 @@ public interface BuiltinKeys { public static final QueryKey IS_CHECKED = new QueryKey() { @Override public String toString() { - return "IS_CHECKED"; + return "IS_CHECKED"; //$NON-NLS-1$ } }; @@ -506,7 +506,7 @@ public interface BuiltinKeys { public static final PrimitiveQueryKey SHOW_MAX_CHILDREN = new PrimitiveQueryKey() { @Override public String toString() { - return "SHOW_MAX_CHILDREN"; + return "SHOW_MAX_CHILDREN"; //$NON-NLS-1$ } }; @@ -514,7 +514,7 @@ public interface BuiltinKeys { private IsRootKey() {} @Override public String toString() { - return "IS_ROOT"; + return "IS_ROOT"; //$NON-NLS-1$ } }; diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/Column.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/Column.java index 08262ce84..380d48230 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/Column.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/Column.java @@ -123,9 +123,9 @@ public final class Column { public Column(String key, String label, Align alignment, int width, String tooltip, boolean grab, int weight) { if (alignment == null) - throw new IllegalArgumentException("null alignment"); + throw new IllegalArgumentException("null alignment"); //$NON-NLS-1$ if (key == null) - throw new IllegalArgumentException("null key"); + throw new IllegalArgumentException("null key"); //$NON-NLS-1$ this.key = key; this.label = label; @@ -244,24 +244,24 @@ public final class Column { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("Column[key="); + sb.append("Column[key="); //$NON-NLS-1$ sb.append(key); if (!key.equals(label)) - sb.append(", label="); + sb.append(", label="); //$NON-NLS-1$ sb.append(label); - sb.append(", align="); + sb.append(", align="); //$NON-NLS-1$ sb.append(alignment); - sb.append(", width="); + sb.append(", width="); //$NON-NLS-1$ sb.append(width); if (!label.equals(tooltip)) { - sb.append(", tooltip="); + sb.append(", tooltip="); //$NON-NLS-1$ sb.append(tooltip); } - sb.append(", grab="); + sb.append(", grab="); //$NON-NLS-1$ sb.append(grab); - sb.append(", weight="); + sb.append(", weight="); //$NON-NLS-1$ sb.append(weight); - sb.append("]"); + sb.append("]"); //$NON-NLS-1$ return sb.toString(); } diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/ExplorerState.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/ExplorerState.java index b7d152c99..1e02fe034 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/ExplorerState.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/ExplorerState.java @@ -64,7 +64,7 @@ public class ExplorerState { */ public ExplorerState(NodeContext[] topNodePath, int[] topNodePathChildIndex, Collection expandedNodes, Map columnWidths) { if (expandedNodes == null) - throw new IllegalArgumentException("null expanded nodes"); + throw new IllegalArgumentException("null expanded nodes"); //$NON-NLS-1$ this.topNodePath = topNodePath; this.topNodePathChildIndex = topNodePathChildIndex; this.expandedNodes = expandedNodes; @@ -73,10 +73,10 @@ public class ExplorerState { @Override public String toString() { - return getClass().getSimpleName() + "[topNodePath=" - + Arrays.toString(topNodePath) + ", topNodePathChildIndex=" - + Arrays.toString(topNodePathChildIndex) + ", expandedNodes=" - + expandedNodes + ", " + columnWidths + "]"; + return getClass().getSimpleName() + "[topNodePath=" //$NON-NLS-1$ + + Arrays.toString(topNodePath) + ", topNodePathChildIndex=" //$NON-NLS-1$ + + Arrays.toString(topNodePathChildIndex) + ", expandedNodes=" //$NON-NLS-1$ + + expandedNodes + ", " + columnWidths + "]"; //$NON-NLS-1$ //$NON-NLS-2$ } } diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java index 0745d1d81..4136cec04 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/GraphExplorer.java @@ -34,7 +34,7 @@ public interface GraphExplorer extends IAdaptable { * A key that can be used to associate GraphExplorer instances with other * objects in, e.g. SWT widgets using Widget.setData(String, Object). */ - public static final String KEY_GRAPH_EXPLORER = "GraphExplorer"; + public static final String KEY_GRAPH_EXPLORER = "GraphExplorer"; //$NON-NLS-1$ /** * @see #setAutoExpandLevel(int) @@ -44,7 +44,7 @@ public interface GraphExplorer extends IAdaptable { public static final Object EMPTY_INPUT = new Object() { @Override - public String toString() { return "GraphExplorer.EMPTY_INPUT"; }; + public String toString() { return "GraphExplorer.EMPTY_INPUT"; }; //$NON-NLS-1$ }; diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/Labeler.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/Labeler.java index 63e96e890..587947488 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/Labeler.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/Labeler.java @@ -180,7 +180,7 @@ public interface Labeler { Consumer applyCallback); } - String NO_LABEL = ""; + String NO_LABEL = ""; //$NON-NLS-1$ /** * Use this map as a return value of {@link #getLabels()} to indicate no diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/PrunedChildrenResult.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/PrunedChildrenResult.java index 53f2e8168..2c603ba8a 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/PrunedChildrenResult.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/content/PrunedChildrenResult.java @@ -42,7 +42,7 @@ public final class PrunedChildrenResult { @Override public String toString() { - return "PrunedChildrenResult [original count=" + originalChildCount + ", pruned children=" + prunedChildren.length + "]"; + return "PrunedChildrenResult [original count=" + originalChildCount + ", pruned children=" + prunedChildren.length + "]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } } diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoDataSourceException.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoDataSourceException.java index edb430130..28f4cdf3d 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoDataSourceException.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoDataSourceException.java @@ -24,7 +24,7 @@ public class NoDataSourceException extends RuntimeException { private static final long serialVersionUID = -2394930587477837261L; public NoDataSourceException(Class clazz) { - super("No DataSource available for class " + clazz); + super("No DataSource available for class " + clazz); //$NON-NLS-1$ } } diff --git a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoQueryProcessorException.java b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoQueryProcessorException.java index ce26f81b2..d60967d7f 100644 --- a/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoQueryProcessorException.java +++ b/bundles/org.simantics.browsing.ui/src/org/simantics/browsing/ui/exception/NoQueryProcessorException.java @@ -18,7 +18,7 @@ public class NoQueryProcessorException extends RuntimeException { private static final long serialVersionUID = -5612824339530755041L; public NoQueryProcessorException(CacheKey key) { - super("No Query Processor found for key " + key); + super("No Query Processor found for key " + key); //$NON-NLS-1$ } } diff --git a/bundles/org.simantics.db.procore.ui/META-INF/MANIFEST.MF b/bundles/org.simantics.db.procore.ui/META-INF/MANIFEST.MF index a8974d653..bab8294d8 100644 --- a/bundles/org.simantics.db.procore.ui/META-INF/MANIFEST.MF +++ b/bundles/org.simantics.db.procore.ui/META-INF/MANIFEST.MF @@ -12,6 +12,7 @@ Import-Package: org.eclipse.core.runtime, org.eclipse.jface.dialogs, org.eclipse.jface.operation, + org.eclipse.osgi.util;version="1.1.0", org.eclipse.swt.widgets, org.osgi.framework;version="1.3.0", org.simantics.db, diff --git a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/Auxiliary.java b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/Auxiliary.java index b05ff95d2..36d896673 100644 --- a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/Auxiliary.java +++ b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/Auxiliary.java @@ -13,7 +13,7 @@ public class Auxiliary { * @return true if server can be started. */ public static boolean beforeStart(Shell shell, File folder) throws InternalException { - boolean skipPurge = "true".equals(System.getProperty("org.simantics.db.procore.ui.skipPurge")); + boolean skipPurge = "true".equals(System.getProperty("org.simantics.db.procore.ui.skipPurge")); //$NON-NLS-1$ //$NON-NLS-2$ if (skipPurge) return true; return UI.purge(shell, folder); diff --git a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Handler.java b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Handler.java index 252bf2370..3dd9e4d73 100644 --- a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Handler.java +++ b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Handler.java @@ -10,6 +10,7 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.dialogs.ProgressMonitorDialog; import org.eclipse.jface.operation.IRunnableWithProgress; +import org.eclipse.osgi.util.NLS; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.simantics.db.common.utils.Logger; @@ -17,11 +18,11 @@ import org.simantics.db.server.Auxiliary; import org.simantics.db.server.ProCoreException; abstract class Handler { - protected final String title = "Database Server"; + protected final String title = Messages.Handler_DatabaseServer; abstract boolean start(Shell shell, ProCoreException e) throws ProCoreException; protected void checkFolderGiven(Shell shell, ProCoreException e) throws ProCoreException { if (null == e.getDbFolder()) { - String msg = "No database folder given."; + String msg = Messages.Handler_NoDatabaseFolderGiven; MessageDialog.openWarning(shell, title, msg); throw new ProCoreException(msg); } @@ -82,18 +83,18 @@ final class DatabaseVersionHandler extends Handler { } } class HandlerUtil { - private static String NL = System.getProperty("line.separator"); + private static String NL = System.getProperty("line.separator"); //$NON-NLS-1$ private static boolean isFolder(final Shell shell, final File dbFolder, String title) { if (dbFolder.isDirectory()) return true; - MessageDialog.openWarning(shell, title, "Database folder does not exist. folder=" + dbFolder); + MessageDialog.openWarning(shell, title, Messages.Handler_WarningMsgDatabaseFolderNotExists + dbFolder); return false; } public static boolean saveWithQuestion(final Shell shell, final File dbFolder, String title, String msg) { if (!isFolder(shell, dbFolder, title)) return false; // Save not possible. - String question = ((null != msg) ? (msg + NL) : "") - + "Do you want to save database?" + NL + "folder=" + dbFolder; + String question = NLS.bind(Messages.Handler_SaveDatabase,new Object[] {((null != msg) ? (msg + NL) : ""), //$NON-NLS-1$ + NL , dbFolder}); boolean yes = MessageDialog.openQuestion(shell, title, question); if (!yes) return true; @@ -101,20 +102,20 @@ class HandlerUtil { Path saveFolder; SaveDatabase(File dbFolder) { super(dbFolder); - beginMessage = "Saving database."; - okMessage = "Database has been saved."; - failMessage = "Failed to save database."; - cancelMessage = "Save cancelled."; + beginMessage = Messages.Handler_SavingDatabaseBeginMsg; + okMessage = Messages.Handler_SavingDatabaseOkMsg; + failMessage = Messages.Handler_SavingDatabaseFailMsg; + cancelMessage = Messages.Handler_SavingDatabaseCancelledMsg; } @Override public void execute() throws Throwable { saveFolder = Auxiliary.saveDatabase(dbFolder); if (null == saveFolder || !Files.isDirectory(saveFolder)) - throw new ProCoreException("Save folder not ok."); + throw new ProCoreException("Save folder not ok."); //$NON-NLS-1$ } @Override public String getMessage() { - return NL + "folder=" + saveFolder; + return NLS.bind( Messages.Handler_FolderEquals ,new Object[] { NL , saveFolder}); } } SaveDatabase save = new SaveDatabase(dbFolder); @@ -126,15 +127,14 @@ class HandlerUtil { boolean ok = saveWithQuestion(shell, dbFolder, title, msg); if (ok) return true; - String question = "Save failed. Do you want me to contine?"; + String question = Messages.Handler_SaveContinue; return Util.confirm(shell, title, question); } public static boolean delete(final Shell shell, final File dbFolder, String title, String msg) { if (!isFolder(shell, dbFolder, title)) return false; // Delete not possible. - String question = ((null != msg) ? (msg + NL) : "") - + "Do you want to delete database?" + NL + "folder=" + dbFolder; + String question = NLS.bind(Messages.Handler_DeleteDatabase, new Object[] {((null != msg) ? (msg + NL) : ""), NL , dbFolder}); //$NON-NLS-1$ boolean yes = MessageDialog.openQuestion(shell, title, question); if (!yes) return false; @@ -142,10 +142,10 @@ class HandlerUtil { final class DeleteDatabase extends ExecutorDatabase { DeleteDatabase(File dbFolder) { super(dbFolder); - beginMessage = "Deleting database."; - okMessage = "Database has been deleted."; - failMessage = "Failed to delete database."; - cancelMessage = "Delete cancelled."; + beginMessage = Messages.Handler_DeletingDatabase; + okMessage = Messages.Handler_DatabaseHasBeenDeleted; + failMessage = Messages.Handler_FailedDeleteDatabase; + cancelMessage = Messages.Handler_DeleteCancelled; } @Override public void execute() throws Throwable { @@ -162,14 +162,14 @@ class HandlerUtil { return false; // Purge not possible. try { if (Auxiliary.purgeDatabaseDone(dbFolder)) { - MessageDialog.openInformation(shell, title, "Database already purged." + NL + "folder=" + dbFolder); + MessageDialog.openInformation(shell, title, NLS.bind(Messages.Handler_DatabaseAlreadyPurged, new Object[] { NL, dbFolder})); return true; // Already clean. } } catch (ProCoreException e) { - Logger.defaultLogError("Failed to query database purge state.", e); + Logger.defaultLogError("Failed to query database purge state.", e); //$NON-NLS-1$ } - String question = ((null != msg) ? (msg + NL) : "") - + "Do you want to purge database?"; + String question = ((null != msg) ? (msg + NL) : "") //$NON-NLS-1$ + + Messages.Handler_PurgeDatabaseQuestion; boolean yes = MessageDialog.openQuestion(shell, title, question); if (!yes) return false; @@ -182,10 +182,10 @@ class HandlerUtil { final class PurgeDatabase extends ExecutorDatabase { PurgeDatabase(File dbFolder) { super(dbFolder); - beginMessage = "Purging database."; - okMessage = "Database has been purged."; - failMessage = "Failed to purge database."; - cancelMessage = "Purge cancelled."; + beginMessage = Messages.Handler_PurgingDatabase; + okMessage = Messages.Handler_DatabaseHasBeenPurged; + failMessage = Messages.Handler_FailedToPurgeDatabase; + cancelMessage = Messages.Handler_PurgeCancelled; } @Override public void execute() throws Throwable { @@ -199,20 +199,19 @@ class HandlerUtil { } public static boolean recoverFromGuardFileVersion(final Shell shell, final File dbFolder, String title, String msg) throws ProCoreException { - String question = ((null != msg) ? msg : "") - + NL + "Guard file version mismatch indicates that the database was made with different server version." - + "It would be best to open the database with the same version it was made."; + String question = NLS.bind(Messages.Handler_GuardFileMisMatchQuestion, new Object[] { ((null != msg) ? msg : ""), //$NON-NLS-1$ + NL}); MessageDialog.openWarning(shell, title, question); return false; } public static boolean recoverFromDatabaseLastExit(final Shell shell, final File dbFolder, String title, String msg) throws ProCoreException { - String message = ((null != msg) ? msg : "") + NL + "What should I try to do?"; + String message = NLS.bind(Messages.Handler_MessageWhatToDo, new Object[] {((null != msg) ? msg : "") , NL }) ; //$NON-NLS-1$ ArrayList choices = new ArrayList(); - choices.add(new Util.Choice("Cancel", "Cancel i.e. do nothing. Choose this if you want to manually analyze and correct the situation. This is the safest choice.")); - choices.add(new Util.Choice("Ignore", "Ignore the exit status. Choose this if you do not know what you are doing. This is fast way to recover and is the safest choice except for cancel.")); - choices.add(new Util.Choice("Remove", "Remove history. Choose this you know what you are doing. This is fast way to recover but can leave tricky semantic errors in the database. Furhermore, depending on the reason for the non clean exit status, this can fail and corrupt data. However, depending on how the client and/or server died, this could be the right choice.")); - choices.add(new Util.Choice("Recover", "Recover using journal. Choose this if you are willing to wait and know that the other choices won't work.")); + choices.add(new Util.Choice(Messages.Handler_Cancel, Messages.Handler_CancelDescription)); + choices.add(new Util.Choice(Messages.Handler_Ignore, Messages.Handler_IgnoreDescription)); + choices.add(new Util.Choice(Messages.Handler_Remove, Messages.Handler_RemoveDescription)); + choices.add(new Util.Choice(Messages.Handler_Recover, Messages.Handler_RecoverDescription)); Util.Choice[] t = new Util.Choice[choices.size()]; int choice = Util.select(shell, title, message, choices.toArray(t), 0); switch (choice) { @@ -229,10 +228,10 @@ class HandlerUtil { final class IgnoreExitDatabase extends ExecutorDatabase { IgnoreExitDatabase(File dbFolder) { super(dbFolder); - beginMessage = "Ignoring last exit status."; - okMessage = "Ignore done."; - failMessage = "Failed to start."; - cancelMessage = "Ignore cancelled."; + beginMessage = Messages.Handler_IgnoreExitDatabaseBeginMsg; + okMessage = Messages.Handler_IgnoreExitDatabaseOkMsg; + failMessage = Messages.Handler_IgnoreExitDatabaseBeginFailMsg; + cancelMessage = Messages.Handler_IgnoreExitDatabaseCancelMsg; } @Override public void execute() throws Throwable { @@ -251,10 +250,10 @@ class HandlerUtil { final class IgnoreProtocolDatabase extends ExecutorDatabase { IgnoreProtocolDatabase(File dbFolder) { super(dbFolder); - beginMessage = "Ignoring protocol version mismatch."; - okMessage = "Ignore done."; - failMessage = "Failed to start."; - cancelMessage = "Ignore cancelled."; + beginMessage = Messages.Handler_IgnoreProtocolDatabaseBeginMsg; + okMessage = Messages.Handler_IgnoreProtocolDatabaseOkMsg; + failMessage = Messages.Handler_IgnoreProtocolDatabaseFailMsg; + cancelMessage = Messages.Handler_IgnoreProtocolDatabaseCancelMsg; } @Override public void execute() throws Throwable { @@ -268,13 +267,7 @@ class HandlerUtil { } public static boolean recoverFromProtocol(final Shell shell, final File dbFolder, String title, String msg) throws ProCoreException { - String question = ((null != msg) ? msg : "") - + NL + "Protocol version mismatch indicates that server and client versions differ." - + " It would be best to open the database using the same server and client version." - + " But if you insist I can ignore the mismatch and try to muddle along." - + " If this works then you should export the data and get matching client and server versions." - + " Otherwise there could later be strange errors caused by this version mismatch." - + " Shoud I try?"; + String question = ((null != msg) ? msg : "") + NL + Messages.Handler_ProCoreExceptionQuestion; //$NON-NLS-1$ boolean yes = Util.openDefaultNo(shell, title, question, MessageDialog.QUESTION); if (!yes) return false; @@ -288,10 +281,7 @@ class HandlerUtil { // } public static boolean recoverFromDatabaseVersion(final Shell shell, final File dbFolder, String title, String msg) throws ProCoreException { - String question = ((null != msg) ? msg : "") - + NL + "Database version mismatch indicates that the database was made with different server version." - + " It would be best to open the database with the same version it was made." - + " But if you insist I can try to recover database from journal."; + String question = ((null != msg) ? msg : "") + NL + Messages.Handler_ProCoreException2; //$NON-NLS-1$ boolean yes = Util.openDefaultNo(shell, title, question, MessageDialog.QUESTION); if (!yes) return false; @@ -302,11 +292,11 @@ class HandlerUtil { if (!isFolder(shell, dbFolder, title)) return false; // Recovery not possible. if (!Auxiliary.canReadJournal(dbFolder)) { - MessageDialog.openWarning(shell, title, "Journal file does not exist or isn't readable." + NL + "folder=" + dbFolder); + MessageDialog.openWarning(shell, title, NLS.bind(Messages.Handler_JournalFileNotExists ,new Object[] { NL , dbFolder})); return false; // Recovery not possible. } - String question = ((null != msg) ? msg : "") - + NL + "Do you want me to try to recreate the database from journal?"; + String question = ((null != msg) ? msg : "") //$NON-NLS-1$ + + NL + Messages.Handler_RecreateDatabaseFromJournalQuestion; boolean yes = MessageDialog.openQuestion(shell, title, question); if (!yes) return false; @@ -319,10 +309,10 @@ class HandlerUtil { final class RecoverDatabase extends ExecutorDatabase { RecoverDatabase(File dbFolder) { super(dbFolder); - beginMessage = "Recovering database."; - okMessage = "Database has been recovered."; - failMessage = "Failed to recover database."; - cancelMessage = "Recovery cancelled."; + beginMessage = Messages.Handler_RecoveringDatabaseBeginMsg; + okMessage = Messages.Handler_RecoveringDatabaseRecoverdMsg; + failMessage = Messages.Handler_RecoveringDatabaseFailedMsg; + cancelMessage = Messages.Handler_RecoveringDatabaseCancelledMsg; } @Override public void execute() throws Throwable { @@ -359,10 +349,10 @@ class HandlerUtil { public void showDone(Shell shell); } static abstract class ExecutorBase implements Executor { - protected String beginMessage = "Task begin."; - protected String okMessage = "Task ok."; - protected String failMessage = "Task failed."; - protected String cancelMessage = "Task cancelled."; + protected String beginMessage = Messages.Handler_ExecutorBaseBeginMsg; + protected String okMessage = Messages.Handler_ExecutorBaseOkMsg; + protected String failMessage = Messages.Handler_ExecutorBaseFailedMsg; + protected String cancelMessage = Messages.Handler_ExecutorBaseCancelledMsg; protected boolean done = false; protected boolean ok = false; protected boolean cancelled = false; @@ -437,7 +427,7 @@ class HandlerUtil { this.dbFolder = dbFolder; } String getMessage() { - return NL + "folder=" + dbFolder; + return NLS.bind( Messages.Handler_FolderEquals ,new Object[] { NL , dbFolder}); } @Override public String getMessageBegin() { @@ -472,7 +462,7 @@ class HandlerUtil { return; executor.setCancelled(); thread.interrupt(); - monitor.subTask("Waiting for cancellation to finish."); + monitor.subTask(Messages.Handler_MonitorWaitingForCancellationToFinish); while (!executor.isDone()) sleep(100); } finally { diff --git a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Messages.java b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Messages.java new file mode 100644 index 000000000..498d3be29 --- /dev/null +++ b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Messages.java @@ -0,0 +1,73 @@ +package org.simantics.db.procore.ui.internal; + +import org.eclipse.osgi.util.NLS; + +public class Messages extends NLS { + private static final String BUNDLE_NAME = "org.simantics.db.procore.ui.internal.messages"; //$NON-NLS-1$ + public static String Handler_Cancel; + public static String Handler_CancelDescription; + public static String Handler_DatabaseAlreadyPurged; + public static String Handler_DatabaseHasBeenDeleted; + public static String Handler_DatabaseHasBeenPurged; + public static String Handler_DatabaseServer; + public static String Handler_DeleteCancelled; + public static String Handler_DeleteDatabase; + public static String Handler_DeletingDatabase; + public static String Handler_ExecutorBaseBeginMsg; + public static String Handler_ExecutorBaseCancelledMsg; + public static String Handler_ExecutorBaseFailedMsg; + public static String Handler_ExecutorBaseOkMsg; + public static String Handler_FailedDeleteDatabase; + public static String Handler_FailedToPurgeDatabase; + public static String Handler_FolderEquals; + public static String Handler_GuardFileMisMatchQuestion; + public static String Handler_Ignore; + public static String Handler_IgnoreDescription; + public static String Handler_IgnoreExitDatabaseBeginFailMsg; + public static String Handler_IgnoreExitDatabaseBeginMsg; + public static String Handler_IgnoreExitDatabaseCancelMsg; + public static String Handler_IgnoreExitDatabaseOkMsg; + public static String Handler_IgnoreProtocolDatabaseBeginMsg; + public static String Handler_IgnoreProtocolDatabaseCancelMsg; + public static String Handler_IgnoreProtocolDatabaseFailMsg; + public static String Handler_IgnoreProtocolDatabaseOkMsg; + public static String Handler_JournalFileNotExists; + public static String Handler_MessageWhatToDo; + public static String Handler_MonitorWaitingForCancellationToFinish; + public static String Handler_NoDatabaseFolderGiven; + public static String Handler_ProCoreException2; + public static String Handler_ProCoreExceptionQuestion; + public static String Handler_PurgeCancelled; + public static String Handler_PurgeDatabaseQuestion; + public static String Handler_PurgingDatabase; + public static String Handler_Recover; + public static String Handler_RecoverDescription; + public static String Handler_RecoveringDatabaseBeginMsg; + public static String Handler_RecoveringDatabaseCancelledMsg; + public static String Handler_RecoveringDatabaseFailedMsg; + public static String Handler_RecoveringDatabaseRecoverdMsg; + public static String Handler_RecreateDatabaseFromJournalQuestion; + public static String Handler_Remove; + public static String Handler_RemoveDescription; + public static String Handler_SaveContinue; + public static String Handler_SaveDatabase; + public static String Handler_SavingDatabaseBeginMsg; + public static String Handler_SavingDatabaseCancelledMsg; + public static String Handler_SavingDatabaseFailMsg; + public static String Handler_SavingDatabaseOkMsg; + public static String Handler_WarningMsgDatabaseFolderNotExists; + public static String UI_DatabaseDelete; + public static String UI_DatabasePurge; + public static String Util_Error; + public static String Util_Information; + public static String Util_No; + public static String Util_Warning; + public static String Util_Yes; + static { + // initialize resource bundle + NLS.initializeMessages(BUNDLE_NAME, Messages.class); + } + + private Messages() { + } +} 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) { diff --git a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Util.java b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Util.java index cc6c54bd2..9c4a5e423 100644 --- a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Util.java +++ b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/Util.java @@ -7,10 +7,10 @@ import org.simantics.db.common.utils.Logger; public class Util { static void showInfo(Shell shell, String message) { - MessageDialog.openInformation(shell, "Information", message); + MessageDialog.openInformation(shell, Messages.Util_Information, message); } static void showWarning(Shell shell, String message) { - MessageDialog.openWarning(shell, "Warning", message); + MessageDialog.openWarning(shell, Messages.Util_Warning, message); } public static void showError(Shell shell, String message) { Util.showError(shell, message, null); @@ -18,8 +18,8 @@ public class Util { static void showError(Shell shell, String message, Throwable t) { Logger.defaultLogError(message, t); if (null != t) - message += "\n" + t.getMessage(); - MessageDialog.openError(shell, "Error", message); + message += "\n" + t.getMessage(); //$NON-NLS-1$ + MessageDialog.openError(shell, Messages.Util_Error, message); } public static void logError(String message) { Util.logError(message, null); @@ -34,14 +34,14 @@ public class Util { trace(null, message); } public static void trace(Class clazz, String message) { - String s = ""; + String s = ""; //$NON-NLS-1$ if (null != clazz) - s += clazz.getSimpleName() + " called.\n"; + s += clazz.getSimpleName() + " called.\n"; //$NON-NLS-1$ if (null != message) s += message; Logger.defaultLogInfo(s); } - private static String NL = System.getProperty("line.separator"); + private static String NL = System.getProperty("line.separator"); //$NON-NLS-1$ static class Choice { public Choice(String button, String text) { this.button = button; @@ -86,16 +86,16 @@ public class Util { } public static boolean confirm(Shell shell, String title, String message) { String[] labels = new String[2]; - labels[0] = "Yes"; - labels[1] = "No"; + labels[0] = Messages.Util_Yes; + labels[1] = Messages.Util_No; MessageDialog dialog = new MessageDialog(shell, title, null, message, MessageDialog.QUESTION, labels, 1); int answer = dialog.open(); return answer == 0; } public static boolean openDefaultNo(Shell shell, String title, String message, int style) { String[] labels = new String[2]; - labels[0] = "Yes"; - labels[1] = "No"; + labels[0] = Messages.Util_Yes; + labels[1] = Messages.Util_No; MessageDialog dialog = new MessageDialog(shell, title, null, message, style, labels, 1); int answer = dialog.open(); return answer == 0; @@ -105,7 +105,7 @@ public class Util { final int LIMIT = 10; int i = 0; for (Throwable c = t.getCause(); null != c && i < LIMIT; ++i, c = c.getCause()) - s.append(NL + "cause: " + c.getMessage()); + s.append(NL + "cause: " + c.getMessage()); //$NON-NLS-1$ return s.toString(); } } diff --git a/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/messages.properties b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/messages.properties new file mode 100644 index 000000000..4f0950fa3 --- /dev/null +++ b/bundles/org.simantics.db.procore.ui/src/org/simantics/db/procore/ui/internal/messages.properties @@ -0,0 +1,59 @@ +Handler_Cancel=Cancel +Handler_CancelDescription=Cancel i.e. do nothing. Choose this if you want to manually analyze and correct the situation. This is the safest choice. +Handler_DatabaseAlreadyPurged=Database already purged.{0}folder={1} +Handler_DatabaseHasBeenDeleted=Database has been deleted. +Handler_DatabaseHasBeenPurged=Database has been purged. +Handler_DatabaseServer=Database Server +Handler_DeleteCancelled=Delete cancelled. +Handler_DeleteDatabase={0}Do you want to delete database?{1}folder={2} +Handler_DeletingDatabase=Deleting database. +Handler_ExecutorBaseBeginMsg=Task begin. +Handler_ExecutorBaseCancelledMsg=Task cancelled. +Handler_ExecutorBaseFailedMsg=Task failed. +Handler_ExecutorBaseOkMsg=Task ok. +Handler_FailedDeleteDatabase=Failed to delete database. +Handler_FailedToPurgeDatabase=Failed to purge database. +Handler_FolderEquals={0}folder={1} +Handler_GuardFileMisMatchQuestion={0}{1}Guard file version mismatch indicates that the database was made with different server version.It would be best to open the database with the same version it was made. +Handler_Ignore=Ignore +Handler_IgnoreDescription=Ignore the exit status. Choose this if you do not know what you are doing. This is fast way to recover and is the safest choice except for cancel. +Handler_IgnoreExitDatabaseBeginFailMsg=Failed to start. +Handler_IgnoreExitDatabaseBeginMsg=Ignoring last exit status. +Handler_IgnoreExitDatabaseCancelMsg=Ignore cancelled. +Handler_IgnoreExitDatabaseOkMsg=Ignore done. +Handler_IgnoreProtocolDatabaseBeginMsg=Ignoring protocol version mismatch. +Handler_IgnoreProtocolDatabaseCancelMsg=Ignore cancelled. +Handler_IgnoreProtocolDatabaseFailMsg=Failed to start. +Handler_IgnoreProtocolDatabaseOkMsg=Ignore done. +Handler_JournalFileNotExists=Journal file does not exist or isn't readable.{0}folder={1} +Handler_MessageWhatToDo={0}{1}What should I try to do? +Handler_MonitorWaitingForCancellationToFinish=Waiting for cancellation to finish. +Handler_NoDatabaseFolderGiven=No database folder given. +Handler_ProCoreExceptionQuestion=Protocol version mismatch indicates that server and client versions differ. It would be best to open the database using the same server and client version. But if you insist I can ignore the mismatch and try to muddle along. If this works then you should export the data and get matching client and server versions. Otherwise there could later be strange errors caused by this version mismatch. Shoud I try? +Handler_ProCoreException2=Database version mismatch indicates that the database was made with different server version. It would be best to open the database with the same version it was made. But if you insist I can try to recover database from journal.Journal file does not exist or isn't readable. +Handler_PurgeCancelled=Purge cancelled. +Handler_PurgeDatabaseQuestion=Do you want to purge database? +Handler_PurgingDatabase=Purging database. +Handler_Recover=Recover +Handler_RecoverDescription=Recover using journal. Choose this if you are willing to wait and know that the other choices won't work. +Handler_RecoveringDatabaseBeginMsg=Recovering database. +Handler_RecoveringDatabaseCancelledMsg=Recovery cancelled. +Handler_RecoveringDatabaseFailedMsg=Failed to recover database. +Handler_RecoveringDatabaseRecoverdMsg=Database has been recovered. +Handler_RecreateDatabaseFromJournalQuestion=Do you want me to try to recreate the database from journal? +Handler_Remove=Remove +Handler_RemoveDescription=Remove history. Choose this you know what you are doing. This is fast way to recover but can leave tricky semantic errors in the database. Furhermore, depending on the reason for the non clean exit status, this can fail and corrupt data. However, depending on how the client and/or server died, this could be the right choice. +Handler_SaveContinue=Save failed. Do you want me to contine? +Handler_SaveDatabase={0}Do you want to save database?{1}folder={2} +Handler_SavingDatabaseBeginMsg=Saving database. +Handler_SavingDatabaseCancelledMsg=Save cancelled. +Handler_SavingDatabaseFailMsg=Failed to save database. +Handler_SavingDatabaseOkMsg=Database has been saved. +Handler_WarningMsgDatabaseFolderNotExists=Database folder does not exist. folder= +UI_DatabaseDelete=Database Delete +UI_DatabasePurge=Database Purge +Util_Error=Error +Util_Information=Information +Util_No=No +Util_Warning=Warning +Util_Yes=Yes diff --git a/i18n.md b/i18n.md index 8da7b4ad0..28e1314d6 100644 --- a/i18n.md +++ b/i18n.md @@ -3,8 +3,57 @@ * [x] org.simantics.scl.ui ## TODO ## - -* [ ] org.simantics.event -* [ ] org.simantics.modeling.ui -* [ ] org.simantics.browsing.ui* +* /org.simantics.browsing.ui +* /org.simantics.browsing.ui.common (All can be ignored) +* /org.simantics.browsing.ui.feature (Nothing to Exeternalize or all can be ignored) +* /org.simantics.browsing.ui.graph (Nothing to Exeternalize or all can be ignored) +* /org.simantics.browsing.ui.graph (Nothing to Exeternalize or all can be ignored) +* /org.simantics.browsing.ui.graph.impl (Nothing to Exeternalize or all can be ignored) +* /org.simantics.browsing.ui.model +* /org.simantics.browsing.ui.nattable +* /org.simantics.browsing.ui.nattable.feature (Nothing to Exeternalize) +* /org.simantics.browsing.ui.ontology (Nothing to Exeternalize or all can be ignored) +* /org.simantics.browsing.ui.platform (Nothing to Exeternalize or all can be ignored) +* /org.simantics.browsing.ui.swt (Nothing to Exeternalize or all can be ignored) +* /org.simantics.debug.browser.ui (Nothing to Exeternalize or all can be ignored) +* /org.simantics.db.procore.ui +* /org.simantics.debug.ui +* /org.simantics.desktop.ui +* /org.simantics.desktop.ui.ontology +* /org.simantics.document.ui +* /org.simantics.document.ui.ontology +* /org.simantics.export.ui +* /org.simantics.fileimport.ui +* /org.simantics.graphviz.ui +* /org.simantics.help.ui +* /org.simantics.image.ui +* /org.simantics.issues.ui +* /org.simantics.issues.ui.feature +* /org.simantics.issues.ui.ontology +* /org.simantics.logging.ui +* /org.simantics.message.ui +* /org.simantics.migration.ui +* /org.simantics.modeling.ui +* /org.simantics.modeling.ui.workbench +* /org.simantics.modeling.ui.workbench.feature +* /org.simantics.platform.ui.feature +* /org.simantics.platform.ui.ontology +* /org.simantics.scenegraph.ui +* /org.simantics.simulation.ui +* /org.simantics.spreadsheet.ui +* /org.simantics.spreadsheet.ui.feature +* /org.simantics.structural.ui +* /org.simantics.team.ui +* /org.simantics.tests.modelled.ui +* /org.simantics.tests.modelled.ui.feature +* /org.simantics.tests.modelled.ui.ontology +* /org.simantics.ui +* /org.simantics.ui.workbench.feature +* /org.simantics.ui.workspace.tracker +* /org.simantics.utils.ui +* /org.simantics.utils.ui.feature +* /org.simantics.wiki.ui +* /org.simantics.wiki.ui.feature +* +* * ...