-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from Checkmarx/Fix/benalvo/eclipse-plugin-mac…
…-compilitaion Eclipse | Fix eclipse plugin errors in mac (AST-38247)
- Loading branch information
Showing
2 changed files
with
52 additions
and
75 deletions.
There are no files selected for viewing
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
17 changes: 17 additions & 0 deletions
17
checkmarx-ast-eclipse-plugin/src/com/checkmarx/eclipse/views/UISynchronizeImpl.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.checkmarx.eclipse.views; | ||
|
||
import org.eclipse.swt.widgets.Display; | ||
|
||
public class UISynchronizeImpl { | ||
private Display display; | ||
public UISynchronizeImpl(Display display){ | ||
this.display = display; | ||
} | ||
public void syncExec(Runnable runnable){ | ||
display.syncExec(runnable); | ||
} | ||
|
||
public void asyncExec(Runnable runnable){ | ||
display.asyncExec(runnable); | ||
} | ||
} |