stella.command
Interface TargetDependingCommand

All Known Implementing Classes:
AcquireAdapter, AcquireAuxiliary, AcquireExposureAdapter, AutoFocusCcd, DarkCcd, DerotatorOffsetTelescope, ExposeAdapter, ExposeAuxiliary, ExposureAbortCcd, FindAdapter, FindAuxiliary, FitsCcd, FixedRotatorAdapter, FocusOffsetTelescope, FollowRoof, GeometryAuxiliary, GeometryCcd, GuidingExposureAdapter, JMoveTelescope, MoveAuxiliary, MoveMirrorTelescope, MoveTelescope, ScientificCcd, SelectClearFilterCalibration, SelectFilterAdapter, SelectFilterCalibration, SelectInitFilterCalibration, SelectModeCcd, SequenceDitherAuxiliary, SequenceFilterCalibration, SetGuideStarAuxiliary, StarCommand, StartExposingAuxiliary, StartGuidingAdapter, StartGuidingAuxiliary, StartWatchMaster

public interface TargetDependingCommand

An interface signaling that this command depends on certain properties. Normally this is used during command rendering. If a CommandRendering object derives the full command out of a template, it should check if the command is property depending, and in the latter case, pass the properties derived from the target definition to registerTargetProperties(java.lang.Object).


Method Summary
 void registerTargetProperties(Object set)
          A target depending command should drain the necessarry information to get valid out of a target definition.
 

Method Detail

registerTargetProperties

void registerTargetProperties(Object set)
A target depending command should drain the necessarry information to get valid out of a target definition. During rendering, the renderer retrieves the information from the current target and plugs it into commands that need this special information. The target properties are of the most general type known in java, but will normally be a specific subclass, like a Map.