* The channels information of the domain.
*/
private List<IChannelInfo> fChannels = new ArrayList<IChannelInfo>();
+ private boolean fIsKernel = false;
// ------------------------------------------------------------------------
// Constructors
fChannels.add(other.fChannels.get(i));
}
}
+ fIsKernel = other.fIsKernel;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.linuxtools.lttng.ui.views.control.model.IDomainInfo#isKernel()
+ */
+ @Override
+ public boolean isKernel() {
+ return fIsKernel;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.linuxtools.lttng.ui.views.control.model.IDomainInfo#setIsKernel(boolean)
+ */
+ @Override
+ public void setIsKernel(boolean isKernel) {
+ fIsKernel = isKernel;
}
// ------------------------------------------------------------------------
IChannelInfo channel = (IChannelInfo) iterator.next();
result = 37 * result + channel.hashCode();
}
+ result += 37 * result + (fIsKernel ? 1 : 0);
return result;
}
return false;
}
}
+
+ if (fIsKernel != otherInfo.fIsKernel) {
+ return false;
+ }
return true;
}
output.append(channel.toString());
}
}
+ output.append(",isKernel=");
+ output.append(String.valueOf(fIsKernel));
output.append(")]");
return output.toString();
}