Exemple #1
0
    def get_columns(self):
        """
        Return all the columns we support.

        """

        return (
            Caja.Column(
                name="RabbitVCS::status_column",
                attribute="status",
                label=_("RVCS Status"),
                description=""
            ),
            Caja.Column(
                name="RabbitVCS::revision_column",
                attribute="revision",
                label=_("RVCS Revision"),
                description=""
            ),
            Caja.Column(
                name="RabbitVCS::author_column",
                attribute="author",
                label=_("RVCS Author"),
                description=""
            ),
            Caja.Column(
                name="RabbitVCS::age_column",
                attribute="age",
                label=_("RVCS Age"),
                description=""
            )
        )
Exemple #2
0
 def get_columns(self):
     return [
         Caja.Column(name='Mixed::mixed_column',
                     attribute='mixed',
                     label='Mixed',
                     description='Column added by the mixed extension')
     ]
Exemple #3
0
 def get_columns(self):
     return Caja.Column(name="CajaPython::block_size_column",
                        attribute="block_size",
                        label="Block size",
                        description="Get the block size"),
Exemple #4
0
    def get_columns(self):
        return (
            FileManager.Column(name='title',
                               attribute='title',
                               label=_('Title'),
                               description=_('Title')),
            FileManager.Column(name='description',
                               attribute='description',
                               label=_('Description'),
                               description=_('Description')),
            FileManager.Column(name='album_column',
                               attribute='album',
                               label=_('Album'),
                               description=_('Album')),
            FileManager.Column(name='creator_column',
                               attribute='creator',
                               label=_('Creator'),
                               description=_('Creator (Author/Artist)')),
            FileManager.Column(name='tracknumber_column',
                               attribute='tracknumber',
                               label=_('Track'),
                               description=_('Track number')),
            FileManager.Column(name='genre_column',
                               attribute='genre',
                               label=_('Genre'),
                               description=_('Genre')),
            FileManager.Column(name='date_column',
                               attribute='date',
                               label=_('Date'),
                               description=_('Date')),
            FileManager.Column(name='bitrate_column',
                               attribute='bitrate',
                               label=_('Bitrate'),
                               description=_('Audio Bitrate in kilo bits per \
second')),
            FileManager.Column(name='samplerate_column',
                               attribute='samplerate',
                               label=_('Sample rate'),
                               description=_('Sample rate in Hz')),
            FileManager.Column(name='length_column',
                               attribute='length',
                               label=_('Length'),
                               description=_('Length of audio')),
            # Images
            FileManager.Column(name='exposure_time_column',
                               attribute='exposure_time',
                               label=_('Exposure time'),
                               description=_('Exposure time in seconds')),
            FileManager.Column(name='fnumber_column',
                               attribute='fnumber',
                               label=_('F number'),
                               description=_('Exposure F number')),
            FileManager.Column(name='fnumber_focal_length',
                               attribute='focal_length',
                               label=_('Focal length'),
                               description=_('The actual focal length of the \
lens, in mm.')),
            FileManager.Column(name='gps_altitude_column',
                               attribute='gps_altitude',
                               label=_('Altitude'),
                               description=_('GPS Altitude')),
            FileManager.Column(name='gps_latitude_column',
                               attribute='gps_latitude',
                               label=_('Latitude'),
                               description=_('GPS Latitude')),
            FileManager.Column(name='gps_longitude_column',
                               attribute='gps_longitude',
                               label=_('Longitude'),
                               description=_('GPS Longitude')),
            FileManager.Column(name='iso_speed_column',
                               attribute='iso_speed',
                               label=_('ISO'),
                               description=_('ISO Speed')),
            FileManager.Column(name='orientation_column',
                               attribute='orientation',
                               label=_('Orientation'),
                               description=_('Orientation')),
            FileManager.Column(name='model_column',
                               attribute='model',
                               label=_('Model'),
                               description=_('Model')),
            FileManager.Column(name='resolution_unit_column',
                               attribute='resolution_unit',
                               label=_('Resolution unit'),
                               description=_('The unit for measuring')),
            FileManager.Column(name='xresolution_column',
                               attribute='xresolution',
                               label=_('X resolution'),
                               description=_('The resolution in the x axis')),
            FileManager.Column(name='yresolution_column',
                               attribute='yresolution',
                               label=_('Y resolution'),
                               description=_('The resolution in the y axis')),
            FileManager.Column(name='datetime_original_column',
                               attribute='datetime_original',
                               label=_('Capture date'),
                               description=_('Photo capture date')),
            FileManager.Column(name='shutter_speed_value_column',
                               attribute='shutter_speed_value',
                               label=_('Shutter speed'),
                               description=_('Shutter speed')),
            FileManager.Column(name='aperture_value_column',
                               attribute='aperture_value',
                               label=_('Aperture'),
                               description=_('The lens aperture')),
            FileManager.Column(name='brightness_value_column',
                               attribute='brightness_value',
                               label=_('Brightness'),
                               description=_('Brightness')),
            FileManager.Column(name='exposure_bias_value_column',
                               attribute='exposure_bias_value',
                               label=_('Exposure'),
                               description=_('The exposure bias')),
            FileManager.Column(
                name='max_aperture_value_column',
                attribute='max_aperture_value',
                label=_('Max aperture'),
                description=_('The smallest F number of the lens')),
            FileManager.Column(name='metering_mode_column',
                               attribute='metering_mode',
                               label=_('Metering mode'),
                               description=_('The metering mode')),
            FileManager.Column(name='light_source_column',
                               attribute='light_source',
                               label=_('Light source'),
                               description=_('The kind of light source')),
            FileManager.Column(name='flash_column',
                               attribute='flash',
                               label=_('Flash'),
                               description=_('Indicates the status of flash \
when the image was shot')),
            FileManager.Column(name='exposure_mode_column',
                               attribute='exposure_mode',
                               label=_('Exposure mode'),
                               description=_('The exposure mode set when the \
image was shot')),
            FileManager.Column(name='gain_control_column',
                               attribute='gain_control',
                               label=_('Gain control'),
                               description=_('The degree of overall image \
gain adjustment')),
            FileManager.Column(
                name='width_column',
                attribute='width',
                label=_('Width'),
                description=_('Image/video/pdf width (pixel/mm)')),
            FileManager.Column(
                name='height_column',
                attribute='height',
                label=_('Height'),
                description=_('Image/video/pdf height (pixel/mm)')),
            FileManager.Column(name='pages_column',
                               attribute='pages',
                               label=_('Pages'),
                               description=_('Number of pages')),
        )