From 926ff8cdeefca0c407f59f1e94a08fc3a3540fa5 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Fri, 31 Jan 2020 13:15:51 -0500 Subject: [PATCH] Bug 559474: Provide unique branding plug-in for each feature It has been that org.eclipse.tm.terminal.view.feature and org.eclipse.tm.terminal.feature shared the same feature plugin, which meant they could not have their own branding. Change-Id: I5bc48902c0ee93796fd4df7f847a39529bca3f7f --- .../feature.xml | 2 +- .../org.eclipse.tm.terminal.view.ui/about.ini | 24 +++++++++++++ .../about.mappings | 9 +++++ .../about.properties | 32 ++++++++++++++++++ .../build.properties | 6 +++- .../cdt_logo_icon32.png | Bin 0 -> 1885 bytes 6 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 terminal/plugins/org.eclipse.tm.terminal.view.ui/about.ini create mode 100644 terminal/plugins/org.eclipse.tm.terminal.view.ui/about.mappings create mode 100644 terminal/plugins/org.eclipse.tm.terminal.view.ui/about.properties create mode 100644 terminal/plugins/org.eclipse.tm.terminal.view.ui/cdt_logo_icon32.png diff --git a/terminal/features/org.eclipse.tm.terminal.view.feature/feature.xml b/terminal/features/org.eclipse.tm.terminal.view.feature/feature.xml index 95e24cf47aa..df558232ec1 100644 --- a/terminal/features/org.eclipse.tm.terminal.view.feature/feature.xml +++ b/terminal/features/org.eclipse.tm.terminal.view.feature/feature.xml @@ -13,7 +13,7 @@ label="%featureName" version="4.6.0.qualifier" provider-name="%providerName" - plugin="org.eclipse.tm.terminal.view.core" + plugin="org.eclipse.tm.terminal.view.ui" license-feature="org.eclipse.license" license-feature-version="0.0.0"> diff --git a/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.ini b/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.ini new file mode 100644 index 00000000000..e07a7bb377e --- /dev/null +++ b/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.ini @@ -0,0 +1,24 @@ +# about.ini +# contains information about a feature +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in about.properties +# This file does not need to be translated. + +# Property "aboutText" contains blurb for "About" dialog (translated) +aboutText=%blurb + +# Property "windowImage" contains path to window icon (16x16) +# needed for primary features only + +# Property "featureImage" contains path to feature image (32x32) +featureImage=cdt_logo_icon32.png + +# Property "aboutImage" contains path to product image (500x330 or 115x164) +# needed for primary features only + +# Property "appName" contains name of the application (translated) +# needed for primary features only + +# Property "welcomePerspective" contains the id of the perspective in which the +# welcome page is to be opened. +# optional diff --git a/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.mappings b/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.mappings new file mode 100644 index 00000000000..936a8039c3e --- /dev/null +++ b/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.mappings @@ -0,0 +1,9 @@ +# about.mappings +# contains fill-ins for about.properties +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# This file does not need to be translated. + +# The following should contain the build version. +# e.g. "0=20200106-1728" +# This value will be added automatically via the build scripts +0=${buildId} diff --git a/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.properties b/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.properties new file mode 100644 index 00000000000..a590a7abfc2 --- /dev/null +++ b/terminal/plugins/org.eclipse.tm.terminal.view.ui/about.properties @@ -0,0 +1,32 @@ +############################################################################### +# Copyright (c) 2018, 2020 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials +# are made available under the terms of the Eclipse Public License 2.0 +# which accompanies this distribution, and is available at +# https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +############################################################################### +# about.properties +# contains externalized strings for about.ini +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# fill-ins are supplied by about.mappings +# This file should be translated. +# NOTE TO TRANSLATOR: Please do not translate the featureVersion variable. + + +blurb=Terminal (Console) View\n\ +\n\ +Version: {featureVersion}\n\ +Build id: {0}\n\ +\n\ +Copyright (c) 2018, 2020 Contributors to the Eclipse Foundation +\n\ +See the NOTICE file(s) distributed with this work for additional\n\ +information regarding copyright ownership.\n\ +\n\ +Visit http://www.eclipse.org/cdt diff --git a/terminal/plugins/org.eclipse.tm.terminal.view.ui/build.properties b/terminal/plugins/org.eclipse.tm.terminal.view.ui/build.properties index 2ac1c658faa..013e8cd1d18 100644 --- a/terminal/plugins/org.eclipse.tm.terminal.view.ui/build.properties +++ b/terminal/plugins/org.eclipse.tm.terminal.view.ui/build.properties @@ -17,5 +17,9 @@ bin.includes = META-INF/,\ plugin.xml,\ about.html,\ icons/,\ - contexts.xml + contexts.xml,\ + about.ini,\ + about.mappings,\ + about.properties,\ + cdt_logo_icon32.png src.includes = schema/ diff --git a/terminal/plugins/org.eclipse.tm.terminal.view.ui/cdt_logo_icon32.png b/terminal/plugins/org.eclipse.tm.terminal.view.ui/cdt_logo_icon32.png new file mode 100644 index 0000000000000000000000000000000000000000..470ca81b327234a519c2a443515e85727409b5f4 GIT binary patch literal 1885 zcmV-j2cr0iP)!H^1ntgMx$mQ^a+I-;$Ws3z8GYqX(iXst@JwrY8nR6N2$5hQdjkl4<{u^qpz z?d$vAABiL5I?h--Z9nP$^PTUU@Ao_B+;hGI{Evg&ZU?&_cApis05Hm7G%X$~QC}(f-LgFHq8$YV5GWUfO@Y&&e z=IeO2a}heb&KSCn2bXwkmWC&EjL}=EpQ_6Fbawo$X!6<%g2er^5|^HZlrrGdhzkH3D^y=pV@;xrv=WnFMDJJ zD2gd2D~gm!W&&?Sl0*9xMZBew*#QY*9F~UdHLg3mXj*3};HgaL$aw714n-B?#r#=; zAGG6#ZPjRfx|e>Q=-Pf(DlRKxYGUe>U8zj)F92XRRNZGY`@XMdZ7T?&SV_u_WcbPV zQ`z9*1UGyrmyexk@UA^Z2xW*QhMtS3ZyYR}FaTIsSpKmG12z+E?Jw8tb~!uWEG3Rd z2X@A}o4;phgV*a>dC+EBxT)O6%!}!3p~$&M1TlS8ud}ugLL2j9a-f_z08jvMcP&;m zyRfu(5WN&r_h2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