Skip to content

Commit e934820

Browse files
author
lamb
committed
removed message
1 parent 9f43b2f commit e934820

6 files changed

Lines changed: 9 additions & 32 deletions

File tree

org.nodeclipse.debug/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
name="Nodejs Application">
1111
</launchConfigurationType>
1212
</extension>
13-
<extension
13+
<extension
1414
point= "org.eclipse.debug.ui.launchConfigurationTypeImages" >
1515
<launchConfigurationTypeImage
1616
configTypeID= "org.nodeclipse.debug.launch.LaunchConfigurationType"
@@ -22,7 +22,7 @@
2222
point= "org.eclipse.debug.ui.launchShortcuts" >
2323
<shortcut
2424
class= "org.nodeclipse.debug.launch.LaunchShortcut"
25-
icon= "icons/nodejs.png"
25+
icon= "icons/nodejs.png"
2626
id= "org.nodeclipse.debug.launch.LaunchShortcut"
2727
label= "Nodejs Application"
2828
modes= "run, debug" >

org.nodeclipse.debug/src/org/nodeclipse/debug/launch/LaunchConfigurationMainTab.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.eclipse.ui.dialogs.ResourceListSelectionDialog;
2828
import org.nodeclipse.debug.Activator;
2929
import org.nodeclipse.debug.util.Constants;
30-
import org.nodeclipse.debug.util.Messages;
3130

3231
public class LaunchConfigurationMainTab extends AbstractLaunchConfigurationTab {
3332

@@ -51,7 +50,7 @@ public void createControl(Composite parent) {
5150

5251
private void createFileGroup(Composite parent) {
5352
Group fileGroup = new Group(parent, SWT.NONE);
54-
fileGroup.setText(Messages.fileLabel);
53+
fileGroup.setText(Constants.FILE_LABEL);
5554
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
5655
fileGroup.setLayoutData(gd);
5756
GridLayout layout = new GridLayout();
@@ -69,7 +68,7 @@ public void modifyText(ModifyEvent e) {
6968
}
7069
});
7170

72-
fileButton = createPushButton(fileGroup, Messages.searchLabel, null); //$NON-NLS-1$
71+
fileButton = createPushButton(fileGroup, Constants.SEARCH_LABEL, null); //$NON-NLS-1$
7372
gd = new GridData(GridData.FILL_HORIZONTAL);
7473
fileButton.addSelectionListener(new SelectionAdapter() {
7574
public void widgetSelected(SelectionEvent e) {
@@ -84,7 +83,7 @@ public void widgetSelected(SelectionEvent e) {
8483
protected void browseFiles() {
8584
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
8685
ResourceListSelectionDialog dialog = new ResourceListSelectionDialog(getShell(), root, IResource.FILE);
87-
dialog.setTitle(Messages.searchTitle);
86+
dialog.setTitle(Constants.SEARCH_TITLE);
8887
if (dialog.open() == Window.OK) {
8988
Object[] files = dialog.getResult();
9089
IFile file = (IFile) files[0];

org.nodeclipse.debug/src/org/nodeclipse/debug/util/Constants.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,9 @@ public class Constants {
2323
public static final String NEXT = "next";
2424
public static final String OUT = "out";
2525
public static final String CONT = "cont";
26+
27+
public static final String FILE_LABEL = "File";
28+
public static final String SEARCH_LABEL = "Search...";
29+
public static final String SEARCH_TITLE = "Search File";
2630

2731
}

org.nodeclipse.debug/src/org/nodeclipse/debug/util/Messages.java

Lines changed: 0 additions & 20 deletions
This file was deleted.

org.nodeclipse.debug/src/org/nodeclipse/debug/util/messages.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

org.nodeclipse.debug/src/org/nodeclipse/debug/util/messages_zh.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)