Package jetbrains.mps.smodel.runtime
Class ConceptPresentationBuilder
- java.lang.Object
 - 
- jetbrains.mps.smodel.runtime.ConceptPresentationBuilder
 
 
- 
public final class ConceptPresentationBuilder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description ConceptPresentationBuilder()Use this cons when there are no deprecated features in the conceptConceptPresentationBuilder(long langIdHigh, long langIdLow, long conceptId)Use this cons instead of the default one when there are deprecated features to register 
- 
Method Summary
 
 - 
 
- 
- 
Constructor Detail
- 
ConceptPresentationBuilder
public ConceptPresentationBuilder()
Use this cons when there are no deprecated features in the concept 
- 
ConceptPresentationBuilder
public ConceptPresentationBuilder(long langIdHigh, long langIdLow, long conceptId)Use this cons instead of the default one when there are deprecated features to register- Since:
 - 2017.2
 
 
 - 
 
- 
Method Detail
- 
helpUrl
public ConceptPresentationBuilder helpUrl(String helpUrl)
 
- 
shortDesc
public ConceptPresentationBuilder shortDesc(String desc)
 
- 
icon
public ConceptPresentationBuilder icon(String icnResId, Class resourceProvider)
 
- 
icon
public ConceptPresentationBuilder icon(IconResource icn)
 
- 
deprecated
public ConceptPresentationBuilder deprecated(boolean deprecated)
 
- 
deprecated
@Deprecated public ConceptPresentationBuilder deprecated(SConceptFeature... f)
Deprecated.usedeprecateProperty(long, String)ordeprecateAggregation(long, String)instead Keep it until 2017.2 is out; code generated with 2017.1 uses this method 
- 
deprecateProperty
public ConceptPresentationBuilder deprecateProperty(long pid, String name)
- Since:
 - 2017.2
 
 
- 
deprecateAggregation
public ConceptPresentationBuilder deprecateAggregation(long lid, String name)
 
- 
deprecateAssociation
public ConceptPresentationBuilder deprecateAssociation(long lid, String name)
 
- 
rawPresentation
public ConceptPresentationBuilder rawPresentation(String presentation)
 
- 
presentationByName
public ConceptPresentationBuilder presentationByName()
 
- 
presentationByReference
public ConceptPresentationBuilder presentationByReference(long rclIdHigh, long rclIdLow, long rcId, long rId, String name, String prefix, String suffix)
 
- 
presentation
public ConceptPresentationBuilder presentation(NodePresentationProvider provider)
 
- 
create
public ConceptPresentation create()
 
 - 
 
 -