Added basic quiz system, made announcements and questions editable from command blocks, and other fixes

This commit is contained in:
Norbi Peti 2015-11-09 21:56:58 +01:00
parent 62960dfe57
commit 98dd5eab64
14 changed files with 889 additions and 139 deletions

View file

@ -9377,3 +9377,696 @@ user global configuration and to define the default location to store repositori
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2015-11-09 18:42:13.845 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.egit.ui 2 0 2015-11-09 18:42:56.068
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.egit.ui 2 0 2015-11-09 18:42:56.128
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Norbi'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2015-11-09 20:57:04.690 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.egit.ui 2 0 2015-11-09 20:57:32.822
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.egit.ui 2 0 2015-11-09 20:57:32.901
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Norbi'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.jface.text 4 0 2015-11-09 21:06:27.484
!MESSAGE Unexpected runtime error while computing a text hover
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:995)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:619)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:565)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:557)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:163)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!ENTRY org.eclipse.jface.text 4 0 2015-11-09 21:06:28.366
!MESSAGE Unexpected runtime error while computing a text hover
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:995)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:619)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:565)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:557)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:163)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:15:45.686
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:15:45.919
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:14.076
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:20.616
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:22.652
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:23.135
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:23.226
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:24.362
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:24.572
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:24.694
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:24.883
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:17:25.058
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:27:13.236
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 4 0 2015-11-09 21:34:24.079
!MESSAGE Unexpected runtime error while computing a text hover
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:619)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:565)
at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:557)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:163)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:45:58.953
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:46:28.988
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:46:29.168
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jface.text 2 0 2015-11-09 21:46:29.503
!MESSAGE
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:786)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
at org.eclipse.jdt.internal.core.BinaryMethod.getAttachedJavadoc(BinaryMethod.java:639)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:95)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:58)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:555)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
!ENTRY org.eclipse.jdt.ui 4 10001 2015-11-09 21:47:06.381
!MESSAGE Internal Error
!STACK 0
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizard.executeExportOperation(JarPackageWizard.java:167)
at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizard.performFinish(JarPackageWizard.java:270)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:103)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:515)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:123)
at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled(EventLoopProgressMonitor.java:97)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.core.runtime.SubMonitor$RootInfo.isCanceled(SubMonitor.java:259)
at org.eclipse.core.runtime.SubMonitor.isCanceled(SubMonitor.java:516)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.jdt.internal.core.JavaModelOperation.isCanceled(JavaModelOperation.java:541)
at org.eclipse.jdt.internal.core.JavaModelOperation.checkCanceled(JavaModelOperation.java:226)
at org.eclipse.jdt.internal.core.JavaModelOperation.worked(JavaModelOperation.java:882)
at org.eclipse.jdt.internal.core.CommitWorkingCopyOperation.executeOperation(CommitWorkingCopyOperation.java:166)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
at org.eclipse.jdt.internal.core.CompilationUnit.commitWorkingCopy(CompilationUnit.java:391)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.commitWorkingCopy(CompilationUnitDocumentProvider.java:1376)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$4.execute(CompilationUnitDocumentProvider.java:1449)
at org.eclipse.ui.editors.text.TextFileDocumentProvider$DocumentProviderOperation.run(TextFileDocumentProvider.java:132)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5066)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1247)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1301)
at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7198)
at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:346)
at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:193)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)
at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:204)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.doSave(CompatibilityPart.java:417)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:237)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:201)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:89)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1223)
at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3437)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3455)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:76)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:277)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:496)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:547)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:368)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:314)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:83)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1521)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4976)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2546)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3756)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: java.lang.IllegalStateException: Cannot fork a thread from a thread owning a rule
at org.eclipse.ui.actions.WorkspaceModifyOperation.threadChange(WorkspaceModifyOperation.java:148)
at org.eclipse.jface.operation.ModalContext.invokeThreadListener(ModalContext.java:442)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:383)
... 145 more
Root exception:
java.lang.IllegalStateException: Cannot fork a thread from a thread owning a rule
at org.eclipse.ui.actions.WorkspaceModifyOperation.threadChange(WorkspaceModifyOperation.java:148)
at org.eclipse.jface.operation.ModalContext.invokeThreadListener(ModalContext.java:442)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:383)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizard.executeExportOperation(JarPackageWizard.java:167)
at org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizard.performFinish(JarPackageWizard.java:270)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:103)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:515)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:123)
at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.isCanceled(EventLoopProgressMonitor.java:97)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.core.runtime.SubMonitor$RootInfo.isCanceled(SubMonitor.java:259)
at org.eclipse.core.runtime.SubMonitor.isCanceled(SubMonitor.java:516)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.core.runtime.ProgressMonitorWrapper.isCanceled(ProgressMonitorWrapper.java:106)
at org.eclipse.jdt.internal.core.JavaModelOperation.isCanceled(JavaModelOperation.java:541)
at org.eclipse.jdt.internal.core.JavaModelOperation.checkCanceled(JavaModelOperation.java:226)
at org.eclipse.jdt.internal.core.JavaModelOperation.worked(JavaModelOperation.java:882)
at org.eclipse.jdt.internal.core.CommitWorkingCopyOperation.executeOperation(CommitWorkingCopyOperation.java:166)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
at org.eclipse.jdt.internal.core.CompilationUnit.commitWorkingCopy(CompilationUnit.java:391)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.commitWorkingCopy(CompilationUnitDocumentProvider.java:1376)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$4.execute(CompilationUnitDocumentProvider.java:1449)
at org.eclipse.ui.editors.text.TextFileDocumentProvider$DocumentProviderOperation.run(TextFileDocumentProvider.java:132)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5066)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1247)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1301)
at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7198)
at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:346)
at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:193)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)
at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:204)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.doSave(CompatibilityPart.java:417)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:237)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:201)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:89)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1223)
at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3437)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3455)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:76)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:277)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:496)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:547)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:368)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:314)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:83)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1521)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4976)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2546)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3756)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

Binary file not shown.

Binary file not shown.

View file

@ -163,7 +163,7 @@
<tags>persp.viewSC:org.eclipse.mylyn.tasks.ui.views.tasks</tags>
<tags>persp.newWizSC:org.eclipse.mylyn.tasks.ui.wizards.new.repository.task</tags>
<tags>persp.perspSC:org.eclipse.wst.jsdt.ui.JavaPerspective</tags>
<children xsi:type="basic:PartSashContainer" xmi:id="_c1_yESr1EeWsptewEJl0pA" selectedElement="_c1_yEir1EeWsptewEJl0pA" horizontal="true">
<children xsi:type="basic:PartSashContainer" xmi:id="_c1_yESr1EeWsptewEJl0pA" selectedElement="_c2AZJCr1EeWsptewEJl0pA" horizontal="true">
<children xsi:type="basic:PartSashContainer" xmi:id="_c1_yEir1EeWsptewEJl0pA" containerData="2500" selectedElement="_c1_yEyr1EeWsptewEJl0pA">
<children xsi:type="basic:PartStack" xmi:id="_c1_yEyr1EeWsptewEJl0pA" elementId="left" containerData="6000" selectedElement="_c1_yFCr1EeWsptewEJl0pA">
<tags>newtablook</tags>
@ -271,10 +271,11 @@
<tags>removeOnHide</tags>
</children>
<children xsi:type="basic:Part" xmi:id="_j_800GlSEeWSYeReuMncYg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Commands.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" tooltip="TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;10666&quot; selectionTopPixel=&quot;4321&quot;/>&#xD;&#xA;&lt;/editor>"/>
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot;>&#xD;&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;8595&quot; selectionTopPixel=&quot;3241&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
<tags>activeOnClose</tags>
</children>
</children>
</sharedElements>
@ -395,7 +396,6 @@
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;view group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;&quot;>&#xD;&#xA;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;>&#xD;&#xA;&lt;xmlDefinedFilters>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_RemoteSystemsTempFiles&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_RemoteSystemsConnections&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.mylyn.java.ui.MembersFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.pde.ui.BinaryProjectFilter1&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.pde.ui.ExternalPluginLibrariesFilter1&quot; isEnabled=&quot;true&quot;/>&#xD;&#xA;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/>&#xD;&#xA;&lt;/xmlDefinedFilters>&#xD;&#xA;&lt;/customFilters>&#xD;&#xA;&lt;/view>"/>
<tags>View</tags>
<tags>categoryTag:Java</tags>
<tags>activeOnClose</tags>
<menus xmi:id="_c3XEACr1EeWsptewEJl0pA" elementId="org.eclipse.jdt.ui.PackageExplorer">
<tags>ViewMenu</tags>
<tags>menuContribution:menu</tags>
@ -445,18 +445,18 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_6K2osCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.workbench.file">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32dzkIAMEeWm7Y2LT6SP_A" elementId="new.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32dzkYAMEeWm7Y2LT6SP_A" elementId="newWizardDropDown"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32eaoIAMEeWm7Y2LT6SP_A" elementId="new.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32eaoYAMEeWm7Y2LT6SP_A" elementId="save.group" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32eaooAMEeWm7Y2LT6SP_A" elementId="save"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32eao4AMEeWm7Y2LT6SP_A" elementId="saveAll"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32eapIAMEeWm7Y2LT6SP_A" elementId="save.ext" visible="false"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_32fBsIAMEeWm7Y2LT6SP_A" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.gif" tooltip="Print" enabled="false" command="_3_hZmSr0EeWsptewEJl0pA"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32jTIIAMEeWm7Y2LT6SP_A" elementId="print.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32j6MIAMEeWm7Y2LT6SP_A" elementId="build.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32j6MYAMEeWm7Y2LT6SP_A" elementId="build.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32j6MoAMEeWm7Y2LT6SP_A" elementId="additions"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTbosIcJEeWTb9G0Y86rwQ" elementId="new.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTbosYcJEeWTb9G0Y86rwQ" elementId="newWizardDropDown"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTbosocJEeWTb9G0Y86rwQ" elementId="new.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTbos4cJEeWTb9G0Y86rwQ" elementId="save.group" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RThvUIcJEeWTb9G0Y86rwQ" elementId="save"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RThvUYcJEeWTb9G0Y86rwQ" elementId="saveAll"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RThvUocJEeWTb9G0Y86rwQ" elementId="save.ext" visible="false"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_RThvU4cJEeWTb9G0Y86rwQ" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.gif" tooltip="Print" command="_3_hZmSr0EeWsptewEJl0pA"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RThvVIcJEeWTb9G0Y86rwQ" elementId="print.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RThvVYcJEeWTb9G0Y86rwQ" elementId="build.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RThvVocJEeWTb9G0Y86rwQ" elementId="build.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn18IcJEeWTb9G0Y86rwQ" elementId="additions"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_6K2osSr0EeWsptewEJl0pA" elementId="additions" toBeRendered="false">
<tags>toolbarSeparator</tags>
@ -464,38 +464,38 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_dIOxkCr1EeWsptewEJl0pA" elementId="adt.actionSet.avdManager">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39u5MIAMEeWm7Y2LT6SP_A" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39vgQIAMEeWm7Y2LT6SP_A" elementId="com.android.ide.eclipse.adt.ui.sdkmanager"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39vgQYAMEeWm7Y2LT6SP_A" elementId="com.android.ide.eclipse.adt.ui.avdmanager"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFkIcJEeWTb9G0Y86rwQ" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFkYcJEeWTb9G0Y86rwQ" elementId="com.android.ide.eclipse.adt.ui.sdkmanager"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFkocJEeWTb9G0Y86rwQ" elementId="com.android.ide.eclipse.adt.ui.avdmanager"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_Mv4F0C3kEeWvSKv3oe_gqg" elementId="org.eclipse.debug.ui.breakpointActionSet">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39vgQoAMEeWm7Y2LT6SP_A" elementId="breakpointGroup"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39vgQ4AMEeWm7Y2LT6SP_A" elementId="org.eclipse.debug.ui.actions.SkipAllBreakpoints"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFk4cJEeWTb9G0Y86rwQ" elementId="breakpointGroup"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFlIcJEeWTb9G0Y86rwQ" elementId="org.eclipse.debug.ui.actions.SkipAllBreakpoints"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_dI4R0Cr1EeWsptewEJl0pA" elementId="adt.actionSet.lint">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39vgRIAMEeWm7Y2LT6SP_A" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39wHUIAMEeWm7Y2LT6SP_A" elementId="com.android.ide.eclipse.adt.ui.lintrunner"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFlYcJEeWTb9G0Y86rwQ" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFlocJEeWTb9G0Y86rwQ" elementId="com.android.ide.eclipse.adt.ui.lintrunner"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_dIyyQCr1EeWsptewEJl0pA" elementId="adt.actionSet.wizards">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39wHUYAMEeWm7Y2LT6SP_A" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39wHUoAMEeWm7Y2LT6SP_A" elementId="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFl4cJEeWTb9G0Y86rwQ" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFmIcJEeWTb9G0Y86rwQ" elementId="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_8zAWsCr0EeWsptewEJl0pA" elementId="org.eclipse.debug.ui.launchActionSet">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39wHU4AMEeWm7Y2LT6SP_A" elementId="debug"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39wHVIAMEeWm7Y2LT6SP_A" elementId="org.eclipse.debug.internal.ui.actions.DebugDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39xVcIAMEeWm7Y2LT6SP_A" elementId="org.eclipse.debug.internal.ui.actions.RunDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39x8gIAMEeWm7Y2LT6SP_A" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFmYcJEeWTb9G0Y86rwQ" elementId="debug"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFmocJEeWTb9G0Y86rwQ" elementId="org.eclipse.debug.internal.ui.actions.DebugDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFm4cJEeWTb9G0Y86rwQ" elementId="org.eclipse.debug.internal.ui.actions.RunDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFnIcJEeWTb9G0Y86rwQ" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_dG7xECr1EeWsptewEJl0pA" elementId="org.eclipse.jdt.ui.JavaElementCreationActionSet">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39x8gYAMEeWm7Y2LT6SP_A" elementId="JavaWizards"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39x8goAMEeWm7Y2LT6SP_A" elementId="org.eclipse.jdt.ui.actions.OpenProjectWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39x8g4AMEeWm7Y2LT6SP_A" elementId="org.eclipse.jdt.ui.actions.OpenPackageWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39x8hIAMEeWm7Y2LT6SP_A" elementId="org.eclipse.jdt.ui.actions.NewTypeDropDown"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFnYcJEeWTb9G0Y86rwQ" elementId="JavaWizards"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFnocJEeWTb9G0Y86rwQ" elementId="org.eclipse.jdt.ui.actions.OpenProjectWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFn4cJEeWTb9G0Y86rwQ" elementId="org.eclipse.jdt.ui.actions.OpenPackageWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFoIcJEeWTb9G0Y86rwQ" elementId="org.eclipse.jdt.ui.actions.NewTypeDropDown"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_8voSkCr0EeWsptewEJl0pA" elementId="org.eclipse.jst.j2ee.J2eeMainActionSet" visible="false">
<tags>Draggable</tags>
@ -505,20 +505,20 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_8xJVgCr0EeWsptewEJl0pA" elementId="org.eclipse.search.searchActionSet">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39yjkIAMEeWm7Y2LT6SP_A" elementId="Search"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39yjkYAMEeWm7Y2LT6SP_A" elementId="openType"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39yjkoAMEeWm7Y2LT6SP_A" elementId="org.eclipse.mylyn.tasks.ui.openTask"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39yjk4AMEeWm7Y2LT6SP_A" elementId="org.eclipse.search.OpenSearchDialogPage"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFoYcJEeWTb9G0Y86rwQ" elementId="Search"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFoocJEeWTb9G0Y86rwQ" elementId="openType"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFo4cJEeWTb9G0Y86rwQ" elementId="org.eclipse.mylyn.tasks.ui.openTask"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFpIcJEeWTb9G0Y86rwQ" elementId="org.eclipse.search.OpenSearchDialogPage"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_Slo_UC3kEeWvSKv3oe_gqg" elementId="org.eclipse.ui.edit.text.actionSet.presentation">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_9un5wIAMEeWm7Y2LT6SP_A" elementId="Presentation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_9uog0IAMEeWm7Y2LT6SP_A" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_9uog0YAMEeWm7Y2LT6SP_A" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_9uog0oAMEeWm7Y2LT6SP_A" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_9upH4IAMEeWm7Y2LT6SP_A" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_9upH4YAMEeWm7Y2LT6SP_A" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_9upH4oAMEeWm7Y2LT6SP_A" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Tb1foIcJEeWTb9G0Y86rwQ" elementId="Presentation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Tb1foYcJEeWTb9G0Y86rwQ" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Tb1foocJEeWTb9G0Y86rwQ" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Tb1fo4cJEeWTb9G0Y86rwQ" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Tb1fpIcJEeWTb9G0Y86rwQ" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Tb1fpYcJEeWTb9G0Y86rwQ" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Tb1fpocJEeWTb9G0Y86rwQ" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_8wdZACr0EeWsptewEJl0pA" elementId="org.eclipse.wst.server.ui.internal.webbrowser.actionSet" visible="false">
<tags>Draggable</tags>
@ -536,15 +536,15 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_6LTUoCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.workbench.navigate">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32j6M4AMEeWm7Y2LT6SP_A" elementId="history.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32j6NIAMEeWm7Y2LT6SP_A" elementId="group.application" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32khQIAMEeWm7Y2LT6SP_A" elementId="backardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32khQYAMEeWm7Y2LT6SP_A" elementId="forwardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32khQoAMEeWm7Y2LT6SP_A" elementId="pin.group"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_32lIUIAMEeWm7Y2LT6SP_A" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.gif" tooltip="Pin the current editor" enabled="false" command="_3_eWRCr0EeWsptewEJl0pA"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39yjlIAMEeWm7Y2LT6SP_A" elementId="org.eclipse.ui.edit.text.gotoNextAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39yjlYAMEeWm7Y2LT6SP_A" elementId="org.eclipse.ui.edit.text.gotoPreviousAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_39yjloAMEeWm7Y2LT6SP_A" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn18YcJEeWTb9G0Y86rwQ" elementId="history.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn18ocJEeWTb9G0Y86rwQ" elementId="group.application" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn184cJEeWTb9G0Y86rwQ" elementId="backardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn19IcJEeWTb9G0Y86rwQ" elementId="forwardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn19YcJEeWTb9G0Y86rwQ" elementId="pin.group"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_RTn19ocJEeWTb9G0Y86rwQ" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.gif" tooltip="Pin the current editor" enabled="false" command="_3_eWRCr0EeWsptewEJl0pA"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFpYcJEeWTb9G0Y86rwQ" elementId="org.eclipse.ui.edit.text.gotoNextAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFpocJEeWTb9G0Y86rwQ" elementId="org.eclipse.ui.edit.text.gotoPreviousAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RXiFp4cJEeWTb9G0Y86rwQ" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_6LTUoSr0EeWsptewEJl0pA" elementId="group.editor" toBeRendered="false">
<tags>toolbarSeparator</tags>
@ -556,8 +556,8 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_6LT7sCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.workbench.help" visible="false">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32lvYIAMEeWm7Y2LT6SP_A" elementId="group.help"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_32lvYYAMEeWm7Y2LT6SP_A" elementId="group.application" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn194cJEeWTb9G0Y86rwQ" elementId="group.help"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_RTn1-IcJEeWTb9G0Y86rwQ" elementId="group.application" visible="false"/>
</children>
<children xsi:type="menu:ToolControl" xmi:id="_61nc8Cr0EeWsptewEJl0pA" elementId="PerspectiveSpacer" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.LayoutModifierToolControl">
<tags>stretch</tags>

View file

@ -1,11 +1,11 @@
INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\.metadata\.plugins\org.eclipse.jdt.core
3656756579.index
3045053200.index
3089967703.index
2674037006.index
323251068.index
355369697.index
3716007315.index
1934142626.index
3716007315.index
678131303.index
1045485630.index
605290374.index
@ -24,4 +24,4 @@ INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spi
994834796.index
3954291735.index
1508644233.index
3045053200.index
3656756579.index

View file

@ -73,4 +73,6 @@
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1446224728378_70" label="Window Working Set" name="Aggregate for window 1446224728378"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1446300721780_71" label="Window Working Set" name="Aggregate for window 1446300721779"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1446322886308_72" label="Window Working Set" name="Aggregate for window 1446322886308"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1447090971548_73" label="Window Working Set" name="Aggregate for window 1447090971548"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1447099048522_74" label="Window Working Set" name="Aggregate for window 1447099048521"/>
</workingSetManager>

Binary file not shown.

View file

@ -2,19 +2,17 @@ package tk.sznp.thebuttonautoflair;
import org.apache.commons.io.FileUtils;
import org.bukkit.Bukkit;
import org.bukkit.command.BlockCommandSender;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
public class Commands implements CommandExecutor {
@ -104,7 +102,7 @@ public class Commands implements CommandExecutor {
// too
break;
case "announce":
DoAnnounce(player, args);
DoAnnounce(player, args, null);
break;
case "name":
if (args.length == 1) {
@ -134,6 +132,9 @@ public class Commands implements CommandExecutor {
} else
player.sendMessage("Unknown command: " + cmd.getName());
break;
case "quiz":
DoQuiz(player, args, null);
break;
default:
return false;
}
@ -164,7 +165,16 @@ public class Commands implements CommandExecutor {
DoAdmin(null, args); // 2015.08.09.
return true; // 2015.08.09.
} else if (args.length > 0 && args[0].toLowerCase().equals("announce")) {
DoAnnounce(null, args);
if (sender instanceof BlockCommandSender)
DoAnnounce(null, args, (BlockCommandSender) sender);
else
DoAnnounce(null, args, null);
return true;
} else if (args.length > 0 && args[0].toLowerCase().equals("quiz")) {
if (sender instanceof BlockCommandSender)
DoQuiz(null, args, (BlockCommandSender) sender);
else
DoQuiz(null, args, null);
return true;
}
return false;
@ -356,11 +366,12 @@ public class Commands implements CommandExecutor {
}
}
private static void DoAnnounce(Player player, String[] args) {
private static void DoAnnounce(Player player, String[] args,
BlockCommandSender commandblock) {
if (player == null || player.isOp()
|| player.getName().equals("NorbiPeti")) {
if (args.length == 1) {
String message = "§cUsage: /u announce add|remove|settime|list§r";
String message = "§cUsage: /u announce add|remove|settime|list|edit§r";
SendMessage(player, message);
return;
}
@ -370,26 +381,15 @@ public class Commands implements CommandExecutor {
SendMessage(player, "§cUsage: /u announce add <message>");
return;
}
File file = new File("announcemessages.txt");
try {
BufferedWriter bw;
bw = new BufferedWriter(new FileWriter(file, true));
StringBuilder sb = new StringBuilder();
for (int i = 2; i < args.length; i++) {
sb.append(args[i]);
if (i != args.length - 1)
sb.append(" ");
}
String finalmessage = sb.toString().replace('&', '§');
PluginMain.AnnounceMessages.add(finalmessage);
bw.write(finalmessage);
bw.write(System.lineSeparator());
bw.close();
SendMessage(player, "§bAnnouncement added.§r");
} catch (IOException e) {
System.out.println("Error!\n" + e);
PluginMain.LastException = e; // 2015.08.09.
StringBuilder sb = new StringBuilder();
for (int i = 2; i < args.length; i++) {
sb.append(args[i]);
if (i != args.length - 1)
sb.append(" ");
}
String finalmessage = sb.toString().replace('&', '§');
PluginMain.AnnounceMessages.add(finalmessage);
SendMessage(player, "§bAnnouncement added.§r");
break;
case "remove":
if (args.length < 3) {
@ -404,55 +404,8 @@ public class Commands implements CommandExecutor {
"§cUsage: /u announce settime <minutes>");
return;
}
SendMessage(player, "Setting time between messages...");
PluginMain.AnnounceTime = Integer.parseInt(args[2]) * 60 * 1000;
File inputFile = new File("announcemessages.txt");
File tempFile = new File("_tempAnnounce.txt");
if (!inputFile.exists())
break;
try {
BufferedReader reader = new BufferedReader(new FileReader(
inputFile));
BufferedWriter writer = new BufferedWriter(new FileWriter(
tempFile));
String currentLine;
boolean first = true;
while ((currentLine = reader.readLine()) != null) {
if (first) {
writer.write(PluginMain.AnnounceTime
+ System.lineSeparator());
first = false;
} else {
writer.write(currentLine
+ System.getProperty("line.separator"));
}
}
writer.close();
reader.close();
if (!tempFile.renameTo(inputFile)) {
inputFile.delete();
if (tempFile.renameTo(inputFile)) {
SendMessage(player,
"Setting time between messages done!");
break;
} else {
SendMessage(player,
"§cError: Failed to rename file!");
break;
}
} else {
SendMessage(player,
"Setting time between messages done!");
break;
}
} catch (IOException e) {
System.out.println("Error!\n" + e);
PluginMain.LastException = e; // 2015.08.09.
}
SendMessage(player, "Time set between announce messages");
break;
case "list":
SendMessage(player, "§bList of announce messages:§r");
@ -465,8 +418,36 @@ public class Commands implements CommandExecutor {
+ PluginMain.AnnounceTime / 60 / 1000
+ " minute(s)§r");
break;
case "edit":
if (commandblock == null) {
SendMessage(
player,
"§cError: This command can only be used from a command block. Use /u announce remove.");
break;
}
if (args.length < 4) {
commandblock
.sendMessage("§cUsage: /u announce edit <index> <message>");
return;
}
StringBuilder sb1 = new StringBuilder();
for (int i1 = 3; i1 < args.length; i1++) {
sb1.append(args[i1]);
if (i1 != args.length - 1)
sb1.append(" ");
}
String finalmessage1 = sb1.toString().replace('&', '§');
int index = Integer.parseInt(args[2]);
if (index > 100)
break;
while (PluginMain.AnnounceMessages.size() <= index)
PluginMain.AnnounceMessages.add("");
PluginMain.AnnounceMessages.set(Integer.parseInt(args[2]),
finalmessage1);
commandblock.sendMessage("Announcement edited.");
break;
default:
String message = "§cUsage: /u announce add|remove|settime|list§r";
String message = "§cUsage: /u announce add|remove|settime|list|edit§r";
SendMessage(player, message);
return;
}
@ -522,4 +503,81 @@ public class Commands implements CommandExecutor {
return;
}
}
public static ArrayList<String> Quiz = new ArrayList<>();
private static void DoQuiz(Player player, String[] args,
BlockCommandSender commandblock) {
if (player == null || player.isOp()
|| player.getName().equals("NorbiPeti")) {
if (args.length == 1) {
String message = "§cUsage: /u quiz add|remove|list|edit§r";
SendMessage(player, message);
return;
}
switch (args[1].toLowerCase()) {
case "add":
if (args.length < 3) {
SendMessage(player, "§cUsage: /u quiz add <message>");
return;
}
StringBuilder sb = new StringBuilder();
for (int i = 2; i < args.length; i++) {
sb.append(args[i]);
if (i != args.length - 1)
sb.append(" ");
}
String finalmessage = sb.toString().replace('&', '§');
Quiz.add(finalmessage);
SendMessage(player, "§Quiz question added.§r");
break;
case "remove":
if (args.length < 3) {
SendMessage(player, "§cUsage: /u quiz remove <index>");
return;
}
Quiz.remove(Integer.parseInt(args[2]));
break;
case "list":
SendMessage(player, "§bList of quiz questions:§r");
SendMessage(player, "§bFormat: [index] question§r");
int i = 0;
for (String question : Quiz)
SendMessage(player, "[" + i++ + "] " + question);
break;
case "edit":
if (commandblock == null) {
SendMessage(
player,
"§cError: This command can only be used from a command block. Use /u quiz remove.");
break;
}
if (args.length < 4) {
commandblock
.sendMessage("§cUsage: /u quiz edit <index> <message>");
return;
}
StringBuilder sb1 = new StringBuilder();
for (int i1 = 3; i1 < args.length; i1++) {
sb1.append(args[i1]);
if (i1 != args.length - 1)
sb1.append(" ");
}
String finalmessage1 = sb1.toString().replace('&', '§');
int index = Integer.parseInt(args[2]);
if (index > 100)
break;
while (Quiz.size() <= index)
Quiz.add("");
Quiz.set(Integer.parseInt(args[2]), finalmessage1);
commandblock.sendMessage("Question edited.");
break;
default:
String message = "§cUsage: /u quiz add|remove|list|edit§r";
SendMessage(player, message);
return;
}
}
}
}

View file

@ -233,12 +233,6 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
return "";
}
/*
* public static String GetPlayerTown(Player player) { // 2015.07.20. try {
* Town town = WorldCoord.parseWorldCoord(player).getTownBlock() .getTown();
* return town.getName(); } catch (Exception e) { return ""; } }
*/
public static Collection<? extends Player> GetPlayers() {
return Instance.getServer().getOnlinePlayers();
}
@ -254,6 +248,7 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
MaybeOfflinePlayer.AllPlayers.clear();
TownColors.clear();
AnnounceMessages.clear();
Commands.Quiz.clear();
}
System.out.println("Loading files for The Button Minecraft plugin..."); // 2015.08.09.
try {
@ -277,6 +272,7 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
.getDouble("notificationpitch");
AnnounceTime = yc.getInt("announcetime");
AnnounceMessages.addAll(yc.getStringList("announcements"));
Commands.Quiz.addAll(yc.getStringList("quiz"));
}
System.out.println("The Button Minecraft plugin loaded files!");
} catch (IOException e) {
@ -299,6 +295,7 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
yc.set("notificationpitch", PlayerListener.NotificationPitch);
yc.set("announcetime", AnnounceTime);
yc.set("announcements", AnnounceMessages);
yc.set("quiz", Commands.Quiz);
yc.save(file);
System.out.println("The Button Minecraft plugin saved files!");
} catch (IOException e) {