forked from kiegroup/jbpm-designer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BZ 1074694 - Unable to reopen process definition containing incorrect…
… I/O task assignments
- Loading branch information
Tihomir Surdilovic
committed
Apr 8, 2014
1 parent
af995fa
commit a8aef62
Showing
10 changed files
with
318 additions
and
22 deletions.
There are no files selected for viewing
37 changes: 36 additions & 1 deletion
37
...-designer-api/src/main/java/org/jbpm/designer/notification/DesignerNotificationEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,39 @@ | ||
package org.jbpm.designer.notification; | ||
|
||
public class DesignerNotificationEvent { | ||
import org.jboss.errai.common.client.api.annotations.Portable; | ||
import org.uberfire.workbench.events.NotificationEvent; | ||
import org.uberfire.workbench.events.UberFireEvent; | ||
|
||
@Portable | ||
public class DesignerNotificationEvent extends UberFireEvent { | ||
|
||
private final String notification; | ||
private final NotificationEvent.NotificationType type; | ||
|
||
public DesignerNotificationEvent() { | ||
this("Designernotification", "message"); | ||
} | ||
public DesignerNotificationEvent( final String notification, final String message ) { | ||
this( notification, | ||
NotificationEvent.NotificationType.DEFAULT ); | ||
} | ||
|
||
public DesignerNotificationEvent( final String notification, | ||
final NotificationEvent.NotificationType type ) { | ||
this.notification = notification; | ||
this.type = type; | ||
} | ||
|
||
public String getNotification() { | ||
return this.notification; | ||
} | ||
|
||
public NotificationEvent.NotificationType getType() { | ||
return type; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "DesignerNotificationEvent [notification=" + notification + ", type=" + type + "]"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.