51 lines
1.8 KiB
Java
51 lines
1.8 KiB
Java
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);
|
|
}
|