Added Separator Peer (so code is consistent)
This commit is contained in:
parent
f44374d11d
commit
740348b6c4
|
@ -15,6 +15,8 @@
|
|||
*/
|
||||
package dorkbox.systemTray;
|
||||
|
||||
import dorkbox.systemTray.peer.SeparatorPeer;
|
||||
|
||||
/**
|
||||
* This represents a common menu-spacer entry, that is cross platform in nature.
|
||||
* <p>
|
||||
|
@ -39,4 +41,14 @@ class Separator extends Entry {
|
|||
Separator() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param peer the platform specific implementation for all actions for this type
|
||||
* @param parent the parent of this menu, null if the parent is the system tray
|
||||
* @param systemTray the system tray (which is the object that sits in the system tray)
|
||||
*/
|
||||
public
|
||||
void bind(final SeparatorPeer peer, final Menu parent, final SystemTray systemTray) {
|
||||
super.bind(peer, parent, systemTray);
|
||||
}
|
||||
}
|
||||
|
|
23
src/dorkbox/systemTray/peer/SeparatorPeer.java
Normal file
23
src/dorkbox/systemTray/peer/SeparatorPeer.java
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright 2016 dorkbox, llc
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package dorkbox.systemTray.peer;
|
||||
|
||||
/**
|
||||
* Internal component used to bind the API to the implementation
|
||||
*/
|
||||
public
|
||||
interface SeparatorPeer extends EntryPeer {
|
||||
}
|
Loading…
Reference in New Issue
Block a user