Skip to content

Commit 81ab350

Browse files
committed
Rename io.sloeber subpackages #635
1 parent 6ec4dd4 commit 81ab350

20 files changed

+38
-38
lines changed

io.sloeber.application/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
relative="org.eclipse.ui.views.PropertySheet">
4848
</view>
4949
<view
50-
id="io.sloeber.monitor.views.SerialMonitor"
50+
id="io.sloeber.ui.monitor.views.SerialMonitor"
5151
minimized="false"
5252
relationship="stack"
5353
relative="org.eclipse.ui.views.ProblemView">
@@ -66,7 +66,7 @@
6666
relative="org.eclipse.ui.editorss">
6767
</view>
6868
<view
69-
id="io.sloeber.monitor.views.PlotterView"
69+
id="io.sloeber.ui.monitor.views.PlotterView"
7070
minimized="false"
7171
relationship="stack"
7272
relative="org.eclipse.ui.views.ProblemView">

io.sloeber.ui/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ Import-Package: io.sloeber.core.api,
2222
org.eclipse.nebula.widgets.oscilloscope.multichannel,
2323
org.eclipse.ui.dialogs
2424
Bundle-Vendor: Jan Baeyens
25-
Export-Package: io.sloeber.monitor;uses:="org.eclipse.jface.resource,org.eclipse.ui.plugin,org.osgi.framework"
25+
Export-Package: io.sloeber.ui.monitor;uses:="org.eclipse.jface.resource,org.eclipse.ui.plugin,org.osgi.framework"

io.sloeber.ui/plugin.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
<extension point="org.eclipse.ui.views">
55
<category
66
name="Sloeber"
7-
id="io.sloeber.monitor">
7+
id="io.sloeber.ui.monitor">
88
</category>
9-
<view id="io.sloeber.monitor.views.SerialMonitor"
10-
category="io.sloeber.monitor"
11-
class="io.sloeber.monitor.views.SerialMonitor"
9+
<view id="io.sloeber.ui.monitor.views.SerialMonitor"
10+
category="io.sloeber.ui.monitor"
11+
class="io.sloeber.ui.monitor.views.SerialMonitor"
1212
icon="icons/arduino.png"
1313
name="Serial monitor view">
1414
</view>
1515
<view
16-
category="io.sloeber.monitor"
17-
class="io.sloeber.monitor.views.PlotterView"
16+
category="io.sloeber.ui.monitor"
17+
class="io.sloeber.ui.monitor.views.PlotterView"
1818
icon="icons/plotter.png"
19-
id="io.sloeber.monitor.views.PlotterView"
19+
id="io.sloeber.ui.monitor.views.PlotterView"
2020
name="Plotter"
2121
restorable="true">
2222
</view>
@@ -517,7 +517,7 @@ The color used by the fourth serial connection of the serial monitor
517517
<extension
518518
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
519519
<launchConfigurationTabGroup
520-
class="io.sloeber.core.ui.launchconfig.LaunchConfigurationTabGroup"
520+
class="io.sloeber.ui.core.launchconfig.LaunchConfigurationTabGroup"
521521
id="io.sloeber.ui.launchconfig.arduinoLaunchConfigurationTabGroup"
522522
type="io.sloeber.tools.arduinoLaunchConfiguration">
523523
<launchMode
@@ -539,7 +539,7 @@ The color used by the fourth serial connection of the serial monitor
539539
<extension
540540
point="org.eclipse.debug.ui.launchShortcuts">
541541
<shortcut
542-
class="io.sloeber.core.ui.launchconfig.LaunchShortcut"
542+
class="io.sloeber.ui.core.launchconfig.LaunchShortcut"
543543
icon="icons/16px-upload.png"
544544
id="io.sloeber.ui.launchconfig.launchShortcut"
545545
label="Arduino Launch"

io.sloeber.ui/src/io/sloeber/ui/actions/OpenPlotterHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class OpenPlotterHandler extends AbstractHandler {
1919
public Object execute(ExecutionEvent event) throws ExecutionException {
2020
try {
2121
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
22-
.showView("io.sloeber.monitor.views.PlotterView"); //$NON-NLS-1$
22+
.showView("io.sloeber.ui.monitor.views.PlotterView"); //$NON-NLS-1$
2323
} catch (PartInitException e) {
2424
e.printStackTrace();
2525
}

io.sloeber.ui/src/io/sloeber/ui/actions/OpenSerialMonitorHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public Object execute(ExecutionEvent event) throws ExecutionException {
2929
try {
3030

3131
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
32-
.showView("io.sloeber.monitor.views.SerialMonitor"); //$NON-NLS-1$
32+
.showView("io.sloeber.ui.monitor.views.SerialMonitor"); //$NON-NLS-1$
3333
// find all projects
3434
IProject SelectedProjects[] = ProjectExplorerListener.getSelectedProjects();
3535
// if there are project selected and the autoConnectSerial feature
@@ -41,7 +41,7 @@ public Object execute(ExecutionEvent event) throws ExecutionException {
4141
if (baud > 0) {
4242
String comPort = Sketch.getComport(curproject);
4343
if (!comPort.isEmpty()) {
44-
io.sloeber.monitor.SerialConnection.add(comPort, baud);
44+
io.sloeber.ui.monitor.SerialConnection.add(comPort, baud);
4545
}
4646
}
4747
}

io.sloeber.ui/src/io/sloeber/core/ui/launchconfig/LaunchConfigurationTabGroup.java renamed to io.sloeber.ui/src/io/sloeber/ui/core/launchconfig/LaunchConfigurationTabGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.sloeber.core.ui.launchconfig;
1+
package io.sloeber.ui.core.launchconfig;
22

33
import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
44
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;

io.sloeber.ui/src/io/sloeber/core/ui/launchconfig/LaunchShortcut.java renamed to io.sloeber.ui/src/io/sloeber/ui/core/launchconfig/LaunchShortcut.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.sloeber.core.ui.launchconfig;
1+
package io.sloeber.ui.core.launchconfig;
22

33
import java.util.ArrayList;
44

io.sloeber.ui/src/io/sloeber/core/ui/launchconfig/MainTab.java renamed to io.sloeber.ui/src/io/sloeber/ui/core/launchconfig/MainTab.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.sloeber.core.ui.launchconfig;
1+
package io.sloeber.ui.core.launchconfig;
22

33
import java.util.ArrayList;
44
import java.util.List;

io.sloeber.ui/src/io/sloeber/core/ui/launchconfig/Messages.java renamed to io.sloeber.ui/src/io/sloeber/ui/core/launchconfig/Messages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package io.sloeber.core.ui.launchconfig;
1+
package io.sloeber.ui.core.launchconfig;
22

33
import org.eclipse.osgi.util.NLS;
44

55
public class Messages extends NLS {
6-
private static final String BUNDLE_NAME = "io.sloeber.core.ui.launchconfig.messages"; //$NON-NLS-1$
6+
private static final String BUNDLE_NAME = "io.sloeber.ui.core.launchconfig.messages"; //$NON-NLS-1$
77
public static String MainTab_browse;
88
public static String MainTab_Main;
99
public static String MainTab_Project;

0 commit comments

Comments
 (0)