1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

Projucer: Remove GUI Editor

This commit is contained in:
reuk 2024-06-26 12:40:05 +01:00
parent 813b01e3d8
commit 8a4ec206f2
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
103 changed files with 21 additions and 27945 deletions

View file

@ -666,8 +666,7 @@ void ProjectContentComponent::getAllCommands (Array <CommandID>& commands)
CommandIDs::saveAndOpenInIDE,
CommandIDs::createNewExporter,
CommandIDs::deleteSelectedItem,
CommandIDs::showTranslationTool,
CommandIDs::addNewGUIFile });
CommandIDs::showTranslationTool });
}
void ProjectContentComponent::getCommandInfo (const CommandID commandID, ApplicationCommandInfo& result)
@ -823,13 +822,6 @@ void ProjectContentComponent::getCommandInfo (const CommandID commandID, Applica
CommandCategories::general, 0);
break;
case CommandIDs::addNewGUIFile:
result.setInfo ("Add new GUI Component...",
"Adds a new GUI Component file to the project",
CommandCategories::general,
(! ProjucerApplication::getApp().isGUIEditorEnabled() ? ApplicationCommandInfo::isDisabled : 0));
break;
default:
break;
}
@ -893,8 +885,6 @@ bool ProjectContentComponent::perform (const InvocationInfo& info)
case CommandIDs::showTranslationTool: showTranslationTool(); break;
case CommandIDs::addNewGUIFile: addNewGUIFile(); break;
default:
return false;
}
@ -913,16 +903,6 @@ void ProjectContentComponent::getSelectedProjectItemsBeingDragged (const DragAnd
TreeItemTypes::FileTreeItemBase::getSelectedProjectItemsBeingDragged (dragSourceDetails, selectedNodes);
}
void ProjectContentComponent::addNewGUIFile()
{
if (project != nullptr)
{
wizardHolder = std::make_unique<WizardHolder>();
wizardHolder->wizard.reset (createGUIComponentWizard (*project));
wizardHolder->wizard->createNewFile (*project, project->getMainGroup());
}
}
//==============================================================================
void ProjectContentComponent::showProjectPanel (const int index)
{