cz.cuni.amis.pogamut.sposh.executor
Annotation Type PrimitiveInfo


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface PrimitiveInfo

Optional, use this annotation for the some implementation of ISense and IAction, this annotation specifies the name and description of primitive. If not specified, nothing horrible will happen, but it is not user friendly, because the name of the implementing class will be used. Try to keep it unique, not required, only better for humans working with editor.

Author:
Honza

Required Element Summary
 String description
          More precise description of the primitive, should describe what exactly does it do and what are its parameters.
 String name
          Name of the primitive displayed in the editor and debugger.
 
Optional Element Summary
 String[] tags
          Tags of the primitive (e.g.
 

Element Detail

name

public abstract String name
Name of the primitive displayed in the editor and debugger.

Returns:
Human readable name of the primitive

description

public abstract String description
More precise description of the primitive, should describe what exactly does it do and what are its parameters. Displayed in the Shed palette.

tags

public abstract String[] tags
Tags of the primitive (e.g. "movement" for action Turn). Should be used during searchng, but not currently used.

Returns:
List of tags of this primitive
Default:
{}


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.