using Metis.Measuring; using PaintDotNet.ImageLabel; using PaintDotNet.Instrument; using PaintDotNet.Measuring; namespace PaintDotNet { /// /// This class is used to hold references to many of the UI elements /// that are privately encapsulated in various places. /// This allows other program elements to access these objects while /// allowing these items to move around, and without breaking OO best /// practices. /// internal class WorkspaceWidgets { private AppWorkspace workspace; private DocumentStrip documentStrip; public DocumentStrip DocumentStrip { get { return this.documentStrip; } set { this.documentStrip = value; } } private ViewConfigStrip viewConfigStrip; public ViewConfigStrip ViewConfigStrip { get { return this.viewConfigStrip; } set { this.viewConfigStrip = value; } } private CommonActionsStrip commonActionsStrip; public CommonActionsStrip CommonActionsStrip { get { return this.commonActionsStrip; } set { this.commonActionsStrip = value; } } private RuleListForm ruleListForm; public RuleListForm RuleListForm { get { return this.ruleListForm; } set { this.ruleListForm = value; } } private PixelTrackingDialog pixelTrackingDialog; public PixelTrackingDialog PixelTrackingDialog { get { return this.pixelTrackingDialog; } set { this.pixelTrackingDialog = value; } } private ScriptRunningDialog runningDialog; public ScriptRunningDialog RunningDialog { get { return this.runningDialog; } set { this.runningDialog = value; } } private HistogramDialog histogramDialog; public HistogramDialog HistogramDialog { get { return this.histogramDialog; } set { this.histogramDialog = value; } } private ScratchTreatmentDialog scratchTreatmentDialog; public ScratchTreatmentDialog ScratchTreatmentDialog { get { return this.scratchTreatmentDialog; } set { this.scratchTreatmentDialog = value; } } private SmudgeTreatmentDialog smudgeTreatmentDialog; public SmudgeTreatmentDialog SmudgeTreatmentDialog { get { return this.smudgeTreatmentDialog; } set { this.smudgeTreatmentDialog = value; } } private LabelListDialog labelListDialog; public LabelListDialog LabelListDialog { get { return this.labelListDialog; } set { this.labelListDialog = value; } } private MeasureListDialog measureListDialog; public MeasureListDialog MeasureListDialog { get { return this.measureListDialog; } set { this.measureListDialog = value; } } private OpticalDensityDialog opticalDensityDialog; public OpticalDensityDialog OpticalDensityDialog { get { return this.opticalDensityDialog; } set { this.opticalDensityDialog = value; } } private WorkFlowDialog workFlowDialog; public WorkFlowDialog WorkFlowDialog { get { return this.workFlowDialog; } set { this.workFlowDialog = value; } } private ProjectEngineering projectEngineering; public ProjectEngineering ProjectEngineering { get { return this.projectEngineering; } set { this.projectEngineering = value; } } private IStatusBarProgress statusBarProgress; public IStatusBarProgress StatusBarProgress { get { return this.statusBarProgress; } set { this.statusBarProgress = value; } } private ScriptStartRecordingDialog startRecordingDialogs; public ScriptStartRecordingDialog StartRecordingDialog { get { return this.startRecordingDialogs; } set { this.startRecordingDialogs = value; } } private ImageIndexDialog imageIndexDialog; public ImageIndexDialog ImageIndexDialog { get { return this.imageIndexDialog; } set { this.imageIndexDialog = value; } } private GeometryMeasureDialog geometryMeasureDialog; public GeometryMeasureDialog GeometryMeasureDialog { get { return this.geometryMeasureDialog; } set { this.geometryMeasureDialog = value; } } public WorkspaceWidgets(AppWorkspace workspace) { this.workspace = workspace; } } }