Java Code Examples for org.eclipse.jdt.internal.ui.wizards.NewWizardMessages#ExclusionInclusionDialog_ChooseExclusionPattern_description

The following examples show how to use org.eclipse.jdt.internal.ui.wizards.NewWizardMessages#ExclusionInclusionDialog_ChooseExclusionPattern_description . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExclusionInclusionDialog.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 6 votes vote down vote up
private void addMultipleEntries(ListDialogField<String> field) {
	String title, message;
	if (isExclusion(field)) {
		title= NewWizardMessages.ExclusionInclusionDialog_ChooseExclusionPattern_title;
		message= NewWizardMessages.ExclusionInclusionDialog_ChooseExclusionPattern_description;
	} else {
		title= NewWizardMessages.ExclusionInclusionDialog_ChooseInclusionPattern_title;
		message= NewWizardMessages.ExclusionInclusionDialog_ChooseInclusionPattern_description;
	}

	IPath[] res= ExclusionInclusionEntryDialog.chooseExclusionPattern(getShell(), fCurrSourceFolder, title, message, null, true);
	if (res != null) {
		for (int i= 0; i < res.length; i++) {
			field.addElement(res[i].toString());
		}
	}
}
 
Example 2
Source File: SetFilterWizardPage.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 6 votes vote down vote up
private void addMultipleEntries(ListDialogField<String> field) {
	String title, message;
	if (isExclusion(field)) {
		title= NewWizardMessages.ExclusionInclusionDialog_ChooseExclusionPattern_title;
		message= NewWizardMessages.ExclusionInclusionDialog_ChooseExclusionPattern_description;
	} else {
		title= NewWizardMessages.ExclusionInclusionDialog_ChooseInclusionPattern_title;
		message= NewWizardMessages.ExclusionInclusionDialog_ChooseInclusionPattern_description;
	}

	IPath[] res= ExclusionInclusionEntryDialog.chooseExclusionPattern(getShell(), fCurrSourceFolder, title, message, null, true);
	if (res != null) {
		for (int i= 0; i < res.length; i++) {
			field.addElement(res[i].toString());
		}
	}
}