Commit 8efbc3e3 authored by Jay Jay Billings's avatar Jay Jay Billings
Browse files

Merge remote-tracking branch 'origin/master' into jay/reflectivity

parents 1340c4fe c614a79b
......@@ -2613,4 +2613,186 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.bidi"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.console"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.frameworkadmin"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.frameworkadmin.equinox"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.http.registry"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.http.servlet"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.launcher"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.artifact.repository"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.director"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.director.app"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.directorywatcher"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.discovery"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.discovery.compatibility"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.extensionlocation"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.garbagecollector"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.jarprocessor"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.operations"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.publisher"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.publisher.eclipse"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.repository.tools"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.touchpoint.eclipse"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.transport.ecf"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.p2.ui.discovery"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.security.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.servletbridge"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.equinox.simpleconfigurator.manipulator"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="kepler_rcp" sequenceNumber="59">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.nebula.feature.feature.group" version="1.0.0.201409040043"/>
<repository location="http://download.eclipse.org/technology/nebula/archives/Q32014/release/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.cdt.feature.group" version="8.3.0.201402142303"/>
<unit id="org.eclipse.rse.core.feature.group" version="3.4.100.201307171557"/>
<unit id="org.eclipse.tm.terminal.feature.group" version="3.2.100.201308011444"/>
<unit id="org.eclipse.equinox.serverside.sdk.feature.group" version="3.9.1.v20140221-1852"/>
<unit id="org.eclipse.rse.ssh.feature.group" version="3.0.500.201305201712"/>
<unit id="org.eclipse.tm.terminal.telnet.feature.group" version="2.1.300.201305201712"/>
<unit id="org.eclipse.rcp.feature.group" version="4.3.2.v20140221-1700"/>
<unit id="org.eclipse.equinox.core.sdk.feature.group" version="3.8.0.v20140114-1344"/>
<unit id="org.eclipse.wst.web_ui.feature.feature.group" version="3.5.2.v201401062113-7O7QG3wEMkBS3Graz0gRCYqCz-PVayJqBmOpb93L"/>
<unit id="org.eclipse.rse.dstore.feature.group" version="3.4.100.201309112143"/>
<unit id="org.eclipse.equinox.compendium.sdk.feature.group" version="3.8.0.v20130813-1853"/>
<unit id="org.eclipse.rse.terminals.feature.group" version="1.2.100.201308011444"/>
<unit id="org.eclipse.wst.xsl.feature.feature.group" version="1.3.300.v201302282018-7T7_F_uFIqUoKCGIeb62mhZKaH_Lg"/>
<unit id="org.eclipse.equinox.executable.feature.group" version="3.6.0.v20140117-1004"/>
<unit id="org.eclipse.rcp.sdk.id" version="4.3.2.M20140221-1700"/>
<unit id="org.eclipse.tm.terminal.sdk.feature.group" version="3.3.100.201308290741"/>
<unit id="org.eclipse.platform.sdk" version="4.3.2.M20140221-1700"/>
<unit id="org.eclipse.sdk.feature.group" version="4.3.2.v20140221-1852"/>
<unit id="org.eclipse.equinox.weaving.sdk.feature.group" version="1.0.200.v20130327-1442"/>
<unit id="org.eclipse.equinox.server.jetty.feature.group" version="1.1.1.v20140113-1859"/>
<unit id="org.eclipse.rse.local.feature.group" version="2.1.500.201305211438"/>
<unit id="org.eclipse.rse.telnet.feature.group" version="2.3.100.201305201712"/>
<unit id="org.eclipse.tm.terminal.view.feature.group" version="2.4.100.201305201712"/>
<unit id="org.eclipse.tm.terminal.ssh.feature.group" version="2.1.300.201305201712"/>
<unit id="org.eclipse.rse.ftp.feature.group" version="3.2.0.201305152119"/>
<unit id="org.eclipse.emf.sdk.feature.group" version="2.9.2.v20140203-1126"/>
<unit id="org.eclipse.tm.terminal.serial.feature.group" version="2.1.300.201308290741"/>
<unit id="org.eclipse.epp.package.automotive.feature.feature.group" version="2.0.2.20140224-0000"/>
<unit id="org.eclipse.epp.package.rcp.feature.feature.group" version="2.0.2.20140224-0000"/>
<unit id="org.eclipse.epp.package.common.feature.feature.group" version="2.0.2.20140224-0000"/>
<repository location="http://download.eclipse.org/releases/kepler"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.nebula.widgets.nattable.extension.poi.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.glazedlists.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.glazedlists.source.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.core.source.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.poi.source.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.core.feature.feature.group" version="1.3.0.201503261201"/>
<repository location="http://download.eclipse.org/nattable/releases/1.3.0/repository/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="ca.odell.glazedlists" version="1.9.0.v201303080712"/>
<unit id="com.sun.jersey" version="1.17.0.v20130314-2020"/>
<unit id="javax.ws.rs" version="1.1.1.v20130318-1750"/>
<unit id="com.google.gson" version="2.2.4.v201311231704"/>
<unit id="javax.xml.rpc" version="1.1.0.v201209140446"/>
<unit id="org.codehaus.jackson.jaxrs" version="1.6.0.v20101005-1100"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.ptp.etfw.tau.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.debug.sdm.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.pldt.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.etfw.tau.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.sci.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.sdk.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.pldt.upc.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rm.jaxb.contrib.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.remote.rse.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.gem.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.editor.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.sync.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.xlc.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.feature.group" version="7.0.5.201404110147"/>
<repository location="http://download.eclipse.org/tools/ptp/updates/kepler"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="2.2.1.201402241301"/>
<unit id="org.apache.log4j.source" version="1.2.15.v201012070815"/>
<unit id="org.hamcrest.core" version="1.3.0.v201303031735"/>
<unit id="org.apache.log4j" version="1.2.15.v201012070815"/>
<unit id="org.eclipse.swtbot.forms.feature.group" version="2.2.1.201402241301"/>
<unit id="org.eclipse.swtbot.eclipse.gef.feature.group" version="2.2.1.201402241301"/>
<unit id="org.hamcrest.library.source" version="1.3.0.v201305281000"/>
<unit id="org.hamcrest.library" version="1.3.0.v201305281000"/>
<unit id="org.eclipse.swtbot.feature.group" version="2.2.1.201402241301"/>
<unit id="org.eclipse.swtbot.ide.feature.group" version="2.2.1.201402241301"/>
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="2.2.1.201402241301"/>
<unit id="org.eclipse.swtbot.generator.feature.feature.group" version="2.2.1.201402241301"/>
<unit id="org.hamcrest.core.source" version="1.3.0.v201303031735"/>
<repository location="http://download.eclipse.org/technology/swtbot/releases/latest/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.m2e.feature.feature.group" version="1.4.0.20130601-0317"/>
<unit id="org.eclipse.mylyn.github.feature.feature.group" version="3.2.0.201312181205-r"/>
<repository location="http://download.eclipse.org/releases/kepler"/>
</location>
</locations>
</target>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="kepler_rcp" sequenceNumber="60">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.nebula.feature.feature.group" version="1.0.0.201409040043"/>
<repository location="http://download.eclipse.org/technology/nebula/archives/Q32014/release/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.cdt.feature.group" version="8.3.0.201402142303"/>
<unit id="org.eclipse.rse.core.feature.group" version="3.4.100.201307171557"/>
<unit id="org.eclipse.tm.terminal.feature.group" version="3.2.100.201308011444"/>
<unit id="org.eclipse.equinox.serverside.sdk.feature.group" version="3.9.1.v20140221-1852"/>
<unit id="org.eclipse.rse.ssh.feature.group" version="3.0.500.201305201712"/>
<unit id="org.eclipse.tm.terminal.telnet.feature.group" version="2.1.300.201305201712"/>
<unit id="org.eclipse.rcp.feature.group" version="4.3.2.v20140221-1700"/>
<unit id="org.eclipse.equinox.core.sdk.feature.group" version="3.8.0.v20140114-1344"/>
<unit id="org.eclipse.wst.web_ui.feature.feature.group" version="3.5.2.v201401062113-7O7QG3wEMkBS3Graz0gRCYqCz-PVayJqBmOpb93L"/>
<unit id="org.eclipse.rse.dstore.feature.group" version="3.4.100.201309112143"/>
<unit id="org.eclipse.equinox.compendium.sdk.feature.group" version="3.8.0.v20130813-1853"/>
<unit id="org.eclipse.rse.terminals.feature.group" version="1.2.100.201308011444"/>
<unit id="org.eclipse.wst.xsl.feature.feature.group" version="1.3.300.v201302282018-7T7_F_uFIqUoKCGIeb62mhZKaH_Lg"/>
<unit id="org.eclipse.equinox.executable.feature.group" version="3.6.0.v20140117-1004"/>
<unit id="org.eclipse.rcp.sdk.id" version="4.3.2.M20140221-1700"/>
<unit id="org.eclipse.tm.terminal.sdk.feature.group" version="3.3.100.201308290741"/>
<unit id="org.eclipse.platform.sdk" version="4.3.2.M20140221-1700"/>
<unit id="org.eclipse.sdk.feature.group" version="4.3.2.v20140221-1852"/>
<unit id="org.eclipse.equinox.weaving.sdk.feature.group" version="1.0.200.v20130327-1442"/>
<unit id="org.eclipse.equinox.server.jetty.feature.group" version="1.1.1.v20140113-1859"/>
<unit id="org.eclipse.rse.local.feature.group" version="2.1.500.201305211438"/>
<unit id="org.eclipse.rse.telnet.feature.group" version="2.3.100.201305201712"/>
<unit id="org.eclipse.tm.terminal.view.feature.group" version="2.4.100.201305201712"/>
<unit id="org.eclipse.tm.terminal.ssh.feature.group" version="2.1.300.201305201712"/>
<unit id="org.eclipse.rse.ftp.feature.group" version="3.2.0.201305152119"/>
<unit id="org.eclipse.emf.sdk.feature.group" version="2.9.2.v20140203-1126"/>
<unit id="org.eclipse.tm.terminal.serial.feature.group" version="2.1.300.201308290741"/>
<unit id="org.eclipse.epp.package.automotive.feature.feature.group" version="2.0.2.20140224-0000"/>
<unit id="org.eclipse.epp.package.rcp.feature.feature.group" version="2.0.2.20140224-0000"/>
<unit id="org.eclipse.epp.package.common.feature.feature.group" version="2.0.2.20140224-0000"/>
<repository location="http://download.eclipse.org/releases/kepler"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.nebula.widgets.nattable.extension.poi.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.glazedlists.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.glazedlists.source.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.core.source.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.extension.poi.source.feature.feature.group" version="1.3.0.201503261201"/>
<unit id="org.eclipse.nebula.widgets.nattable.core.feature.feature.group" version="1.3.0.201503261201"/>
<repository location="http://download.eclipse.org/nattable/releases/1.3.0/repository/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="ca.odell.glazedlists" version="1.9.0.v201303080712"/>
<unit id="com.sun.jersey" version="1.17.0.v20130314-2020"/>
<unit id="javax.ws.rs" version="1.1.1.v20130318-1750"/>
<unit id="com.google.gson" version="2.2.4.v201311231704"/>
<unit id="javax.xml.rpc" version="1.1.0.v201209140446"/>
<unit id="org.codehaus.jackson.jaxrs" version="1.6.0.v20101005-1100"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.ptp.etfw.tau.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.debug.sdm.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.pldt.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.etfw.tau.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.sci.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.sdk.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.pldt.upc.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rm.jaxb.contrib.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.remote.rse.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.gem.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.editor.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.sync.fortran.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.xlc.feature.group" version="7.0.5.201404110147"/>
<unit id="org.eclipse.ptp.rdt.feature.group" version="7.0.5.201404110147"/>
<repository location="http://download.eclipse.org/tools/ptp/updates/kepler"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.m2e.feature.feature.group" version="1.4.0.20130601-0317"/>
<unit id="org.eclipse.mylyn.github.feature.feature.group" version="3.2.0.201312181205-r"/>
<repository location="http://download.eclipse.org/releases/kepler"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.swtbot.generator.feature.feature.group" version="2.3.0.201506081302"/>
<unit id="org.eclipse.swtbot.forms.feature.group" version="2.3.0.201506081302"/>
<unit id="org.apache.log4j.source" version="1.2.15.v201012070815"/>
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="2.3.0.201506081302"/>
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="2.3.0.201506081302"/>
<unit id="org.hamcrest.library" version="1.3.0.v201305281000"/>
<unit id="org.eclipse.swtbot.ide.feature.group" version="2.3.0.201506081302"/>
<unit id="org.hamcrest.core.source" version="1.3.0.v201303031735"/>
<unit id="org.hamcrest.library.source" version="1.3.0.v201305281000"/>
<unit id="org.eclipse.swtbot.feature.group" version="2.3.0.201506081302"/>
<unit id="org.hamcrest.core" version="1.3.0.v201303031735"/>
<unit id="org.eclipse.swtbot.eclipse.gef.feature.group" version="2.3.0.201506081302"/>
<unit id="org.apache.log4j" version="1.2.15.v201012070815"/>
<repository location="http://download.eclipse.org/technology/swtbot/releases/latest/"/>
</location>
</locations>
</target>
......@@ -101,6 +101,13 @@ Java and all Java-based trademarks are trademarks of Oracle Corporation in the U
<features>
<feature id="org.eclipse.ice" version="2.0.0"/>
<feature id="org.eclipse.rcp" version="4.3.2.v20140221-1700"/>
<feature id="org.eclipse.emf.ecore"/>
<feature id="org.eclipse.emf.common"/>
<feature id="org.eclipse.e4.rcp"/>
<feature id="org.eclipse.equinox.p2.user.ui" version="2.2.0.v20140221-1852"/>
<feature id="org.eclipse.equinox.p2.extras.feature"/>
<feature id="org.eclipse.equinox.p2.core.feature"/>
<feature id="org.eclipse.equinox.p2.rcp.feature"/>
</features>
<configurations>
......
......@@ -46,9 +46,11 @@ public class MOOSETreeCheckStateManager implements ICheckStateProvider,
TreeViewer treeViewer = (TreeViewer) event.getSource();
TreeComposite node = (TreeComposite) event.getElement();
boolean checked = event.getChecked();
// If checked, all ancestor nodes should also be checked. This is
// done by setting their active flags.
if (event.getChecked()) {
if (checked) {
while (node != null) {
// If the state of the node changes, we need to tell the
// TreeViewer to refresh that element.
......@@ -59,21 +61,24 @@ public class MOOSETreeCheckStateManager implements ICheckStateProvider,
node = node.getParent();
}
}
// If unchecked, all descendant nodes should also be unchecked. This
// is done by unsetting their active flags.
else {
// Get a breadth-first iterator so we can walk the tree.
Iterator<TreeComposite> iterator;
iterator = new BreadthFirstTreeCompositeIterator(node);
// Loop over and deactivate the children.
while (iterator.hasNext()) {
node = iterator.next();
// If the state of the node changes, we need to tell the
// TreeViewer to refresh that element.
if (node.isActive()) {
node.setActive(false);
treeViewer.update(node, null);
}
// Either way, all descendant nodes should have the same check state
// as the ancestor node when it changes.
// Get the root node (it may have changed due to the above loop).
node = (TreeComposite) event.getElement();
// Get a breadth-first iterator so we can walk the tree.
Iterator<TreeComposite> iterator;
iterator = new BreadthFirstTreeCompositeIterator(node);
// Loop over and deactivate the children.
while (iterator.hasNext()) {
node = iterator.next();
// If the state of the node changes, we need to tell the
// TreeViewer to refresh that element.
if (node.isActive() != checked) {
node.setActive(checked);
treeViewer.update(node, null);
}
}
}
......
......@@ -471,6 +471,10 @@ public class ItemProcessor implements IWidgetClosedListener, Runnable {
// be displayed
posted.set(true);
} else {
// FIXME This is a potential design flaw, as any attempt to
// cancel will be ignored if the widget is closed
// "successfully" before this thread makes it to this if
// condition.
// Otherwise if the widget has been posted, see if it has
// been closed ok.
if (widgetClosedOK.get()) {
......
......@@ -69,7 +69,7 @@ public class ResourceComponent extends ListComponent<ICEResource> {
return;
}
/**
* This operation gets all of the ICEResources from the component.
*
......
......@@ -160,6 +160,7 @@ public class INIReader implements ITemplatedReader {
if (sectionComp.retrieveAllEntries().size() > 0) {
iniForm.addComponent(sectionComp);
}
reader.close();
} catch (CoreException e) {
e.printStackTrace();
return null;
......@@ -249,6 +250,7 @@ public class INIReader implements ITemplatedReader {
if (sectionComp.retrieveAllEntries().size() > 0) {
templateForm.addComponent(sectionComp);
}
reader.close();
} catch (CoreException e) {
e.printStackTrace();
return null;
......@@ -338,6 +340,7 @@ public class INIReader implements ITemplatedReader {
}
}
}
reader.close();
} catch (CoreException e) {
e.printStackTrace();
return null;
......
......@@ -38,17 +38,6 @@ import org.eclipse.ice.io.serializable.IWriter;
*/
public class INIWriter implements IWriter {
/**
* The character to use as a comment symbol
*/
private String comment;
/**
* A string that can be used if there is an unusual prefix before
* assignments within sections
*/
private String sectionIndent = "";
/**
* Regex to match the section headers
*/
......@@ -100,10 +89,8 @@ public class INIWriter implements IWriter {
PipedInputStream in = new PipedInputStream(8196);
PipedOutputStream out = new PipedOutputStream(in);
DataComponent dataComp;
String tableContents, compName, currIndent;
Boolean inSection;
String tableContents, compName;
String newLine = System.getProperty("line.separator");
ArrayList<Entry> row;
byte[] byteArray;
// Make sure that we have a file to write to before proceeding
......@@ -119,15 +106,13 @@ public class INIWriter implements IWriter {
compName = dataComp.getName();
// If the section had a name start by adding that
// Otherwise, just leave it blank
// Then set the indentation required accordingly
if (compName != "Default Section") {
tableContents = sectionPrefix + compName
+ sectionPostfix + newLine;
currIndent = sectionIndent;
} else {
// Otherwise, just leave it blank
tableContents = "";
currIndent = "";
}
// Now go through the rows and add each variable
......@@ -146,6 +131,7 @@ public class INIWriter implements IWriter {
// Close the stream and set the file contents
out.close();
file.setContents(in, true, false, new NullProgressMonitor());
in.close();
} catch (FileNotFoundException e) {
System.out.println("INIWriter Message: Could not find "
+ file.getName() + " for writing.");
......@@ -159,13 +145,6 @@ public class INIWriter implements IWriter {
}
}
/**
* Change the string used to indent on sections
*/
public void setSectionIndentation(String indent) {
sectionIndent = indent;
}
/**
* Allows the changing of the syntax for section headers.
*
......
......@@ -14,6 +14,7 @@ package org.eclipse.ice.viz.service.visit;
import gov.lbnl.visit.swt.VisItSwtWidget;
import java.awt.Event;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicBoolean;