|
static BaseWrapper[] | GetAllNodes (BaseWrapper root) |
|
static BaseWrapper | Wrap (ResourceNode node) |
|
static BaseWrapper | Wrap (IWin32Window owner, ResourceNode node) |
|
static IWin32Window | _owner |
|
| BaseWrapper () |
|
static void | MoveUpAction (object sender, EventArgs e) |
|
static void | MoveDownAction (object sender, EventArgs e) |
|
static void | ExportAction (object sender, EventArgs e) |
|
static void | ExportSelectedAction (object sender, EventArgs e) |
|
static void | DeleteSelectedAction (object sender, EventArgs e) |
|
static void | DuplicateAction (object sender, EventArgs e) |
|
static void | ReplaceAction (object sender, EventArgs e) |
|
static void | RestoreAction (object sender, EventArgs e) |
|
static void | DeleteAction (object sender, EventArgs e) |
|
static void | RenameAction (object sender, EventArgs e) |
|
static void | SortAction (object sender, EventArgs e) |
|
static T | GetInstance< T > () |
|
static IEnumerable< T > | GetInstances< T > () |
|
bool | _discovered |
|
ResourceNode | _resource |
|
static readonly ContextMenuStrip | _emptyMenu = new ContextMenuStrip() |
|
virtual ContextMenuStrip | MultiSelectMenuStrip [get] |
|
virtual string | DefaultName [get] |
|
virtual string | ExportFilter [get] |
|
virtual string | ImportFilter [get] |
|
virtual string | ReplaceFilter [get] |
|
ResourceNode | Resource [get] |
|
virtual ? Color | DefaultBackColor [get] |
|
virtual ? Color | DefaultForeColor [get] |
|
ContextMenuStrip | MultiSelectMenuStrip [get] |
|
◆ FolderWrapper()
BrawlCrate.NodeWrappers.FolderWrapper.FolderWrapper |
( |
| ) |
|
|
inline |
41 {
42 ContextMenuStrip = _menu;
43 }
◆ Delete()
override void BrawlCrate.NodeWrappers.FolderWrapper.Delete |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from BrawlCrate.NodeWrappers.GenericWrapper.
56 {
57 if (Parent == null)
58 {
59 return;
60 }
61
62 if (MessageBox.Show("Are you sure you would like to delete this folder and all files contained within it?",
63 "Delete Folder", MessageBoxButtons.YesNo) != DialogResult.Yes)
64 {
65 return;
66 }
67
69 base.Delete();
70 Directory.Delete(dir, true);
71 }
ResourceNode _resource
Definition: BaseWrapper.cs:76
Definition: FolderNode.cs:8
◆ Export()
override string BrawlCrate.NodeWrappers.FolderWrapper.Export |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from BrawlCrate.NodeWrappers.GenericWrapper.
46 {
47 if (Program.SaveFolder(out string outPath))
48 {
50 }
51
52 return outPath;
53 }
virtual void Export(string outPath)
Definition: ResourceNode.cs:909
The documentation for this class was generated from the following file:
- BrawlCrate/NodeWrappers/FolderWrapper.cs