Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

ProjectSettingsWindow Class Reference

A window where it is possible to view and set project options. More...

Collaboration diagram for ProjectSettingsWindow:

Collaboration graph
[legend]
List of all members.

Private Types

enum  PageOrder { Path = 0, Dll = 1, Namespace = 2 }

Private Member Functions

internal ProjectSettingsWindow (DllAndNamespaceHandling dAndN)
void CreatePathWidget ()
 Creates path widget and attaches handlers for it.
void OnPathEntryKeyPressEvent (object o, KeyPressEventArgs args)
void onActivated (object sender, EventArgs e)
void AddLowerButtons ()
 Adds the cancel, apply, and ok -buttons.
void AddHandlers ()
 Adds some GUI handlers. The rest is added in constructors to ItemSelection.
void Applyable (bool value)
 Shows, in the gui, whether the project settings are applyable (the apply and ok -button).
void OnSwitchPage (object o, SwitchPageArgs args)
void UpdatePage (uint pageNum)
 Updates the ItemSelection treeviews depending on the current active page.
delegate void RemoveHandler (string item)
bool SomeRemove (string item, RemoveHandler handler)
 Calls some remove method (path, dll, or namespace) and shows an error dialog if it creates trouble.
string OnPathAdd (string item)
bool OnPathRemove (string item)
string OnDllAdd (string item)
bool OnDllRemove (string item)
string OnNamespaceAdd (string item)
bool OnNamespaceRemove (string item)
void RemoveErrorDialog (ItemInUseException e)
 Shows an error dialog, using the exceptions message property as error message.
void OnCancel (object o, EventArgs args)
void OnApply (object o, EventArgs args)
void OnOk (object o, EventArgs args)
void OnSelectPath (string item)
 Navigates the path in the pathWidget (ItemSelection).
void UpdatePathSelection ()
 Updates the shown paths in the pathWidget.

Private Attributes

ItemSelection pathWidget
Label pathLabel = new Label()
Entry pathEntry = new Entry()
ItemSelection dllWidget
ItemSelection namespaceWidget
string currentPath
DllAndNamespaceHandling _dAndN
DllAndNamespaceHandling _dAndNCopy
VBox mainBox = new VBox(false, 8)
Notebook tabs = new Notebook()
Button cancelButton = new Button(Stock.Cancel)
Button applyButton = new Button(Stock.Apply)
Button okButton = new Button(Stock.Ok)

Detailed Description

A window where it is possible to view and set project options.


Member Enumeration Documentation

enum ProjectSettingsWindow::PageOrder [private]
 

Enumeration values:
Path 
Dll 
Namespace 


Constructor & Destructor Documentation

internal ProjectSettingsWindow::ProjectSettingsWindow DllAndNamespaceHandling  dAndN  )  [inline, private]
 


Member Function Documentation

void ProjectSettingsWindow::AddHandlers  )  [inline, private]
 

Adds some GUI handlers. The rest is added in constructors to ItemSelection.

void ProjectSettingsWindow::AddLowerButtons  )  [inline, private]
 

Adds the cancel, apply, and ok -buttons.

void ProjectSettingsWindow::Applyable bool  value  )  [inline, private]
 

Shows, in the gui, whether the project settings are applyable (the apply and ok -button).

void ProjectSettingsWindow::CreatePathWidget  )  [inline, private]
 

Creates path widget and attaches handlers for it.

void ProjectSettingsWindow::onActivated object  sender,
EventArgs  e
[inline, private]
 

void ProjectSettingsWindow::OnApply object  o,
EventArgs  args
[inline, private]
 

void ProjectSettingsWindow::OnCancel object  o,
EventArgs  args
[inline, private]
 

string ProjectSettingsWindow::OnDllAdd string  item  )  [inline, private]
 

bool ProjectSettingsWindow::OnDllRemove string  item  )  [inline, private]
 

string ProjectSettingsWindow::OnNamespaceAdd string  item  )  [inline, private]
 

bool ProjectSettingsWindow::OnNamespaceRemove string  item  )  [inline, private]
 

void ProjectSettingsWindow::OnOk object  o,
EventArgs  args
[inline, private]
 

string ProjectSettingsWindow::OnPathAdd string  item  )  [inline, private]
 

void ProjectSettingsWindow::OnPathEntryKeyPressEvent object  o,
KeyPressEventArgs  args
[inline, private]
 

bool ProjectSettingsWindow::OnPathRemove string  item  )  [inline, private]
 

void ProjectSettingsWindow::OnSelectPath string  item  )  [inline, private]
 

Navigates the path in the pathWidget (ItemSelection).

void ProjectSettingsWindow::OnSwitchPage object  o,
SwitchPageArgs  args
[inline, private]
 

void ProjectSettingsWindow::RemoveErrorDialog ItemInUseException  e  )  [inline, private]
 

Shows an error dialog, using the exceptions message property as error message.

delegate void ProjectSettingsWindow::RemoveHandler string  item  )  [private]
 

bool ProjectSettingsWindow::SomeRemove string  item,
RemoveHandler  handler
[inline, private]
 

Calls some remove method (path, dll, or namespace) and shows an error dialog if it creates trouble.

Parameters:
item The item to remove.
handler The remove method to call.

void ProjectSettingsWindow::UpdatePage uint  pageNum  )  [inline, private]
 

Updates the ItemSelection treeviews depending on the current active page.

void ProjectSettingsWindow::UpdatePathSelection  )  [inline, private]
 

Updates the shown paths in the pathWidget.


Member Data Documentation

DllAndNamespaceHandling ProjectSettingsWindow::_dAndN [private]
 

DllAndNamespaceHandling ProjectSettingsWindow::_dAndNCopy [private]
 

Button ProjectSettingsWindow::applyButton = new Button(Stock.Apply) [private]
 

Button ProjectSettingsWindow::cancelButton = new Button(Stock.Cancel) [private]
 

string ProjectSettingsWindow::currentPath [private]
 

ItemSelection ProjectSettingsWindow::dllWidget [private]
 

VBox ProjectSettingsWindow::mainBox = new VBox(false, 8) [private]
 

ItemSelection ProjectSettingsWindow::namespaceWidget [private]
 

Button ProjectSettingsWindow::okButton = new Button(Stock.Ok) [private]
 

Entry ProjectSettingsWindow::pathEntry = new Entry() [private]
 

Label ProjectSettingsWindow::pathLabel = new Label() [private]
 

ItemSelection ProjectSettingsWindow::pathWidget [private]
 

Notebook ProjectSettingsWindow::tabs = new Notebook() [private]
 


The documentation for this class was generated from the following file: SourceForge.net Logo