org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences Java Examples

The following examples show how to use org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences. 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: AbstractRefactoringSwtBotTest.java    From xtext-xtend with Eclipse Public License 2.0 5 votes vote down vote up
@Inject
public void initialize(final RefactoringPreferences preferences) {
  this.preferences = preferences;
  final Runnable _function = () -> {
    preferences.setUseInlineRefactoring(this.testParams.isUseInlineRefactoring());
    preferences.setSaveAllBeforeRefactoring(this.testParams.isSaveAllBeforeRefactoring());
  };
  Display.getDefault().syncExec(_function);
}
 
Example #2
Source File: AbstractSingleCodetemplateUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #3
Source File: AbstractGamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #4
Source File: AbstractHelloWorldUiModule.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #5
Source File: AbstractXtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #6
Source File: AbstractPureXbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #7
Source File: AbstractBuilderTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #8
Source File: AbstractArithmeticsUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #9
Source File: AbstractRuleEngineUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #10
Source File: AbstractStatemachineUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #11
Source File: AbstractDomainmodelUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #12
Source File: AbstractRefactoringTestLanguage1UiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #13
Source File: AbstractRefactoringTestLanguage2UiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #14
Source File: AbstractEcore2XtextTestUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #15
Source File: AbstractXtextUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #16
Source File: AbstractN4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #17
Source File: AbstractCodetemplatesUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #18
Source File: AbstractReferringTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #19
Source File: AbstractRefactoringTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #20
Source File: AbstractXmlUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #21
Source File: AbstractNestedRefsTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #22
Source File: AbstractNoJdtTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #23
Source File: AbstractXtextGrammarTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #24
Source File: AbstractFileAwareTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #25
Source File: AbstractMyDslUiModule.java    From M2Doc with Eclipse Public License 1.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #26
Source File: AbstractBromiumUiModule.java    From bromium with MIT License 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #27
Source File: AbstractTypesUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #28
Source File: AbstractJSONUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
Example #29
Source File: AbstractRegularExpressionUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}