X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2Factions%2FSwitchComponentTypeContribution.java;h=d8115f53e432396d166973d5f3bc25432bd7f3ba;hp=193334e0b67789699358ebfee44d61b940cf0749;hb=47269fe0acb894f346810417d950a1ab59cdc0ea;hpb=11309f6516278203264b680235cbbe1dc2bde98e;ds=sidebyside diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/actions/SwitchComponentTypeContribution.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/actions/SwitchComponentTypeContribution.java index 193334e0b..d8115f53e 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/actions/SwitchComponentTypeContribution.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/actions/SwitchComponentTypeContribution.java @@ -86,7 +86,7 @@ public class SwitchComponentTypeContribution extends ContributionItem { try { groups = Simantics.getSession().syncRequest(new ComponentSwitchGroupQuery(resource)); } catch (DatabaseException e) { - LOGGER.error("Retrieval of switch groups failed.", e); + LOGGER.error("Retrieval of switch groups failed.", e); //$NON-NLS-1$ return; } @@ -160,7 +160,7 @@ public class SwitchComponentTypeContribution extends ContributionItem { if(label == null) { label = graph.getPossibleRelatedValue(group, L0.HasName); if(label == null) - label = "Alternative types"; + label = Messages.SwitchComponentTypeContribution_AlternativeTypes; } groupObj = new SwitchGroup(label); }