C# Class CmisSync.StatusIconController

MVC controller for the CmisSync status icon.
Mostrar archivo Open project: aegif/CmisSync Class Usage Examples

Public Properties

Property Type Description
CurrentState IconState
MenuOverflowThreshold int
MinSubmenuOverflowCount int
StateText string

Public Methods

Method Description
AboutClicked ( ) : void

Show the About dialog.

AddRemoteFolderClicked ( ) : void

Open the remote folder addition wizard.

EditFolderClicked ( string reponame ) : void

Edit a particular folder.

LocalFolderClicked ( string reponame ) : void

With the local file explorer, open the folder where the local synchronized folders are.

LogClicked ( ) : void

Open the CmisSync log with a text file viewer.

ManualSyncClicked ( string reponame ) : void

Manual sync clicked.

QuitClicked ( ) : void

Quit CmisSync.

RemoteFolderClicked ( string reponame ) : void

With the default web browser, open the remote folder of a CmisSync synchronized folder.

RemoveFolderFromSyncClicked ( string reponame ) : void

Tries to remove a given repo from sync

SettingsClicked ( string reponame ) : void

With the default web browser, open the remote folder of a CmisSync synchronized folder.

StatusIconController ( ) : CmisSync.Lib

Constructor.

SuspendSyncClicked ( string reponame ) : void

Suspend synchronization for a particular folder.

Private Methods

Method Description
InitAnimation ( ) : void

Start the tray icon animation.

Method Details

AboutClicked() public method

Show the About dialog.
public AboutClicked ( ) : void
return void

AddRemoteFolderClicked() public method

Open the remote folder addition wizard.
public AddRemoteFolderClicked ( ) : void
return void

EditFolderClicked() public method

Edit a particular folder.
public EditFolderClicked ( string reponame ) : void
reponame string
return void

LocalFolderClicked() public method

With the local file explorer, open the folder where the local synchronized folders are.
public LocalFolderClicked ( string reponame ) : void
reponame string
return void

LogClicked() public method

Open the CmisSync log with a text file viewer.
public LogClicked ( ) : void
return void

ManualSyncClicked() public method

Manual sync clicked.
public ManualSyncClicked ( string reponame ) : void
reponame string
return void

QuitClicked() public method

Quit CmisSync.
public QuitClicked ( ) : void
return void

RemoteFolderClicked() public method

With the default web browser, open the remote folder of a CmisSync synchronized folder.
public RemoteFolderClicked ( string reponame ) : void
reponame string
return void

RemoveFolderFromSyncClicked() public method

Tries to remove a given repo from sync
public RemoveFolderFromSyncClicked ( string reponame ) : void
reponame string
return void

SettingsClicked() public method

With the default web browser, open the remote folder of a CmisSync synchronized folder.
public SettingsClicked ( string reponame ) : void
reponame string
return void

StatusIconController() public method

Constructor.
public StatusIconController ( ) : CmisSync.Lib
return CmisSync.Lib

SuspendSyncClicked() public method

Suspend synchronization for a particular folder.
public SuspendSyncClicked ( string reponame ) : void
reponame string
return void

Property Details

CurrentState public_oe property

Current state of the CmisSync tray icon.
public IconState CurrentState
return IconState

MenuOverflowThreshold public_oe property

Maximum number of remote folders in the menu before the overflow menu appears.
public int MenuOverflowThreshold
return int

MinSubmenuOverflowCount public_oe property

Minimum number of remote folders to populate the overflow menu.
public int MinSubmenuOverflowCount
return int

StateText public_oe property

Short text shown at the top of the menu of the CmisSync tray icon.
public string StateText
return string