link start!
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.tridium.px.editor.sidebars.cellsheet;
|
||||
|
||||
import com.tridium.px.editor.property.PxPropertyComponentArray;
|
||||
import javax.baja.sys.BComponent;
|
||||
import javax.baja.sys.BObject;
|
||||
import javax.baja.sys.BValue;
|
||||
import javax.baja.sys.Property;
|
||||
import javax.baja.ui.BBinding;
|
||||
import javax.baja.ui.BWidget;
|
||||
import javax.baja.ui.CommandArtifact;
|
||||
import javax.baja.ui.px.PxProperty;
|
||||
import javax.baja.ui.transfer.TransferContext;
|
||||
import javax.baja.util.BConverter;
|
||||
import javax.baja.workbench.celleditor.BWbCellEditor;
|
||||
|
||||
public interface CellSheetContext {
|
||||
boolean allowBindingDelete();
|
||||
|
||||
boolean allowGotoOrd();
|
||||
|
||||
boolean allowLayoutEdit(BWidget[] bWidgetArr);
|
||||
|
||||
void bindingAdded(BWidget bWidget, Property property, BBinding bBinding);
|
||||
|
||||
void bindingDeleted(BWidget bWidget, Property property, BBinding bBinding);
|
||||
|
||||
void bindingPropertyChanged(BBinding bBinding, Property property, BValue bValue);
|
||||
|
||||
void cellModified(BWbCellEditor bWbCellEditor);
|
||||
|
||||
void converterAdded(BBinding bBinding, Property property, BConverter bConverter);
|
||||
|
||||
void converterDeleted(BBinding bBinding, Property property, BConverter bConverter);
|
||||
|
||||
int existingBindingDragOver(BPxCellSheetBindingLabel bPxCellSheetBindingLabel, TransferContext transferContext);
|
||||
|
||||
CommandArtifact existingBindingDrop(TransferContext transferContext, BWidget bWidget, BBinding bBinding) throws Exception;
|
||||
|
||||
PxPropertyComponentArray getPxPropertyComponents();
|
||||
|
||||
int newBindingDragOver(BPxCellSheetLabel bPxCellSheetLabel, TransferContext transferContext);
|
||||
|
||||
CommandArtifact newBindingDrop(TransferContext transferContext) throws Exception;
|
||||
|
||||
void pxPropertyLinked(PxProperty pxProperty, BComponent bComponent, String str);
|
||||
|
||||
void pxPropertyUnlinked(PxProperty pxProperty, BComponent bComponent, String str);
|
||||
|
||||
BObject[] resolveBindingTarget(BBinding[] bBindingArr);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.tridium.px.editor.sidebars.cellsheet;
|
||||
|
||||
import javax.baja.sys.BComponent;
|
||||
|
||||
public interface CellTableContext {
|
||||
boolean allowAnimate();
|
||||
|
||||
void doPaste();
|
||||
|
||||
BComponent[] getGroupableComponents();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.tridium.px.editor.studio;
|
||||
|
||||
import com.tridium.px.editor.studio.painters.Painter;
|
||||
import javax.baja.ui.pane.BPane;
|
||||
|
||||
public interface CommandStudio {
|
||||
BPane getCurrentFreeForm();
|
||||
|
||||
Painter getPainter();
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.tridium.px.editor.studio;
|
||||
|
||||
import javax.baja.gx.Graphics;
|
||||
|
||||
public interface PainterStudio {
|
||||
void buffer();
|
||||
|
||||
void paintBuffer(Graphics graphics);
|
||||
|
||||
void paintDrag(Graphics graphics);
|
||||
|
||||
void paintPage(Graphics graphics);
|
||||
|
||||
void paintSelected(Graphics graphics);
|
||||
|
||||
void unbuffer();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.tridium.px.editor.studio;
|
||||
|
||||
import javax.baja.gx.Point;
|
||||
import javax.baja.ui.BWidget;
|
||||
|
||||
public interface RootStudio {
|
||||
void repaint();
|
||||
|
||||
void repaint(double d, double d2, double d3, double d4);
|
||||
|
||||
Point translateToRoot(BWidget bWidget, Point point);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.tridium.px.editor.studio;
|
||||
|
||||
import com.tridium.px.editor.studio.painters.Painter;
|
||||
import javax.baja.gx.Point;
|
||||
import javax.baja.gx.RectGeom;
|
||||
import javax.baja.ui.BWidget;
|
||||
import javax.baja.ui.MouseCursor;
|
||||
import javax.baja.ui.event.BMouseEvent;
|
||||
import javax.baja.ui.pane.BCanvasPane;
|
||||
|
||||
public interface TrackerStudio {
|
||||
Point fromViewbox(double d, double d2, BCanvasPane bCanvasPane);
|
||||
|
||||
BCanvasPane getCurrentCanvas();
|
||||
|
||||
MouseCursor getMouseCursor();
|
||||
|
||||
BWidget rootDescendant(Point point);
|
||||
|
||||
BWidget[] rootDescendants(Point point);
|
||||
|
||||
void selectWidgets(RectGeom rectGeom, BCanvasPane bCanvasPane);
|
||||
|
||||
MouseCursor setMouseCursor(MouseCursor mouseCursor);
|
||||
|
||||
void setPainter(Painter painter);
|
||||
|
||||
void setShiftDown(boolean z);
|
||||
|
||||
void showPopupMenu(BMouseEvent bMouseEvent);
|
||||
|
||||
Point snap(double d, double d2);
|
||||
|
||||
Point toViewbox(double d, double d2, BCanvasPane bCanvasPane);
|
||||
|
||||
Point translateFromRoot(BWidget bWidget, Point point);
|
||||
|
||||
Point translateToRoot(BWidget bWidget, Point point);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.tridium.px.editor.studio;
|
||||
|
||||
import javax.baja.ui.BWidget;
|
||||
import javax.baja.ui.pane.BCanvasPane;
|
||||
import javax.baja.ui.pane.BLabelPane;
|
||||
import javax.baja.ui.pane.BPane;
|
||||
|
||||
public interface TreeStudio {
|
||||
boolean alignable(BCanvasPane bCanvasPane);
|
||||
|
||||
boolean distributable(BCanvasPane bCanvasPane);
|
||||
|
||||
void dropWidgetsInCanvas(double d, double d2, BWidget[] bWidgetArr, int i);
|
||||
|
||||
BCanvasPane getCurrentCanvas();
|
||||
|
||||
BPane getCurrentFreeForm();
|
||||
|
||||
BLabelPane[] makeTabs(BWidget[] bWidgetArr);
|
||||
|
||||
boolean reorgable(BPane bPane);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.tridium.px.editor.studio.trackers;
|
||||
|
||||
import javax.baja.gx.Geom;
|
||||
|
||||
public interface GeomSupplier {
|
||||
Geom[] geoms();
|
||||
}
|
||||
Reference in New Issue
Block a user