1. Henning Schröder
  2. codeaide

Source

codeaide / codeaide / ide / api.py

from codeaide.interface import Interface, classproperty, Signal



class Settings(Interface):

    
    keys = property()


    
    def set(self, key, value):
        """
        """
        
        
    def get(self, key, default=None):
        """
        """
        



class Application(Interface):


    active_window = property()
    settings = property()

        
    def i18n(self, s):
        """
        """
        
        
    def find_icon(self, name):
        """
        """

        
    def run(self):
        """
        """


    def create_main_window(self):
        """
        """



    def quit(self, force=False):
        """
        """




class MainWindow(Interface):


    def setup(self):
        """
        """


class View(Interface):

    active_document = property()
    active_editor = property()



class Editor(Interface):
    """
    """

    def set_text(self, text):
        """
        """


class Dock(Interface):
    """
    """


class Document(Interface):


    def load(self, filename):
        """
        """


    def save(self, filename):
        """
        """





class Command(Interface):

    shortcut = property()
    icon = property()
    menu = property()


    def execute(self):
        """
        """


        
class Hook(Interface):
    
    def execute(self, *args, **kwargs):
        """
        """


        
class OnStart(Hook):
    """
    """


class OnReady(Hook):
    """
    """



class OnQuit(Hook):
    """
    """


    
class SimpleSession(Interface):
    session_properties = property()
    object_uid = property()


    
class Session(Interface):
    
    def save_session(self):
        """
        """
        
        
    def restore_session(self):
        """
        """



class Preference(Interface):

    key = property()
    default = property()
    value_type = property()
    section = property()
    on_change = Signal()




class Buffer(Interface):
    """
    """


class Window(Interface):
    """
    """
    
    def switch_buffer(self, name):
        pass
    

class Frame(Interface):
    """
    """
    
    def new_window(self):
        pass



    
    
class Project(Interface):
    
    root_path = property()
    python_path = property()