Skip to content

Commit dd9ed9c

Browse files
author
jantje
committed
Cleanup xml files
Moved some stuff to ui and deleted additional toolchains
1 parent 3b0a18e commit dd9ed9c

File tree

2 files changed

+17
-62
lines changed

2 files changed

+17
-62
lines changed

io.sloeber.core/plugin.xml

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,6 @@
6969
#######################################################################################
7070
-->
7171

72-
<!-- Definition to know if the active perspective is Arduino -->
73-
<extension point="org.eclipse.core.expressions.definitions">
74-
<definition id="io.sloeber.definition.isArduinoPerspective">
75-
<with variable="activeWorkbenchWindow.activePerspective">
76-
<or>
77-
<equals
78-
value="io.sloeber.application.perspective">
79-
</equals>
80-
<equals
81-
value="org.eclipse.cdt.ui.CPerspective">
82-
</equals></or>
83-
</with>
84-
</definition>
85-
</extension>
8672

8773

8874

@@ -422,54 +408,6 @@
422408
</outputType>
423409
</tool>
424410
</toolChain>
425-
<folderInfo
426-
exclude="true"
427-
resourcePath="libraries/?*/**/?xamples/**">
428-
<toolChain
429-
id="io.sloeber.core.toolChain1"
430-
isAbstract="false">
431-
</toolChain>
432-
</folderInfo>
433-
<folderInfo
434-
exclude="true"
435-
resourcePath="libraries/?*/**/?xtras/**">
436-
<toolChain
437-
id="io.sloeber.core.toolChain2"
438-
isAbstract="false">
439-
</toolChain>
440-
</folderInfo>
441-
<folderInfo
442-
exclude="true"
443-
resourcePath="libraries/?*/**/test*/**">
444-
<toolChain
445-
id="io.sloeber.core.toolChain3"
446-
isAbstract="false">
447-
</toolChain>
448-
</folderInfo>
449-
<folderInfo
450-
exclude="true"
451-
resourcePath="libraries/?*/**/third-party/**">
452-
<toolChain
453-
id="io.sloeber.core.toolChain4"
454-
isAbstract="false">
455-
</toolChain>
456-
</folderInfo>
457-
<folderInfo
458-
exclude="true"
459-
resourcePath="libraries/**/._*">
460-
<toolChain
461-
id="io.sloeber.core.toolChain5"
462-
isAbstract="false">
463-
</toolChain>
464-
</folderInfo>
465-
<folderInfo
466-
exclude="true"
467-
resourcePath="libraries/?*/utility/*/*">
468-
<toolChain
469-
id="io.sloeber.core.toolChain6"
470-
isAbstract="false">
471-
</toolChain>
472-
</folderInfo>
473411
</configuration>
474412
</projectType>
475413

io.sloeber.ui/plugin.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,23 @@
396396
</commandParameter>
397397
</command>
398398
</extension>
399+
400+
<!-- Definition to know if the active perspective is Arduino -->
401+
<extension point="org.eclipse.core.expressions.definitions">
402+
<definition id="io.sloeber.definition.isArduinoPerspective">
403+
<with variable="activeWorkbenchWindow.activePerspective">
404+
<or>
405+
<equals
406+
value="io.sloeber.application.perspective">
407+
</equals>
408+
<equals
409+
value="org.eclipse.cdt.ui.CPerspective">
410+
</equals></or>
411+
</with>
412+
</definition>
413+
</extension>
414+
415+
399416
<extension
400417
point="org.eclipse.ui.menus">
401418
<menuContribution

0 commit comments

Comments
 (0)