]> git.argeo.org Git - gpl/argeo-slc.git/blob - plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/DistParentElem.java
refactor and clean of the distribution view model.
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / model / DistParentElem.java
1 package org.argeo.slc.client.ui.dist.model;
2
3 public abstract class DistParentElem {
4 private boolean inHome = false;
5 private boolean isReadOnly = false;
6
7 public DistParentElem(boolean inHome, boolean isReadOnly) {
8 this.inHome = inHome;
9 this.isReadOnly = isReadOnly;
10 }
11
12 public DistParentElem() {
13 }
14
15 public abstract String getLabel();
16
17 public abstract Object[] getChildren();
18
19 public void dispose() {
20 }
21
22 public boolean inHome() {
23 return inHome;
24 }
25
26 public boolean isReadOnly() {
27 return isReadOnly;
28 }
29 }