Search in sources :

Example 16 with AxisConfig

use of org.csstudio.trends.databrowser3.model.AxisConfig in project org.csstudio.display.builder by kasemir.

the class ChangeVisibilityCommand method undo.

/**
 * {@inheritDoc}
 */
@Override
public void undo() {
    final AxisConfig axis = item.getAxis();
    item.setVisible(old_visibility);
    axis.setVisible(item.getModel().get().hasAxisActiveItems(axis));
}
Also used : AxisConfig(org.csstudio.trends.databrowser3.model.AxisConfig)

Aggregations

AxisConfig (org.csstudio.trends.databrowser3.model.AxisConfig)13 ModelItem (org.csstudio.trends.databrowser3.model.ModelItem)8 PVItem (org.csstudio.trends.databrowser3.model.PVItem)5 ArrayList (java.util.ArrayList)4 RGB (org.eclipse.swt.graphics.RGB)3 PrintWriter (java.io.PrintWriter)2 TraceType (org.csstudio.javafx.rtplot.TraceType)2 AnnotationInfo (org.csstudio.trends.databrowser3.model.AnnotationInfo)2 FormulaItem (org.csstudio.trends.databrowser3.model.FormulaItem)2 PlotSample (org.csstudio.trends.databrowser3.model.PlotSample)2 RequestType (org.csstudio.trends.databrowser3.model.RequestType)2 AddAxisCommand (org.csstudio.trends.databrowser3.propsheet.AddAxisCommand)2 CellEditor (org.eclipse.jface.viewers.CellEditor)2 CellLabelProvider (org.eclipse.jface.viewers.CellLabelProvider)2 CheckboxCellEditor (org.eclipse.jface.viewers.CheckboxCellEditor)2 TableViewer (org.eclipse.jface.viewers.TableViewer)2 TableViewerColumn (org.eclipse.jface.viewers.TableViewerColumn)2 ViewerCell (org.eclipse.jface.viewers.ViewerCell)2 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)2 SelectionEvent (org.eclipse.swt.events.SelectionEvent)2