A program or Workplace Shell object would call the following methods to get information about a program reference or a program file object. A program reference or program file object would override these methods to define its characteristics.
┌──────────────────────────────┬──────────────────────────────┐ │Method Name │Description │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryAssociationFilter │Returns the list of filters │ │ │that the program reference or │ │ │program file object is │ │ │associated to. │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryAssociationType │Returns the list of types that│ │ │the program reference or │ │ │program file object is │ │ │associated to. │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryProgramAssociations │Returns the list of filters or│ │ │types for the program │ │ │reference or program file │ │ │object. │ └──────────────────────────────┴──────────────────────────────┘
A program or Workplace Shell object would call the following method to get information about a program reference or a program file object. This method is not normally overriden.
┌──────────────────────────────┬──────────────────────────────┐ │Method Name │Description │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryProgDetails │Returns the program details │ │ │for the program reference or │ │ │program file object. │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryWarnBeforeStart │Queries the program │ │ │reference's Warn Before Start │ │ │flag. If this flag is set, │ │ │put up a warning dialog before│ │ │starting the program. │ ├──────────────────────────────┼──────────────────────────────┤ │wpQueryWarnBeforeStart │Queries the program │ │ │reference's Warn Before Start │ │ │flag. If this flag is set, │ │ │put up a warning dialog before│ │ │starting the program. │ └──────────────────────────────┴──────────────────────────────┘
A program or Workplace Shell object would call the following methods to set information about a program reference or a program file object. These methods are not normally overridden.
┌──────────────────────────────┬──────────────────────────────┐ │Method Name │Description │ ├──────────────────────────────┼──────────────────────────────┤ │wpSetAssociationFilter │Changes the list of filters │ │ │that the program reference or │ │ │program file object is │ │ │associated to. │ ├──────────────────────────────┼──────────────────────────────┤ │wpSetAssociationType │Changes the list of types that│ │ │the program reference or │ │ │program file object is │ │ │associated to. │ ├──────────────────────────────┼──────────────────────────────┤ │wpSetProgDetails │Changes the program details │ │ │for the program reference or │ │ │program file object. │ ├──────────────────────────────┼──────────────────────────────┤ │wpSetProgramAssociations │Changes the list of filters or│ │ │types that the program │ │ │reference or program file │ │ │object is associated to. │ ├──────────────────────────────┼──────────────────────────────┤ │wpSetWarnBeforeStart │Sets the program reference's │ │ │Warn Before Start flag. If │ │ │this flag is set, put up a │ │ │warning dialog before starting│ │ │the program. │ ├──────────────────────────────┼──────────────────────────────┤ │wpSetWarnBeforeStart │Sets the program reference's │ │ │Warn Before Start flag. If │ │ │this flag is set, put up a │ │ │warning dialog before starting│ │ │the program. │ └──────────────────────────────┴──────────────────────────────┘