Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2913574c21d1ea9d8b3d1d57530ca4d9dde42845 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
    Copyright (c) 2018 Remain Software
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html
   
    Contributors:
        wim.jongman@remainsoftware.com - initial API and implementation
 -->

<plugin>
   <extension
         point="org.eclipse.ui.startup">
      <startup
            class="org.eclipse.tips.ide.internal.Startup">
      </startup>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.eclipse.tips.ide.internal.TipsHandler"
            id="org.eclipse.tips.ide.command.open"
            name="Tip of the Day">
      </command>
      <command
            id="org.eclipse.tips.ide.command.trim.open"
            name="Tip of the Day">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="menu:help?before=tipsAndTricks">
         <command
               commandId="org.eclipse.tips.ide.command.open"
               icon="icons/lightbulb.png"
               id="org.eclipse.tips.ide.tip.menu"
               label="Tip of the Day"
               style="push"> variable="newtips">
         </command>
      </menuContribution>
      <menuContribution
            allPopups="false"
            locationURI="toolbar:org.eclipse.ui.trim.status">
         <toolbar
               id="org.eclipse.tips.ide.toolbar.status"
               label="Tip of the Day Toolbar">
            <command
                  commandId="org.eclipse.tips.ide.command.trim.open"
                  icon="icons/lightbulb.png"
                  id="org.eclipse.tips.ide.tip.tool"
                  label="Tip of the Day"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <with
                        variable="newtips">
                     <equals
                           value="true">
                     </equals>
                  </with>
               </visibleWhen>
            </command>
         </toolbar>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.themes">
      <themeElementCategory
            id="org.eclipse.tips.presentation"
            label="Tip of the Day">
      </themeElementCategory>
      <fontDefinition
            categoryId="org.eclipse.tips.presentation"
            defaultsTo="org.eclipse.jface.textfont"
            id="org.eclipse.tips.browser.font"
            label="Browser font">
         <description>
            The browser font (may be overridden by HTML and CSS)
         </description>
      </fontDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.browser.background.color"
            label="Browser background color"
            value="COLOR_WHITE">
         <description>
            The browser background color (may be overridden by HTML and CSS)
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.browser.foreground.color"
            label="Browser foreground color"
            value="COLOR_BLACK">
         <description>
            The browser foreground color (may be overridden by HTML and CSS)
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.slider.hover.color"
            label="Slider button hover color"
            value="COLOR_GRAY">
         <description>
            The background color of the button when the mouse hovers over the button.
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.slider.selection.color"
            label="Slider button selection color"
            value="COLOR_TITLE_BACKGROUND">
         <description>
            The color of the button when this is the selected button.
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.slider.unreadTipCount.background.color"
            label="Unread tip counter background color"
            value="COLOR_RED">
         <description>
            The background color of the tip counter badge when in unread mode.
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.slider.unreadTipCount.foreground.color"
            label="Unread tip counter foreground color"
            value="COLOR_WHITE">
         <description>
            The foreground color of the tip counter badge when in unread mode.
         </description>
      </colorDefinition>
      <fontDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.slider.badge.font"
            label="Slider badge font"
            value="Sans-bold-10">
         <description>
            The counter badge font.
         </description>
      </fontDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.slider.tipCount.background.color"
            label="Tip counter background color"
            value="COLOR_DARK_GREEN">
         <description>
            The background color of the counter badge when not in unread mode.
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.tips.presentation"
            id="org.eclipse.tips.slider.tipCount.foreground.color"
            label="Tip counter foreground color"
            value="COLOR_WHITE">
         <description>
            The background color of the tip counter badge when not in unread mode.
         </description>
      </colorDefinition>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.tips.ide.internal.TipsHandler"
            commandId="org.eclipse.tips.ide.command.trim.open">
         <activeWhen>
            <with
                  variable="newtips">
               <equals
                     value="true">
               </equals>
            </with>
         </activeWhen>
      </handler>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer
            class="org.eclipse.tips.ide.internal.Preferences">
      </initializer>
   </extension>
   <extension
         point="org.eclipse.tips.core.tips">
      <provider
            class="org.eclipse.tips.ide.internal.provider.TipsTipProvider"
            description="Tips about Tips"
            id="org.eclipse.tips.ide.internal.provider.TipsTipProvider">
      </provider>
   </extension>
</plugin>

Back to the top