Toggle navigation
Home
org.eclipse.che.ide.api.parts.PartStack to org.eclipse.che.ide.api.parts.EditorPartStack
No. of Instances - 6
No. of Commits - 1
No. of Projects - {'che'}
Hierarchy/Composition: R_SUPER_T
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
relativePartStackView.split(widget,constraints.direction)
to
relativePartStackView.split(widget,constraints.direction,size)
relativePartStackView.split(widget,constraints.direction)
to
relativePartStackView.split(widget,constraints.direction,size)
Update Anonymous class
{ @Override public void setWidget( IsWidget widget){ if (relativePartStack == null) { SplitEditorPartView splitEditorPartView=splitEditorPartViewFactory.create(widget); splitEditorParts.put(partStack,splitEditorPartView); contentPanel.add(splitEditorPartView); return; } SplitEditorPartView relativePartStackView=splitEditorParts.get(relativePartStack); if (relativePartStackView == null) { Log.error(getClass(),"Can not find container for specified editor"); return; } relativePartStackView.split(widget,constraints.direction); splitEditorParts.put(partStack,relativePartStackView.getReplica()); splitEditorParts.put(relativePartStack,relativePartStackView.getSpecimen()); } }
to
{ @Override public void setWidget( IsWidget widget){ if (relativePartStack == null) { rootView=splitEditorPartViewFactory.create(widget); splitEditorParts.put(partStack,rootView); contentPanel.add(rootView); return; } SplitEditorPartView relativePartStackView=splitEditorParts.get(relativePartStack); if (relativePartStackView == null) { Log.error(getClass(),"Can not find container for specified editor"); return; } relativePartStackView.split(widget,constraints.direction,size); splitEditorParts.put(partStack,relativePartStackView.getReplica()); splitEditorParts.put(relativePartStack,relativePartStackView.getSpecimen()); } }
{ @Override public void setWidget( IsWidget widget){ if (relativePartStack == null) { SplitEditorPartView splitEditorPartView=splitEditorPartViewFactory.create(widget); splitEditorParts.put(partStack,splitEditorPartView); contentPanel.add(splitEditorPartView); return; } SplitEditorPartView relativePartStackView=splitEditorParts.get(relativePartStack); if (relativePartStackView == null) { Log.error(getClass(),"Can not find container for specified editor"); return; } relativePartStackView.split(widget,constraints.direction); splitEditorParts.put(partStack,relativePartStackView.getReplica()); splitEditorParts.put(relativePartStack,relativePartStackView.getSpecimen()); } }
to
{ @Override public void setWidget( IsWidget widget){ if (relativePartStack == null) { rootView=splitEditorPartViewFactory.create(widget); splitEditorParts.put(partStack,rootView); contentPanel.add(rootView); return; } SplitEditorPartView relativePartStackView=splitEditorParts.get(relativePartStack); if (relativePartStackView == null) { Log.error(getClass(),"Can not find container for specified editor"); return; } relativePartStackView.split(widget,constraints.direction,size); splitEditorParts.put(partStack,relativePartStackView.getReplica()); splitEditorParts.put(relativePartStack,relativePartStackView.getSpecimen()); } }