123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- using Metis.Measuring;
- using PaintDotNet.ImageLabel;
- using PaintDotNet.Instrument;
- using PaintDotNet.Measuring;
- namespace PaintDotNet
- {
- /// <summary>
- /// 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.
- /// </summary>
- 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;
- }
- }
- }
|