org.eclipse.xtext.ui.editor.outline.actions.IOutlineContribution Java Examples

The following examples show how to use org.eclipse.xtext.ui.editor.outline.actions.IOutlineContribution. 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: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureToggleSortingOutlineContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.Sort.class)
			.to(SortOutlineContribution.class);
}
 
Example #2
Source File: AbstractSARLUiModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public void configureSARLBehaviorUnitOutlineFilter(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("SARLBehaviorUnitOutlineFilter")).to(SARLBehaviorUnitOutlineFilter.class);
}
 
Example #3
Source File: AbstractSARLUiModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public void configureSARLOperationOutlineFilter(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("SARLOperationOutlineFilter")).to(SARLOperationOutlineFilter.class);
}
 
Example #4
Source File: AbstractSARLUiModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public void configureSARLFieldOutlineFilter(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("SARLFieldOutlineFilter")).to(SARLFieldOutlineFilter.class);
}
 
Example #5
Source File: GamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureToggleLinkWithEditorOutlineContribution(final Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.LinkWithEditor.class)
			.to(GamlLinkWithEditorOutlineContribution.class);
}
 
Example #6
Source File: GamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureToggleSortingOutlineContribution(final Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.Sort.class)
			.to(GamlSortOutlineContribution.class);
}
 
Example #7
Source File: GamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureIOutlineContribution$Composite(final Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class)
			.to(IOutlineContribution.Composite.class);
}
 
Example #8
Source File: XtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public void configureSwitchOutlineModeContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("SwitchOutlineModeContribution")).to(SwitchOutlineModeContribution.class);
}
 
Example #9
Source File: XtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public void configureFilterSyntheticMembersContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterSyntheticsContribution")).to(
		ShowSyntheticMembersContribution.class);
}
 
Example #10
Source File: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureToggleLinkWithEditorOutlineContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.LinkWithEditor.class)
			.to(LinkWithEditorOutlineContribution.class);
}
 
Example #11
Source File: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Toggle showing inherited members or not.
 */
public void configureInheritedMembersOutlineContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("InheritedMembersOutlineContribution")).to(
			N4JSShowInheritedMembersOutlineContribution.class);
}
 
Example #12
Source File: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureIOutlineContribution$Composite(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class)
			.to(IOutlineContribution.Composite.class);
}
 
Example #13
Source File: DomainmodelUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureFilterOperationsOutlineContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterOperationsContribution"))
			.to(FilterOperationsContribution.class);
}
 
Example #14
Source File: XtextUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureFilterTerminalRulesContribution(Binder binder) {
	binder.bind(IOutlineContribution.class)
			.annotatedWith(FilterTerminalRulesContribution.Annotation.class)
			.to(FilterTerminalRulesContribution.class);
}
 
Example #15
Source File: XtextUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureFilterReturnTypesContribution(Binder binder) {
	binder.bind(IOutlineContribution.class)
			.annotatedWith(HideReturnTypesContribution.Annotation.class)
			.to(HideReturnTypesContribution.class);
}
 
Example #16
Source File: OutlineTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureSampleFilterContribution(Binder binder) {
	if (PlatformUI.isWorkbenchRunning())
		binder.bind(IOutlineContribution.class).annotatedWith(Names.named(SampleFilterContribution.PREFERENCE_KEY))
				.to(SampleFilterContribution.class);
}
 
Example #17
Source File: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Toggle showing local types or not.
 */
public void configureFilterLocalTypesOutlineContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterLocalTypesOutlineContribution"))
			.to(N4JSFilterLocalTypesOutlineContribution.class);
}
 
Example #18
Source File: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Toggle showing non-public members or not.
 */
public void configureFilterNonPublicMembersOutlineContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterNonPublicMembersOutlineContribution"))
			.to(N4JSFilterNonPublicMembersOutlineContribution.class);
}
 
Example #19
Source File: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Toggle showing static members or not.
 */
public void configureFilterStaticMembersOutlineContribution(Binder binder) {
	binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterStaticMembersOutlineContribution")).to(
			N4JSFilterStaticMembersOutlineContribution.class);
}