Search in sources :

Example 1 with MethodInvocationFigure

use of org.whole.lang.java.ui.figures.MethodInvocationFigure in project whole by wholeplatform.

the class MethodInvocationPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    MethodInvocation entity = getModelEntity();
    ((MethodInvocationFigure) getFigure()).hideExpression(EntityUtils.isResolver(entity.getExpression()));
    ((MethodInvocationFigure) getFigure()).hideTypeParameters(EntityUtils.isResolver(entity.getTypeArguments()));
    List<IEntity> list = new ArrayList<IEntity>(4);
    list.add(entity.getExpression());
    list.add(entity.getTypeArguments());
    list.add(entity.getName());
    list.add(entity.getArguments());
    return list;
}
Also used : MethodInvocationFigure(org.whole.lang.java.ui.figures.MethodInvocationFigure) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList) MethodInvocation(org.whole.lang.java.model.MethodInvocation)

Aggregations

ArrayList (java.util.ArrayList)1 MethodInvocation (org.whole.lang.java.model.MethodInvocation)1 MethodInvocationFigure (org.whole.lang.java.ui.figures.MethodInvocationFigure)1 IEntity (org.whole.lang.model.IEntity)1