Class RecordingProp

    • Field Detail

      • FILE_EXTENSION

        public static final java.lang.String FILE_EXTENSION
        The file name extension with the dot ".eem".
        See Also:
        Constant Field Values
    • Constructor Detail

      • RecordingProp

        public RecordingProp()
        Creates the capture recording property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • RecordingProp

        public RecordingProp​(Atom propertyAtom)
        Creates the capture recording property container with the specified name. All system-reserved names for components begins with "$".
        Parameters:
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • addPredefinedProps

        protected void addPredefinedProps()
                                   throws PropException
        Description copied from class: PropCnr
        Adds the predefined properties for this container. This method is called once just after construction of the property container and sometimes population of it.

        The method should add properties to create or get reference to using the maybeAddProp method. When the PropCnr instance is cloned, the method getPredefinedProps() is called in order for the subclass to be able to retrieve the new instances to these properties, if stored in instance variables.

        Subclasses must override this method to do the appropriate initialization, as this method does nothing for the PropCnr class implementation.

        Overrides:
        addPredefinedProps in class PropCnr
        Throws:
        PropException - for property exceptions.
      • getPredefinedProps

        protected void getPredefinedProps()
        Description copied from class: PropCnr
        Gets potential references to predefined properties for this container. This method is called once just after cloning of the property container.

        The method should get reference to using the getProp(...) methods. This allows the subclass to be able to retrieve the new instances to the properties created during addPredefinedProps() if stored in instance variables.

        Subclasses must override this method to do the appropriate initialization, as this method does nothing for the PropCnr class implementation.

        Overrides:
        getPredefinedProps in class PropCnr
      • getLogic

        public LogicProp getLogic()
        Logic.
        Returns:
        the logic, never null.
      • getScreens

        public RecordingScreensProp getScreens()
        Screens.
        Returns:
        The recorded screens, never null.
      • setMaster

        public void setMaster​(EEMaster master)
        Sets the master and builds the properties.
        Parameters:
        master - The EE master.
      • getMaster

        public EEMaster getMaster()
        Gets the master.
        Returns:
        The EE master, null if not set.
      • getName

        public java.lang.String getName()
        Gets the name of the recording.
        Returns:
        The file name.
      • clone

        public RecordingProp clone()
                            throws java.lang.CloneNotSupportedException
        Clone must be overridden.
        Overrides:
        clone in class PropCnr
        Throws:
        java.lang.CloneNotSupportedException - If cloning failed.
      • getPossibleChildren

        public java.lang.Class<?>[] getPossibleChildren()
        Gets the acceptable children property classes that can be used in conjunction with e.g. a Paste operation.
        Specified by:
        getPossibleChildren in interface IPropCnr
        Overrides:
        getPossibleChildren in class PropCnr
        Returns:
        An array containing the classes of possible children, or null for no support.
      • getUndoContext

        public org.eclipse.core.commands.operations.IUndoContext getUndoContext()
        Gets the Undo Context.
        Specified by:
        getUndoContext in interface IPropUndoContext
        Returns:
        The undo context.