package jetbrains.mps.debugger.java.customViewers.structure;
/*Generated by MPS */
import jetbrains.mps.smodel.runtime.ConceptPresentationAspectBase;
import jetbrains.mps.smodel.runtime.ConceptPresentation;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.smodel.runtime.ConceptPresentationBuilder;
public class ConceptPresentationAspectImpl extends ConceptPresentationAspectBase {
private ConceptPresentation props_CanWrapHighLevelValue_ConceptFunction;
private ConceptPresentation props_CustomWatchable;
private ConceptPresentation props_CustomWatchablesContainer;
private ConceptPresentation props_GetHighLevelValuePresentation_ConceptFunction;
private ConceptPresentation props_GetHighLevelWatchablesBlock_ConceptFunction;
private ConceptPresentation props_HighLevelCustomViewer;
private ConceptPresentation props_HighLevelValue_ConceptFunctionParameter;
private ConceptPresentation props_HighLevelWatchableCreator;
private ConceptPresentation props_ToProcessMethod;
private ConceptPresentation props_WatchableListType;
private ConceptPresentation props_WatchableType;
private ConceptPresentation props_WatchablesListCreator;
@Override
@Nullable
public ConceptPresentation getDescriptor(SAbstractConcept c) {
StructureAspectDescriptor structureDescriptor = (StructureAspectDescriptor) myLanguageRuntime.getAspect(jetbrains.mps.smodel.runtime.StructureAspectDescriptor.class);
switch (structureDescriptor.internalIndex(c)) {
case LanguageConceptSwitch.CanWrapHighLevelValue_ConceptFunction:
if (props_CanWrapHighLevelValue_ConceptFunction == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_CanWrapHighLevelValue_ConceptFunction = cpb.create();
}
return props_CanWrapHighLevelValue_ConceptFunction;
case LanguageConceptSwitch.CustomWatchable:
if (props_CustomWatchable == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_CustomWatchable = cpb.create();
}
return props_CustomWatchable;
case LanguageConceptSwitch.CustomWatchablesContainer:
if (props_CustomWatchablesContainer == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_CustomWatchablesContainer = cpb.create();
}
return props_CustomWatchablesContainer;
case LanguageConceptSwitch.GetHighLevelValuePresentation_ConceptFunction:
if (props_GetHighLevelValuePresentation_ConceptFunction == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_GetHighLevelValuePresentation_ConceptFunction = cpb.create();
}
return props_GetHighLevelValuePresentation_ConceptFunction;
case LanguageConceptSwitch.GetHighLevelWatchablesBlock_ConceptFunction:
if (props_GetHighLevelWatchablesBlock_ConceptFunction == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_GetHighLevelWatchablesBlock_ConceptFunction = cpb.create();
}
return props_GetHighLevelWatchablesBlock_ConceptFunction;
case LanguageConceptSwitch.HighLevelCustomViewer:
if (props_HighLevelCustomViewer == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_HighLevelCustomViewer = cpb.create();
}
return props_HighLevelCustomViewer;
case LanguageConceptSwitch.HighLevelValue_ConceptFunctionParameter:
if (props_HighLevelValue_ConceptFunctionParameter == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_HighLevelValue_ConceptFunctionParameter = cpb.create();
}
return props_HighLevelValue_ConceptFunctionParameter;
case LanguageConceptSwitch.HighLevelWatchableCreator:
if (props_HighLevelWatchableCreator == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_HighLevelWatchableCreator = cpb.create();
}
return props_HighLevelWatchableCreator;
case LanguageConceptSwitch.ToProcessMethod:
if (props_ToProcessMethod == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ToProcessMethod = cpb.create();
}
return props_ToProcessMethod;
case LanguageConceptSwitch.WatchableListType:
if (props_WatchableListType == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_WatchableListType = cpb.create();
}
return props_WatchableListType;
case LanguageConceptSwitch.WatchableType:
if (props_WatchableType == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_WatchableType = cpb.create();
}
return props_WatchableType;
case LanguageConceptSwitch.WatchablesListCreator:
if (props_WatchablesListCreator == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_WatchablesListCreator = cpb.create();
}
return props_WatchablesListCreator;
}
return null;
}
}