File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 277
277
locationURI =" toolbar:org.eclipse.ui.main.toolbar" >
278
278
<toolbar
279
279
id =" it.baeyens.arduino.toolbar.main" label =" Arduino" >
280
+ <visibleWhen >
281
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
282
+ </visibleWhen >
280
283
<command
281
284
commandId =" it.baeyens.arduino.actions.ArduinoBuildAction"
282
285
disabledIcon =" icons/check_disabled.png"
283
286
icon =" icons/check.png"
284
287
label =" %command.label"
285
288
style =" push" >
289
+ <visibleWhen >
290
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
291
+ </visibleWhen >
286
292
</command >
287
293
<command
288
294
commandId =" it.baeyens.arduino.actions.UploadprojectAction"
289
295
disabledIcon =" icons/arrow_disabled.png"
290
296
icon =" icons/arrow.png"
291
297
label =" %command.label.0"
292
298
style =" push" >
299
+ <visibleWhen >
300
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
301
+ </visibleWhen >
293
302
</command >
294
303
<command
295
304
commandId =" it.baeyens.arduino.actions.NewSketchAction"
296
305
disabledIcon =" icons/new_disabled.png"
297
306
icon =" icons/new.png"
298
307
label =" %command.label.1"
299
308
style =" push" >
309
+ <visibleWhen >
310
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
311
+ </visibleWhen >
300
312
</command >
301
313
<command
302
314
commandId =" org.eclipse.ui.file.save"
303
315
disabledIcon =" icons/save_disabled.png"
304
316
icon =" icons/save.png"
305
317
style =" push" >
318
+ <visibleWhen >
319
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
320
+ </visibleWhen >
306
321
</command >
307
322
<command
308
323
commandId =" it.baeyens.arduino.actions.OpenSerialMonitorAction"
309
324
disabledIcon =" icons/ser_mon_disabled.png"
310
325
icon =" icons/ser_mon.png"
311
326
label =" %command.label.2"
312
327
style =" push" >
328
+ <visibleWhen >
329
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
330
+ </visibleWhen >
313
331
</command >
314
332
<command
315
333
commandId =" it.baeyens.arduino.actions.OpenScopeAction"
316
334
icon =" icons/scope.png"
317
335
label =" %command.label.5"
318
336
style =" push" >
337
+ <visibleWhen >
338
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
339
+ </visibleWhen >
319
340
</command >
320
341
</toolbar >
321
342
</menuContribution >
322
343
<menuContribution locationURI =" menu:org.eclipse.ui.main.menu??after=Run" >
323
344
<menu label =" %menu.label" >
345
+ <visibleWhen >
346
+ <reference definitionId =" it.baeyens.definition.isArduinoPerspective" />
347
+ </visibleWhen >
324
348
<command
325
349
commandId =" it.baeyens.arduino.actions.ArduinoBuildAction"
326
350
id =" buildProject"
You can’t perform that action at this time.
0 commit comments