~ubuntu-branches/ubuntu/quantal/mysql-workbench/quantal

« back to all changes in this revision

Viewing changes to backend/wbpublic/objimpl/workbench.model/workbench_model_NoteFigure.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2012-03-01 21:57:30 UTC
  • Revision ID: package-import@ubuntu.com-20120301215730-o7y8av8y38n162ro
Tags: upstream-5.2.38+dfsg
ImportĀ upstreamĀ versionĀ 5.2.38+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "stdafx.h"
 
2
 
 
3
#include <grts/structs.workbench.model.h>
 
4
 
 
5
#include <grtpp_util.h>
 
6
 
 
7
 
 
8
#include "wbcanvas/workbench_model_notefigure_impl.h"
 
9
 
 
10
//================================================================================
 
11
// workbench_model_NoteFigure
 
12
 
 
13
 
 
14
void workbench_model_NoteFigure::init()
 
15
{
 
16
  if (!_data) _data= new workbench_model_NoteFigure::ImplData(this);
 
17
  model_Figure::set_data(_data);
 
18
}
 
19
 
 
20
void workbench_model_NoteFigure::set_data(ImplData *data)
 
21
{
 
22
}
 
23
 
 
24
workbench_model_NoteFigure::~workbench_model_NoteFigure()
 
25
{
 
26
  delete _data;
 
27
}
 
28
 
 
29
 
 
30
void workbench_model_NoteFigure::text(const grt::StringRef &value)
 
31
{
 
32
  grt::ValueRef ovalue(_text);
 
33
  _text= value;
 
34
  _data->set_text(_text);
 
35
  member_changed("text", ovalue, value);
 
36
}
 
37
 
 
38
 
 
39
 
 
40