Skip to content

Commit

Permalink
Replacing EnvironmentEvent with SystemEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Jul 17, 2020
1 parent 6cce84e commit 2da3dad
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The LUWRAIN project, please visit http:https://luwrain.org/doc/authors/ to get the complete list of our developers
The LUWRAIN Project, please visit http:https://luwrain.org/doc/authors/ to get a complete list of our developers
2 changes: 1 addition & 1 deletion src/main/java/org/luwrain/app/notepad/Hooks.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class Hooks
this.app = app;
}

boolean runActionHooks(EnvironmentEvent event, EditArea editArea)
boolean runActionHooks(SystemEvent event, EditArea editArea)
{
NullCheck.notNull(event, "event");
NullCheck.notNull(editArea, "editArea");
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/luwrain/app/notepad/MainLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ final class MainLayout extends LayoutBase
return true;
return super.onInputEvent(event);
}
@Override public boolean onSystemEvent(EnvironmentEvent event)
@Override public boolean onSystemEvent(SystemEvent event)
{
NullCheck.notNull(event, "event");
if (event.getType() == EnvironmentEvent.Type.REGULAR)
if (event.getType() == SystemEvent.Type.REGULAR)
switch(event.getCode())
{
case SAVE:
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/luwrain/app/notepad/NarratingLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class NarratingLayout extends LayoutBase implements Narrating.Listener
return true;
return super.onInputEvent(event);
}
@Override public boolean onSystemEvent(EnvironmentEvent event)
@Override public boolean onSystemEvent(SystemEvent event)
{
NullCheck.notNull(event, "event");
if (app.onSystemEvent(this, event))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class PropertiesLayout extends LayoutBase
return true;
return super.onInputEvent(event);
}
@Override public boolean onSystemEvent(EnvironmentEvent event)
@Override public boolean onSystemEvent(SystemEvent event)
{
NullCheck.notNull(event, "event");
if (app.onSystemEvent(this, event))
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/luwrain/app/notepad/SettingsForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private void fillForm()
return super.onInputEvent(event);
}

@Override public boolean onSystemEvent(EnvironmentEvent event)
@Override public boolean onSystemEvent(SystemEvent event)
{
NullCheck.notNull(event, "event");
if (controlPanel.onSystemEvent(event))
Expand Down

0 comments on commit 2da3dad

Please sign in to comment.