예제 #1
0
파일: diamond.c 프로젝트: brunetton/dia
static PropDescription *
diamond_describe_props(Diamond *diamond)
{
  if (diamond_props[0].quark == 0)
    prop_desc_list_calculate_quarks(diamond_props);
  return diamond_props;
}
예제 #2
0
파일: bezier.c 프로젝트: GNOME/dia
static PropDescription *
bezierline_describe_props(Bezierline *bezierline)
{
  if (bezierline_props[0].quark == 0)
    prop_desc_list_calculate_quarks(bezierline_props);
  return bezierline_props;
}
예제 #3
0
파일: participation.c 프로젝트: UIKit0/dia
static PropDescription *
participation_describe_props(Participation *participation)
{
  if (participation_props[0].quark == 0)
    prop_desc_list_calculate_quarks(participation_props);
  return participation_props;
}
예제 #4
0
static PropDescription *
pgram_describe_props(Pgram *pgram)
{
  if (pgram_props[0].quark == 0)
    prop_desc_list_calculate_quarks(pgram_props);
  return pgram_props;
}
예제 #5
0
파일: wanlink.c 프로젝트: jbohren-forks/dia
static PropDescription *
wanlink_describe_props(WanLink *wanlink)
{
  if (wanlink_props[0].quark == 0)
    prop_desc_list_calculate_quarks(wanlink_props);
  return wanlink_props;
}
예제 #6
0
파일: eimage.c 프로젝트: montsuqi/monpe
static PropDescription *
image_describe_props(EImage *image)
{
  if (image_props[0].quark == 0)
    prop_desc_list_calculate_quarks(image_props);
  return image_props;
}
예제 #7
0
파일: attribute.c 프로젝트: UIKit0/dia
static PropDescription *
attribute_describe_props(Attribute *attribute)
{
  if (attribute_props[0].quark == 0)
    prop_desc_list_calculate_quarks(attribute_props);
  return attribute_props;
}
예제 #8
0
파일: measure.c 프로젝트: brunetton/dia
/*! A standard props compliant object needs to describe its parameters */
static const PropDescription *
measure_describe_props (Measure *measure)
{
  if (measure_props[0].quark == 0)
    prop_desc_list_calculate_quarks(measure_props);
  return measure_props;
}
예제 #9
0
static PropDescription *
_dae_describe_props(DiagramAsElement *dae)
{
  if (_dae_props[0].quark == 0)
    prop_desc_list_calculate_quarks(_dae_props);
  return _dae_props;
}
예제 #10
0
파일: bus.c 프로젝트: krattai/monoflow
static PropDescription *
bus_describe_props(Bus *bus)
{
  if (bus_props[0].quark == 0)
    prop_desc_list_calculate_quarks(bus_props);
  return bus_props;
}
예제 #11
0
파일: proplist.c 프로젝트: AmiGanguli/dia
GPtrArray *
prop_list_from_descs(const PropDescription *plist, 
                     PropDescToPropPredicate pred)
{
  GPtrArray *ret;
  guint count = 0, i;

  prop_desc_list_calculate_quarks((PropDescription *)plist);

  for (i = 0; plist[i].name != NULL; i++)
    if (pred(&plist[i])) count++;

  ret = g_ptr_array_new();
  g_ptr_array_set_size(ret,count);

  count = 0;
  for (i = 0; plist[i].name != NULL; i++) {
#if 0
      g_message("about to append property %s/%s to list"
              "predicate is %s %d %d",plist[i].type,plist[i].name,
              pred(&plist[i])?"TRUE":"FALSE",
              plist[i].flags,plist[i].flags & PROP_FLAG_DONT_SAVE);    
#endif    
    if (pred(&plist[i])) {      
      Property *prop = plist[i].ops->new_prop(&plist[i],pred);                
      g_ptr_array_index(ret,count++) = prop;
    }
  }
  
  return ret;
}  
예제 #12
0
파일: ellipse.c 프로젝트: brunetton/dia
static PropDescription *
ellipse_describe_props(Ellipse *ellipse)
{
  if (ellipse_props[0].quark == 0)
    prop_desc_list_calculate_quarks(ellipse_props);
  return ellipse_props;
}
예제 #13
0
파일: lifeline.c 프로젝트: UIKit0/dia
static PropDescription *
lifeline_describe_props(Lifeline *lifeline)
{
  if (lifeline_props[0].quark == 0)
    prop_desc_list_calculate_quarks(lifeline_props);
  return lifeline_props;
}
예제 #14
0
파일: newgroup.c 프로젝트: krattai/monoflow
static PropDescription *
newgroup_describe_props(NewGroup *group)
{
  if (newgroup_props[0].quark == 0)
    prop_desc_list_calculate_quarks(newgroup_props);
  return newgroup_props;
}
예제 #15
0
파일: box.c 프로젝트: jbohren-forks/dia
static PropDescription *
box_describe_props(Box *box)
{
  if (box_props[0].quark == 0)
    prop_desc_list_calculate_quarks(box_props);
  return box_props;
}
예제 #16
0
파일: compound.c 프로젝트: brunetton/dia
static PropDescription *
compound_describe_props (Compound * comp)
{
  if (compound_props[0].quark == 0)
    prop_desc_list_calculate_quarks (compound_props);
  return compound_props;
}
예제 #17
0
파일: metabinrel.c 프로젝트: brunetton/dia
static PropDescription *
mbr_describe_props(Mbr *mbr)
{
  if (mbr_props[0].quark == 0)
    prop_desc_list_calculate_quarks(mbr_props);
  return mbr_props;

}
예제 #18
0
파일: node.c 프로젝트: UIKit0/dia
static PropDescription *
node_describe_props(Node *node)
{
  if (node_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(node_props);
  }
  return node_props;
}
예제 #19
0
static PropDescription *
dependency_describe_props(Dependency *dependency)
{
  if (dependency_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(dependency_props);
  }
  return dependency_props;
}
예제 #20
0
파일: basestation.c 프로젝트: dwbxm/dia
static PropDescription *
basestation_describe_props(Basestation *basestation)
{
    if (basestation_props[0].quark == 0) {
        prop_desc_list_calculate_quarks(basestation_props);
    }
    return basestation_props;
}
예제 #21
0
파일: realizes.c 프로젝트: krattai/monoflow
static PropDescription *
realizes_describe_props(Realizes *realizes)
{
  if (realizes_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(realizes_props);
  }
  return realizes_props;
}
예제 #22
0
파일: object.c 프로젝트: brunetton/dia
static PropDescription *
objet_describe_props(Objet *ob)
{
  if (objet_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(objet_props);
  }
  return objet_props;
}
예제 #23
0
파일: usecase.c 프로젝트: GNOME/dia
static PropDescription *
usecase_describe_props(Usecase *usecase)
{
  if (usecase_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(usecase_props);
  }
  return usecase_props;
}
예제 #24
0
파일: step.c 프로젝트: AmiGanguli/dia
static PropDescription *
step_describe_props(Step *step) 
{
  if (step_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(step_props);
  }
  return step_props;
}    
예제 #25
0
파일: aadlbox.c 프로젝트: UIKit0/dia
PropDescription *
aadlbox_describe_props(Aadlbox *aadlbox)
{
  if (aadlbox_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(aadlbox_props);
  }
  return aadlbox_props;
}
예제 #26
0
파일: goal.c 프로젝트: AmiGanguli/dia
static PropDescription *
goal_describe_props(Goal *goal)
{
  if (goal_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(goal_props);
  }
  return goal_props;
}
예제 #27
0
파일: chronoref.c 프로젝트: UIKit0/dia
static PropDescription *
chronoref_describe_props(Chronoref *chronoref) 
{
  if (chronoref_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(chronoref_props);
  }
  return chronoref_props;
}    
예제 #28
0
static PropDescription *
largepackage_describe_props(LargePackage *largepackage)
{
  if (largepackage_props[0].quark == 0) {
    prop_desc_list_calculate_quarks(largepackage_props);
  }
  return largepackage_props;
}
예제 #29
0
파일: flow.c 프로젝트: brunetton/dia
static PropDescription *
flow_describe_props(Flow *mes)
{
  if (flow_props[0].quark == 0)
    prop_desc_list_calculate_quarks(flow_props);
  return flow_props;

}
예제 #30
0
파일: message.c 프로젝트: AmiGanguli/dia
static PropDescription *
message_describe_props(Message *mes)
{
  if (message_props[0].quark == 0)
    prop_desc_list_calculate_quarks(message_props);
  return message_props;

}