-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major update. A list of changes which have been made since the last commit will be included shortly.
- Loading branch information
Showing
48 changed files
with
1,260 additions
and
959 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e4913a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaking Changes
The main breaking changes are listed below. Most of these involve changes to interfaces or events; if you are not using them, you will most likely not be affected (unless you make use of
movePanelToContainer
, which is the only miscellaneous breaking change listed.)PanelContainerEvent.REMOVE_REQUESTED
is now split into two subtypes:PanelContainerEvent.PANEL_REMOVE_REQUESTED
- This is dispatched whenever a panel is to be removed, and is usually dispatched by anIPanelList
instance.PanelContainerEvent.CONTAINER_REMOVE_REQUESTED
- This is automatically dispatched by theIContainer
instance whenever it becomes empty.The respective event strings have also been changed or added - the event string
pcPanelRemoveRequested
now corresponds toPanelContainerEvent.PANEL_REMOVE_REQUESTED
andpcContainerRemoveRequested
corresponds toPanelContainerEvent.CONTAINER_REMOVE_REQUESTED
.IBasicDocker
methodmovePanelToContainer()
has now officially become deprecated with this release. It is advised to useaddPanelToSideSequence()
instead; the only public difference being thataddPanelToSideSequence
requires as side string [sequence] instead of a single side. ThetoString()
method ofPanelContainerSide
can be used to convert integer sides to side strings. Multiple sides can be chained together in a single string, so fetching the container beforehand is not necessary. The deprecated functionmovePanelToContainer
now aliases toaddPanelToSideSequence
, and will be removed in the future.hidePanel
andshowPanel
methods inIBasicDocker
now returnBoolean
s instead ofvoid
.IContainer
andIPanel
implementations. For implementing runtime display filtering, refer to theIFilterable
andIDisplayFilter
classes.IDockHelper
now useshide()
andshow()
instead ofhideAll()
andshowAll()
; a parameter list of candidates can be specified to show or hide.e4913a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other Changes & Additions
Other changes and additions, some minor and others semi-major, are listed in further comments.
e4913a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additions:
DockHelperDelegate
,PanelDelegate
,ResizerDelegate
in packageairdock.delegates
requestRemove()
andrequestDrag()
methods inPanelListDelegate
PanelContainerSide
IFilterable
andIDisplayFilter
interfacesIContainer
s andIPanel
s are required to support runtime display filtering.DefaultPanelList
now has close button for removing panels from a container, and shows a graphic when extra tabs are hidden from view (due to insufficient width available to display them)AIRDock
-specificintegratePanel
function - not a part of theIBasicDocker
orICustomizableDocker
interface - to facilitate integrating panels when the panel state information is not known publicly.e4913a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes:
PanelContainerSide
iterative, instead of recursive, where possibleDefaultPanel
,DefaultDockHelper
,DefaultPanelList
, etc.)AIRDock
to remove redundant and varying methods of docking; all methods of docking (toggling state and drag-docking for both panels and containers) now follow more or less the same methodsfilterUndockablePanels
and replaced it withextractDockablePanels
, which returns the dockable panels instead of the undockable panels1.0
as upper bound for percentage - Values greater than1.0
fordragImageWidth
/dragImageHeight
ofICustomizableDocker
andsideSize
ofIContainer
(default implementations) are downcasted toint
and taken as an absolute size (in pixels); values between[0, 1]
are regarded as a percentage - previous versions used values between[0, 1)
for percentages, leading to clumsy0.99999...
forms.DefaultResizer
now scalesIContainers
as relative, not absolute, sizes (i.e. sets theIContainer
'ssideSize
property to a value between[0, 1]
instead of an absolute value, thus permitting a side to scale as the entire container scales)IPanelList
s haveupdatePanel()
called on them every time a panel updates, not just when the panel'spanelName
property changes.ALLOWED_DRAG_ACTIONS
to a non-static private member variable inAIRDock
IResizer
s are now displayed correctly when the mouse appears from either side of the containerIReadablePanelStateInformation
andIWritablePanelStateInformation
interfaces fromAIRDock
as they served no purpose.