Class ConditionalXtextGeneratorFragment
- java.lang.Object
-
- org.eclipse.xtext.xtext.generator.ConditionalXtextGeneratorFragment
-
- All Implemented Interfaces:
IGuiceAwareGeneratorComponent
,IXtextGeneratorFragment
public class ConditionalXtextGeneratorFragment extends java.lang.Object implements IXtextGeneratorFragment
Generator fragment that wraps another fragment and can be toggled via a property- Since:
- 2.13
-
-
Constructor Summary
Constructors Constructor Description ConditionalXtextGeneratorFragment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkConfiguration(Issues issues)
void
generate()
IXtextGeneratorFragment
getFragment()
void
initialize(com.google.inject.Injector injector)
boolean
isEnabled()
void
setEnabled(boolean enabled)
void
setFragment(IXtextGeneratorFragment fragment)
-
-
-
Method Detail
-
checkConfiguration
public void checkConfiguration(Issues issues)
- Specified by:
checkConfiguration
in interfaceIXtextGeneratorFragment
-
generate
public void generate()
- Specified by:
generate
in interfaceIXtextGeneratorFragment
-
initialize
public void initialize(com.google.inject.Injector injector)
- Specified by:
initialize
in interfaceIGuiceAwareGeneratorComponent
-
getFragment
public IXtextGeneratorFragment getFragment()
-
setFragment
public void setFragment(IXtextGeneratorFragment fragment)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
-