]>
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
09dede9e820049ddc5a2df9dae85cb91636319cd
1 package org
.argeo
.slc
.client
.ui
.dist
.model
;
3 /** Common super class for all tree elements of the Distributions View*/
4 public abstract class DistParentElem
{
5 public final static Character VERSION_SEP
= '-';
7 private boolean inHome
= false;
8 private boolean isReadOnly
= false;
10 public DistParentElem(boolean inHome
, boolean isReadOnly
) {
12 this.isReadOnly
= isReadOnly
;
15 public DistParentElem() {
18 public abstract String
getLabel();
20 public abstract Object
[] getChildren();
22 public boolean hasChildren() {
26 public void dispose() {
29 public void setInHome(boolean inHome
) {
33 public void setReadOnly(boolean isReadOnly
) {
34 this.isReadOnly
= isReadOnly
;
37 public boolean inHome() {
41 public boolean isReadOnly() {