Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ public class CommonNavigatorMessages extends NLS {
/** */
public static String CommonFilterSelectionDialog_Available_customization_;

/** */
public static String CommonFilterSelectionDialog_Apply;

/** */
public static String CommonSorterDescriptorManager_A_navigatorContent_extension_in_0_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.util.List;
import java.util.Set;

import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.TrayDialog;
import org.eclipse.jface.resource.ColorRegistry;
import org.eclipse.jface.resource.JFaceResources;
Expand Down Expand Up @@ -98,6 +99,13 @@ public boolean isHelpAvailable() {
return helpContext != null;
}

@Override
protected void createButtonsForButtonBar(Composite parent) {
createButton(parent, IDialogConstants.OK_ID,
CommonNavigatorMessages.CommonFilterSelectionDialog_Apply, true);
createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
}

@Override
protected Control createDialogArea(Composite parent) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private void createControl() {
}

private void createPatternFilterText(Composite composite) {
filterText = new Text(composite, SWT.SINGLE | SWT.BORDER | SWT.SEARCH | SWT.ICON_CANCEL);
filterText = new Text(composite, SWT.SINGLE | SWT.BORDER | SWT.SEARCH | SWT.ICON_SEARCH | SWT.ICON_CANCEL);
GridData filterTextGridData = new GridData(GridData.FILL_HORIZONTAL);
filterText.setLayoutData(filterTextGridData);
filterText.setMessage(CommonNavigatorMessages.CommonFilterSelectionDialog_enter_name_of_filte_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#String externalization, key=value
#Thu Feb 02 14:22:56 EST 2006
CommonFilterSelectionDialog_Available_customization_=Filters and Customization
CommonFilterSelectionDialog_Apply=Apply
CommonSorterDescriptorManager_A_navigatorContent_extension_does_n_=A navigatorContent extension does not exist with id\: {0} in plugin {1}

Delete=Delete
Expand Down
Loading