Put the F message on a timer, instead of messages and also made some optimizations

This commit is contained in:
Norbi Peti 2015-11-16 21:11:34 +01:00
parent bfb450b0fb
commit 4455b27659
20 changed files with 123 additions and 86 deletions

View file

@ -10935,3 +10935,25 @@ java.lang.StringIndexOutOfBoundsException: String index out of range: -10
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)
!SESSION 2015-11-16 20:42:47.680 -----------------------------------------------
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-16 20:43:27.091
!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-16 20:43:27.766
!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.

Binary file not shown.

Binary file not shown.

View file

@ -236,7 +236,7 @@
<tags>categoryTag:Help</tags>
</sharedElements>
<sharedElements xsi:type="advanced:Area" xmi:id="_7EfmcCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.editorss" selectedElement="_7EfmcSr0EeWsptewEJl0pA">
<children xsi:type="basic:PartStack" xmi:id="_7EfmcSr0EeWsptewEJl0pA" elementId="org.eclipse.e4.primaryDataStack" selectedElement="_j_800GlSEeWSYeReuMncYg">
<children xsi:type="basic:PartStack" xmi:id="_7EfmcSr0EeWsptewEJl0pA" elementId="org.eclipse.e4.primaryDataStack" selectedElement="_1DUL8GehEeWnA--ML9SqFQ">
<tags>newtablook</tags>
<tags>org.eclipse.e4.primaryDataStack</tags>
<tags>EditorStack</tags>
@ -265,18 +265,24 @@
<tags>removeOnHide</tags>
</children>
<children xsi:type="basic:Part" xmi:id="_1DUL8GehEeWnA--ML9SqFQ" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PlayerListener.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" tooltip="TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerListener.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/PlayerListener.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1914&quot; selectionTopPixel=&quot;225&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<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;19292&quot; selectionTopPixel=&quot;8283&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/PlayerListener.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;1250&quot; selectionTopPixel=&quot;408&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
<tags>activeOnClose</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;0&quot; selectionTopPixel=&quot;0&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
<children xsi:type="basic:Part" xmi:id="_bLydsIsWEeWJi5z9Uud6zg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="PlayerJoinTimerTask.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.gif" tooltip="TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/PlayerJoinTimerTask.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/PlayerJoinTimerTask.java&quot;/>&#xD;&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;187&quot; selectionTopPixel=&quot;0&quot;/>&#xD;&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
<tags>removeOnHide</tags>
</children>
</children>
</sharedElements>
<sharedElements xsi:type="basic:Part" xmi:id="_7E9ggCr0EeWsptewEJl0pA" elementId="org.eclipse.ui.navigator.ProjectExplorer" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Project Explorer" iconURI="platform:/plugin/org.eclipse.ui.navigator.resources/icons/full/eview16/resource_persp.gif" tooltip="Workspace" closeable="true">
@ -445,18 +451,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="_FFApYIccEeWySIwUmT5CHA" elementId="new.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFBQcIccEeWySIwUmT5CHA" elementId="newWizardDropDown"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFBQcYccEeWySIwUmT5CHA" elementId="new.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFBQcoccEeWySIwUmT5CHA" elementId="save.group" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFBQc4ccEeWySIwUmT5CHA" elementId="save"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFBQdIccEeWySIwUmT5CHA" elementId="saveAll"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFBQdYccEeWySIwUmT5CHA" elementId="save.ext" visible="false"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_FFCekIccEeWySIwUmT5CHA" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.gif" tooltip="Print" command="_3_hZmSr0EeWsptewEJl0pA"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFGwAIccEeWySIwUmT5CHA" elementId="print.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFHXEIccEeWySIwUmT5CHA" elementId="build.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFHXEYccEeWySIwUmT5CHA" elementId="build.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFHXEoccEeWySIwUmT5CHA" elementId="additions"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyOqwIsLEeWJi5z9Uud6zg" elementId="new.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyPR0IsLEeWJi5z9Uud6zg" elementId="newWizardDropDown"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyPR0YsLEeWJi5z9Uud6zg" elementId="new.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyP44IsLEeWJi5z9Uud6zg" elementId="save.group" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyP44YsLEeWJi5z9Uud6zg" elementId="save"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyQf8IsLEeWJi5z9Uud6zg" elementId="saveAll"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyQf8YsLEeWJi5z9Uud6zg" elementId="save.ext" visible="false"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_ZyRHAIsLEeWJi5z9Uud6zg" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.gif" tooltip="Print" command="_3_hZmSr0EeWsptewEJl0pA"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyVYcIsLEeWJi5z9Uud6zg" elementId="print.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyVYcYsLEeWJi5z9Uud6zg" elementId="build.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyV_gIsLEeWJi5z9Uud6zg" elementId="build.ext" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyV_gYsLEeWJi5z9Uud6zg" elementId="additions"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_6K2osSr0EeWsptewEJl0pA" elementId="additions" toBeRendered="false">
<tags>toolbarSeparator</tags>
@ -464,38 +470,38 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_dIOxkCr1EeWsptewEJl0pA" elementId="adt.actionSet.avdManager">
<tags>Draggable</tags>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN774IccEeWySIwUmT5CHA" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN8i8IccEeWySIwUmT5CHA" elementId="com.android.ide.eclipse.adt.ui.sdkmanager"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN9KAIccEeWySIwUmT5CHA" elementId="com.android.ide.eclipse.adt.ui.avdmanager"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-EuYIsLEeWJi5z9Uud6zg" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-FVcIsLEeWJi5z9Uud6zg" elementId="com.android.ide.eclipse.adt.ui.sdkmanager"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-FVcYsLEeWJi5z9Uud6zg" 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="_FN9KAYccEeWySIwUmT5CHA" elementId="breakpointGroup"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN9KAoccEeWySIwUmT5CHA" elementId="org.eclipse.debug.ui.actions.SkipAllBreakpoints"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-FVcosLEeWJi5z9Uud6zg" elementId="breakpointGroup"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-FVc4sLEeWJi5z9Uud6zg" 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="_FN9KA4ccEeWySIwUmT5CHA" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN9KBIccEeWySIwUmT5CHA" elementId="com.android.ide.eclipse.adt.ui.lintrunner"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-F8gIsLEeWJi5z9Uud6zg" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-F8gYsLEeWJi5z9Uud6zg" 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="_FN9xEIccEeWySIwUmT5CHA" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN9xEYccEeWySIwUmT5CHA" elementId="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-GjkIsLEeWJi5z9Uud6zg" elementId="android_project"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-HKoIsLEeWJi5z9Uud6zg" 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="_FN9xEoccEeWySIwUmT5CHA" elementId="debug"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN9xE4ccEeWySIwUmT5CHA" elementId="org.eclipse.debug.internal.ui.actions.DebugDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN9xFIccEeWySIwUmT5CHA" elementId="org.eclipse.debug.internal.ui.actions.RunDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN9xFYccEeWySIwUmT5CHA" elementId="org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-HKoYsLEeWJi5z9Uud6zg" elementId="debug"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-IYwIsLEeWJi5z9Uud6zg" elementId="org.eclipse.debug.internal.ui.actions.DebugDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-Jm4IsLEeWJi5z9Uud6zg" elementId="org.eclipse.debug.internal.ui.actions.RunDropDownAction"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-K1AIsLEeWJi5z9Uud6zg" 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="_FN9xFoccEeWySIwUmT5CHA" elementId="JavaWizards"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-YIIccEeWySIwUmT5CHA" elementId="org.eclipse.jdt.ui.actions.OpenProjectWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-YIYccEeWySIwUmT5CHA" elementId="org.eclipse.jdt.ui.actions.OpenPackageWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-YIoccEeWySIwUmT5CHA" elementId="org.eclipse.jdt.ui.actions.NewTypeDropDown"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-LcEIsLEeWJi5z9Uud6zg" elementId="JavaWizards"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-LcEYsLEeWJi5z9Uud6zg" elementId="org.eclipse.jdt.ui.actions.OpenProjectWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-LcEosLEeWJi5z9Uud6zg" elementId="org.eclipse.jdt.ui.actions.OpenPackageWizard"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-LcE4sLEeWJi5z9Uud6zg" 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 +511,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="_FN-YI4ccEeWySIwUmT5CHA" elementId="Search"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-YJIccEeWySIwUmT5CHA" elementId="openType"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-YJYccEeWySIwUmT5CHA" elementId="org.eclipse.mylyn.tasks.ui.openTask"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-_MIccEeWySIwUmT5CHA" elementId="org.eclipse.search.OpenSearchDialogPage"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-LcFIsLEeWJi5z9Uud6zg" elementId="Search"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-LcFYsLEeWJi5z9Uud6zg" elementId="openType"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-LcFosLEeWJi5z9Uud6zg" elementId="org.eclipse.mylyn.tasks.ui.openTask"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-MDIIsLEeWJi5z9Uud6zg" 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="_G94PgIccEeWySIwUmT5CHA" elementId="Presentation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_G94PgYccEeWySIwUmT5CHA" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_G942kIccEeWySIwUmT5CHA" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_G942kYccEeWySIwUmT5CHA" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_G942koccEeWySIwUmT5CHA" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_G942k4ccEeWySIwUmT5CHA" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_G942lIccEeWySIwUmT5CHA" elementId="org.eclipse.ui.edit.text.toggleShowSelectedElementOnly"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_cPR8AIsLEeWJi5z9Uud6zg" elementId="Presentation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_cPR8AYsLEeWJi5z9Uud6zg" elementId="org.eclipse.jdt.ui.edit.text.java.toggleBreadcrumb"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_cPR8AosLEeWJi5z9Uud6zg" elementId="org.eclipse.jdt.ui.edit.text.java.toggleMarkOccurrences"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_cPR8A4sLEeWJi5z9Uud6zg" elementId="org.eclipse.mylyn.java.ui.editor.folding.auto"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_cPSjEIsLEeWJi5z9Uud6zg" elementId="org.eclipse.ui.edit.text.toggleBlockSelectionMode"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_cPSjEYsLEeWJi5z9Uud6zg" elementId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_cPSjEosLEeWJi5z9Uud6zg" 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 +542,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="_FFHXE4ccEeWySIwUmT5CHA" elementId="history.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFH-IIccEeWySIwUmT5CHA" elementId="group.application" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFH-IYccEeWySIwUmT5CHA" elementId="backardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFH-IoccEeWySIwUmT5CHA" elementId="forwardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFIlMIccEeWySIwUmT5CHA" elementId="pin.group"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_FFIlMYccEeWySIwUmT5CHA" 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="_FN-_MYccEeWySIwUmT5CHA" elementId="org.eclipse.ui.edit.text.gotoNextAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-_MoccEeWySIwUmT5CHA" elementId="org.eclipse.ui.edit.text.gotoPreviousAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FN-_M4ccEeWySIwUmT5CHA" elementId="org.eclipse.ui.edit.text.gotoLastEditPosition"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyV_gosLEeWJi5z9Uud6zg" elementId="history.group"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyV_g4sLEeWJi5z9Uud6zg" elementId="group.application" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyV_hIsLEeWJi5z9Uud6zg" elementId="backardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyWmkIsLEeWJi5z9Uud6zg" elementId="forwardHistory"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyWmkYsLEeWJi5z9Uud6zg" elementId="pin.group"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_ZyWmkosLEeWJi5z9Uud6zg" 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="_Z-MDIYsLEeWJi5z9Uud6zg" elementId="org.eclipse.ui.edit.text.gotoNextAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-MDIosLEeWJi5z9Uud6zg" elementId="org.eclipse.ui.edit.text.gotoPreviousAnnotation"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_Z-MDI4sLEeWJi5z9Uud6zg" 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 +562,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="_FFJMQIccEeWySIwUmT5CHA" elementId="group.help"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_FFJMQYccEeWySIwUmT5CHA" elementId="group.application" visible="false"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyXNoIsLEeWJi5z9Uud6zg" elementId="group.help"/>
<children xsi:type="menu:OpaqueToolItem" xmi:id="_ZyXNoYsLEeWJi5z9Uud6zg" 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
1508644233.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
3045053200.index
1508644233.index
3656756579.index

View file

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy>
<fullyQualifiedTypeName name="org.bukkit.command.Command"/>
<fullyQualifiedTypeName name="java.io.BufferedWriter"/>
<fullyQualifiedTypeName name="java.io.FileWriter"/>
<fullyQualifiedTypeName name="java.io.BufferedReader"/>
<fullyQualifiedTypeName name="java.io.FileReader"/>
@ -33,7 +31,6 @@
<fullyQualifiedTypeName name="com.earth2me.essentials.PlayerList"/>
<fullyQualifiedTypeName name="org.bukkit.event.entity.PlayerDeathEvent"/>
<fullyQualifiedTypeName name="java.util.Random"/>
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.PluginMain"/>
<fullyQualifiedTypeName name="org.bukkit.Location"/>
<fullyQualifiedTypeName name="java.lang.StringBuilder"/>
<fullyQualifiedTypeName name="au.com.mineauz.minigames.MinigamePlayer"/>
@ -45,7 +42,6 @@
<fullyQualifiedTypeName name="org.bukkit.configuration.InvalidConfigurationException"/>
<fullyQualifiedTypeName name="org.bukkit.configuration.file.YamlConfiguration"/>
<fullyQualifiedTypeName name="org.bukkit.Bukkit"/>
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.MaybeOfflinePlayer"/>
<fullyQualifiedTypeName name="javax.print.attribute.standard.DateTimeAtCompleted"/>
<fullyQualifiedTypeName name="java.time.Clock"/>
<fullyQualifiedTypeName name="java.util.Calendar"/>
@ -60,4 +56,8 @@
<fullyQualifiedTypeName name="org.bukkit.command.BlockCommandSender"/>
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.Commands"/>
<fullyQualifiedTypeName name="java.util.ArrayList"/>
<fullyQualifiedTypeName name="java.util.Timer"/>
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.PluginMain"/>
<fullyQualifiedTypeName name="java.util.TimerTask"/>
<fullyQualifiedTypeName name="tk.sznp.thebuttonautoflair.MaybeOfflinePlayer"/>
</qualifiedTypeNameHistroy>

View file

@ -76,4 +76,5 @@
<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"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1447531694202_75" label="Window Working Set" name="Aggregate for window 1447531694202"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1447702996810_76" label="Window Working Set" name="Aggregate for window 1447702996810"/>
</workingSetManager>

Binary file not shown.

View file

@ -28,8 +28,8 @@ public class Commands implements CommandExecutor {
case "u": {
if (args.length < 1)
return false;
MaybeOfflinePlayer p = MaybeOfflinePlayer.GetFromName(player
.getName()); // 2015.08.08.
MaybeOfflinePlayer p = MaybeOfflinePlayer.AllPlayers.get(player
.getUniqueId()); // 2015.08.08.
if (!p.CommentedOnReddit
&& !args[0].toLowerCase().equals("admin")
&& !args[0].toLowerCase().equals("ignore")) {

View file

@ -21,6 +21,7 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.Random;
import java.util.Timer;
import java.util.TimerTask;
import java.util.UUID;
public class PlayerListener implements Listener { // 2015.07.16.
@ -116,8 +117,8 @@ public class PlayerListener implements Listener { // 2015.07.16.
@EventHandler
public void onPlayerChat(AsyncPlayerChatEvent event) {
MaybeOfflinePlayer player = MaybeOfflinePlayer.GetFromName(event
.getPlayer().getName());
MaybeOfflinePlayer player = MaybeOfflinePlayer.AllPlayers.get(event
.getPlayer().getUniqueId());
String flair = player.Flair; // 2015.08.08.
if (player.IgnoredFlair)
flair = "";
@ -221,23 +222,12 @@ public class PlayerListener implements Listener { // 2015.07.16.
private boolean ActiveF = false;
private int FCount = 0;
private long FTime;
@EventHandler
public void onPlayerMessage(AsyncPlayerChatEvent e) {
if (ActiveF) {
if (System.currentTimeMillis() - FTime > 10000) {
ActiveF = false;
for (Player p : PluginMain.GetPlayers()) {
p.sendMessage("§b" + FCount + " "
+ (FCount == 1 ? "person" : "people")
+ " paid their respects.§r");
}
}
}
if (e.getMessage().equalsIgnoreCase("F")) {
MaybeOfflinePlayer mp = MaybeOfflinePlayer.GetFromName(e
.getPlayer().getName());
MaybeOfflinePlayer mp = MaybeOfflinePlayer.AllPlayers.get(e
.getPlayer().getUniqueId());
if (!mp.PressedF && ActiveF) {
FCount++;
mp.PressedF = true;
@ -302,19 +292,37 @@ public class PlayerListener implements Listener { // 2015.07.16.
}
}
private Timer Ftimer;
@EventHandler
public void onPlayerDeath(PlayerDeathEvent e) {
if (!Minigames.plugin.pdata.getMinigamePlayer(e.getEntity())
.isInMinigame() && new Random().nextBoolean()) {
if (Ftimer != null)
Ftimer.cancel();
ActiveF = true;
FCount = 0;
FTime = System.currentTimeMillis();
for (Player p : PluginMain.GetPlayers()) {
MaybeOfflinePlayer mp = MaybeOfflinePlayer.GetFromName(p
.getName());
MaybeOfflinePlayer mp = MaybeOfflinePlayer.AllPlayers.get(p
.getUniqueId());
mp.PressedF = false;
p.sendMessage("§bPress F to pay respects.§r");
}
Ftimer = new Timer();
TimerTask tt = new TimerTask() {
@Override
public void run() {
if (ActiveF) {
ActiveF = false;
for (Player p : PluginMain.GetPlayers()) {
p.sendMessage("§b" + FCount + " "
+ (FCount == 1 ? "person" : "people")
+ " paid their respects.§r");
}
}
}
};
Ftimer.schedule(tt, 15 * 1000);
}
}
}