• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 6433593370

06 Oct 2023 03:30PM UTC coverage: 73.825% (-9.3%) from 83.134%
6433593370

push

github

web-flow
[feature] Add GUI Toolkit Commands (backport #5260) (#5285)

[feature] Add GUI Toolkit Commands (#5260)

* Markdown

* Delete

* Add AFXApp and AFXBoolKeyword

* Delete

* Update headings

* Create parse.py

* Update parse.py

* Unicode Spaces

* Update .pre-commit-config.yaml

* Update md types

* Update Kernel plug-in registration commands.md

* Generated python stubs

* Add class inheritance

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Revert "Update .pre-commit-config.yaml"

This reverts commit 9d3aef3cc.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix mypy errors

* Delete parse.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix return types and imports

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update AFXColumnItems.md

* Update abaqusGui.py

* Add class/global flags

* Delete flags.py

* Fix flags

* Fix

* Skip mypy

* Update abaqusGui.py

* Update constants.py

* Create kernelAccess.py

* Add plugin docs

* Revert changes by docformatter

* Delete markdown files

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit a65ff5df8)

Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>

3661 of 3661 new or added lines in 151 files covered. (100.0%)

24137 of 32695 relevant lines covered (73.82%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/PlugInRegistration/FXFileItem.py
1
from __future__ import annotations
×
2

3
from .FXIcon import FXIcon
×
4
from .FXIconItem import FXIconItem
×
5

6
#: Show hidden files or directories.
7
FILELIST_SHOWHIDDEN: int = hash("FILELIST_SHOWHIDDEN")
×
8

9
#: Show only directories.
10
FILELIST_SHOWDIRS: int = hash("FILELIST_SHOWDIRS")
×
11

12
#: Do not create associations for files.
13
FILELIST_NO_OWN_ASSOC: int = hash("FILELIST_NO_OWN_ASSOC")
×
14

15

16
class FXFileItem(FXIconItem):
×
17
    """File item."""
18

19
    def __init__(self, text: str, bi: FXIcon | None = None, mi: FXIcon | None = None, ptr: str = "None"):
×
20
        """Constructor.
21

22
        Parameters
23
        ----------
24
        text : str
25

26
        bi : FXIcon | None
27

28
        mi : FXIcon | None
29

30
        ptr : str
31
        """
32

33
    def getDate(self):
×
34
        """Return the date for this item."""
35

36
    def getSize(self):
×
37
        """Return the file size for this item."""
38

39
    def isBlockdev(self):
×
40
        """Return True if this is a block device item."""
41

42
    def isChardev(self):
×
43
        """Return True if this is a character device item."""
44

45
    def isDirectory(self):
×
46
        """Return True if this is a directory item.
47

48
        Reimplemented in AFXFileItem.
49
        """
50

51
    def isExecutable(self):
×
52
        """Return True if this is an executable item."""
53

54
    def isFifo(self):
×
55
        """Return True if this is an FIFO item."""
56

57
    def isFile(self):
×
58
        """Return True if this is a file item."""
59

60
    def isSocket(self):
×
61
        """Return True if this is a socket."""
62

63
    def isSymlink(self):
×
64
        """Return True if this is a symbolic link item."""
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc