1 #ifndef Fireworks_Core_FWEventItem_h 2 #define Fireworks_Core_FWEventItem_h 26 #include <sigc++/connection.h> 44 class TVirtualCollectionProxy;
64 m_displayProperties(iProps),
65 m_isSelected(iIsSelected) {
69 return m_displayProperties;
78 std::shared_ptr<FWItemAccessorBase> iAccessor,
83 #if !defined(__CINT__) && !defined(__MAKECINT__) 85 void get(
const T*& oData)
const {
86 oData=
reinterpret_cast<const T*
>(
data(
typeid(
T)));
89 const void*
data(
const std::type_info&)
const;
95 bool isInFront()
const;
97 bool isInBack()
const;
102 unsigned int id()
const;
104 const TClass*
type()
const;
112 const TClass* modelType()
const;
115 const void* modelData(
int iIndex)
const;
120 bool haveInterestingValue()
const;
121 const std::string& modelInterestingValueAsString(
int iIndex)
const;
123 bool isCollection()
const;
133 return m_context->modelChangeManager();
136 return m_context->selectionManager();
140 return m_context->colorManager();
144 return nullptr != m_event;
153 bool hasError()
const;
159 static int minLayerValue();
160 static int maxLayerValue();
167 void getPrimaryData()
const;
182 void toggleSelectItem();
183 bool itemIsSelected()
const;
188 void moveToLayer(
int layer);
190 void proxyConfigChanged(
bool k =
false);
192 void unselect(
int iIndex)
const;
193 void select(
int iIndex)
const;
194 void toggleSelect(
int iIndex)
const;
FWProxyBuilderConfiguration * getConfig() const
const FWItemValueGetter & valueGetter() const
one value from the model which is normally used for the popup
FWItemChangeSignal preItemChanged_
FWModelChangeManager * changeManager() const
const FWDisplayProperties & displayProperties() const
FWColorManager * colorManager() const
FWItemValueGetter m_interestingValueGetter
FWItemChangeSignal defaultDisplayPropertiesChanged_
FWItemChangeSignal goingToBeDestroyed_
const fireworks::Context * m_context
std::string m_moduleLabel
std::shared_ptr< FWItemAccessorBase > m_accessor
std::string m_processName
edm::TypeWithDict m_wrapperType
FWProxyBuilderConfiguration * m_proxyBuilderConfig
const fireworks::Context & context() const
FWItemChangeSignal itemChanged_
FWDisplayProperties m_displayProperties
bool m_printedErrorThisEvent
FWSelectionManager * selectionManager() const
const edm::EventBase * getEvent() const
FWDisplayProperties m_displayProperties
const edm::EventBase * m_event
FWModelChangeSignal changed_
std::string m_errorMessage
char data[epos_bytes_allocation]
std::vector< ModelInfo > m_itemInfos
ModelInfo(const FWDisplayProperties &iProps, bool iIsSelected)
std::string m_productInstanceLabel
FWItemChangeSignal filterChanged_