50a7a1373e5e638c7f17df4fbb0afd4955328d10
[sdk/ide/common-eplugin.git] / org.tizen.common / src / org / tizen / common / model / ITreeModel.java
1 /*\r
2 *  Common\r
3 *\r
4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\r
5 *\r
6 * Contact: \r
7 * Kangho Kim <kh5325.kim@samsung.com>\r
8\r
9 * Licensed under the Apache License, Version 2.0 (the "License");\r
10 * you may not use this file except in compliance with the License.\r
11 * You may obtain a copy of the License at\r
12 *\r
13 * http://www.apache.org/licenses/LICENSE-2.0\r
14 *\r
15 * Unless required by applicable law or agreed to in writing, software\r
16 * distributed under the License is distributed on an "AS IS" BASIS,\r
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
18 * See the License for the specific language governing permissions and\r
19 * limitations under the License.\r
20 *\r
21 * Contributors:\r
22 * - S-Core Co., Ltd\r
23 *\r
24 */\r
25 \r
26 package org.tizen.common.model;\r
27 \r
28 import java.util.Collection;\r
29 \r
30 public interface ITreeModel\r
31 {\r
32         public void add(ITreeVO datas);\r
33         public void add(Collection<ITreeVO> datas);\r
34         public void remove(ITreeVO datas);\r
35         public void remove(Collection<ITreeVO> datas);\r
36         public ITreeVO[] getDatas();\r
37         public void load(String fileName);\r
38         public void save(String fileName);\r
39         public void clear();\r
40         public int size();\r
41         public String getSourceName();\r
42 }\r