diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java b/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java index 8eb198e..1107278 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/Stage.java @@ -64,9 +64,9 @@ } /** - * Enable or disable only the specified layer (layerNo) + * Enable or disable the specified layer (layerNo) */ - public void setEnabledForLayer(final int layerNo, final boolean isEnable){ + public void setLayerEnabled(final int layerNo, final boolean isEnable){ mxCell rootCell = (mxCell) graph.getDefaultParent(); if(rootCell == null) return; if(rootCell.getChildCount() <= 0) return; @@ -76,9 +76,9 @@ } /** - * After hiding all layers, show only the specified ones (argsOfLayers) + * Show the specified layers only (argsOfLayers) */ - public void showOnlyLayer(final int... argsOfLayers){ + public void showLayers(final int... argsOfLayers){ mxCell rootCell = (mxCell) graph.getDefaultParent(); if(rootCell == null) return; if(rootCell.getChildCount() <= 0) return;