NotificationDisplay: define and include the unique error-Log ID
This commit is contained in:
parent
53c47a6fcc
commit
c2c25f8134
6 changed files with 43 additions and 9 deletions
|
|
@ -63,6 +63,10 @@
|
|||
namespace proc {
|
||||
namespace asset {
|
||||
class Timeline;
|
||||
|
||||
namespace meta {
|
||||
class ErrorLog;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -103,7 +107,7 @@ namespace gui {
|
|||
template<>
|
||||
struct Descriptor<ErrorLogView>
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////////////////////TICKET #1105 : need a model placeholder to represent UI specific global entities
|
||||
using Model = proc::asset::meta::ErrorLog;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////TICKET #1105 : consider use of a DSL to configure component view access
|
||||
//
|
||||
|
|
|
|||
|
|
@ -53,9 +53,13 @@ namespace proc {
|
|||
namespace asset {
|
||||
namespace meta {
|
||||
class ErrorLog;
|
||||
|
||||
extern lib::idi::EntryID<ErrorLog> theErrorLog_ID;
|
||||
} } }
|
||||
|
||||
namespace gui {
|
||||
using ID = lib::idi::BareEntryID const&;
|
||||
|
||||
namespace ctrl {
|
||||
class GlobalCtx;
|
||||
class NotificationHub;
|
||||
|
|
@ -65,11 +69,8 @@ namespace interact {
|
|||
using std::unique_ptr;
|
||||
// using std::string;
|
||||
|
||||
// class GlobalCtx;
|
||||
// class SpotLocator;
|
||||
|
||||
extern lib::idi::EntryID<proc::asset::meta::ErrorLog> theErrorLog_ID;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -89,6 +90,8 @@ namespace interact {
|
|||
~Wizard ();
|
||||
|
||||
void show_HelpAbout();
|
||||
|
||||
static ID getErrorLogID() { return proc::asset::meta::theErrorLog_ID; }
|
||||
private:
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@
|
|||
#include "gui/ctrl/ui-manager.hpp"
|
||||
#include "gui/ctrl/ui-dispatcher.hpp"
|
||||
#include "gui/notification-service.hpp"
|
||||
#include "gui/interact/wizard.hpp"
|
||||
|
||||
#include "lib/diff/mutation-message.hpp"
|
||||
#include "lib/diff/gen-node.hpp"
|
||||
#include "include/logging.h"
|
||||
|
|
@ -91,6 +93,7 @@ namespace gui {
|
|||
NotificationService::displayInfo (NotifyLevel severity, string const& text)
|
||||
{
|
||||
INFO (gui, "@GUI: display '%s' as notification message.", cStr(text));
|
||||
ID errorLogID = interact::Wizard::getErrorLogID();
|
||||
////////////////////////TODO actually push the information to the GUI ///////////////////////////////////TICKET #1102 : build a message display box in the UI
|
||||
////////////////////////////////////////////////TICKET #1047 : as a temporary solution, use the InfoBox panel...
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ using std::dynamic_pointer_cast;
|
|||
|
||||
|
||||
namespace proc {
|
||||
namespace asset {
|
||||
namespace asset{
|
||||
namespace meta {
|
||||
|
||||
namespace error = lumiera::error;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
|
||||
namespace proc {
|
||||
namespace asset {
|
||||
namespace asset{
|
||||
namespace meta {
|
||||
|
||||
using std::string;
|
||||
|
|
|
|||
|
|
@ -1493,7 +1493,7 @@
|
|||
<icon BUILTIN="help"/>
|
||||
<node CREATED="1533911116328" ID="ID_1079600246" MODIFIED="1533911128764" TEXT="sie muß insgesamt reprouzierbar sein"/>
|
||||
<node CREATED="1533911129424" ID="ID_659618402" MODIFIED="1533911139946" TEXT="zumindest innerhalb einer Program-Ausführung"/>
|
||||
<node CREATED="1533911854871" HGAP="11" ID="ID_1953310668" MODIFIED="1533911866860" TEXT="Problem dabei" VSHIFT="11">
|
||||
<node CREATED="1533911854871" HGAP="23" ID="ID_1953310668" MODIFIED="1534026766064" TEXT="Problem dabei" VSHIFT="11">
|
||||
<node CREATED="1533911897569" ID="ID_1876551933" MODIFIED="1533911919154" TEXT="ID ist somit Teil des Interface"/>
|
||||
<node CREATED="1533911919814" ID="ID_558535868" MODIFIED="1533911928937" TEXT="welches Interface?">
|
||||
<node CREATED="1533915325903" ID="ID_1053391149" MODIFIED="1533915334817" TEXT="GuiNotification">
|
||||
|
|
@ -1561,12 +1561,36 @@
|
|||
</node>
|
||||
</node>
|
||||
</node>
|
||||
<node CREATED="1533911886268" ID="ID_1414379746" MODIFIED="1533911931262" TEXT="ID storage"/>
|
||||
<node CREATED="1533911886268" ID="ID_1414379746" MODIFIED="1533911931262" TEXT="ID storage">
|
||||
<node CREATED="1534026768353" ID="ID_38337485" MODIFIED="1534026773780" TEXT="statisch extern"/>
|
||||
<node CREATED="1534026775080" ID="ID_875112330" MODIFIED="1534026808983">
|
||||
<richcontent TYPE="NODE"><html>
|
||||
<head>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
in proc::asset::meta::<b><font color="#c01a1a">theErrorLog_ID</font></b>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
</richcontent>
|
||||
</node>
|
||||
</node>
|
||||
<node CREATED="1534026821186" ID="ID_1959407299" MODIFIED="1534026961333" TEXT="dieses Interface fühlt sich irgendwie falsch an">
|
||||
<linktarget COLOR="#c23581" DESTINATION="ID_1959407299" ENDARROW="Default" ENDINCLINATION="-34;0;" ID="Arrow_ID_1588328372" SOURCE="ID_1198718862" STARTARROW="Default" STARTINCLINATION="10;-26;"/>
|
||||
<font ITALIC="true" NAME="SansSerif" SIZE="12"/>
|
||||
<icon BUILTIN="smily_bad"/>
|
||||
<node CREATED="1534026923108" ID="ID_1896057034" MODIFIED="1534026932095" TEXT="Wizzard hat jetzt eine statische Methode"/>
|
||||
<node CREATED="1534026932891" ID="ID_1643129041" MODIFIED="1534026942685" TEXT="NotificationService muß die ansprechen"/>
|
||||
<node CREATED="1534026943481" ID="ID_445720698" MODIFIED="1534026954859" TEXT="bloß um eine "hinten herum" vereinbarte ID zu bekommen"/>
|
||||
</node>
|
||||
</node>
|
||||
<node BACKGROUND_COLOR="#ccb59b" COLOR="#6e2a38" CREATED="1533916387142" HGAP="-78" ID="ID_1746348489" MODIFIED="1533916411849" TEXT="Festlegung" VSHIFT="-6">
|
||||
<font ITALIC="true" NAME="SansSerif" SIZE="14"/>
|
||||
<icon BUILTIN="yes"/>
|
||||
<node CREATED="1533916393797" ID="ID_1198718862" MODIFIED="1533916417405" TEXT="Wizzard">
|
||||
<node CREATED="1533916393797" ID="ID_1198718862" MODIFIED="1534026961333" TEXT="Wizzard">
|
||||
<arrowlink COLOR="#c23581" DESTINATION="ID_1959407299" ENDARROW="Default" ENDINCLINATION="-34;0;" ID="Arrow_ID_1588328372" STARTARROW="Default" STARTINCLINATION="10;-26;"/>
|
||||
<font BOLD="true" NAME="SansSerif" SIZE="12"/>
|
||||
</node>
|
||||
<node CREATED="1533916397565" ID="ID_1117749960" MODIFIED="1533918772587" TEXT="ErrorLog">
|
||||
|
|
|
|||
Loading…
Reference in a new issue