public class PropertySourceFactory extends java.lang.Object implements ISFRComponentVisitor
Constructor and Description |
---|
PropertySourceFactory() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.ui.views.properties.IPropertySource |
getPropertySource(SFRComponent component)
Gets an IPropertySource for the Component specified in the constructor.
|
void |
visit(Material sfrComp)
This operation directs a visitor to perform its actions on the
SFRComponent as a Material.
|
void |
visit(MaterialBlock sfrComp)
This operation directs a visitor to perform its actions on the
SFRComponent as a MaterialBlock.
|
void |
visit(PinAssembly assembly)
This operation directs a visitor to perform its actions on the
SFRComponent as a PinAssembly.
|
void |
visit(ReflectorAssembly sfrComp)
This operation directs a visitor to perform its actions on the
SFRComponent as a ReflectorAssembly.
|
void |
visit(Ring ring)
This operation directs a visitor to perform its actions on the
SFRComponent as a Ring.
|
void |
visit(SFRAssembly sfrComp)
This operation directs a visitor to perform its actions on the
SFRComponent as a SFRAssembly.
|
void |
visit(SFReactor reactor)
This operation directs a visitor to perform its actions on the
SFRComponent as a SFReactor.
|
void |
visit(SFRPin pin)
This operation directs a visitor to perform its actions on the
SFRComponent as a SFRPin.
|
void |
visit(SFRRod sfrComp)
This operation directs a visitor to perform its actions on the
SFRComponent as a SFRRod.
|
public org.eclipse.ui.views.properties.IPropertySource getPropertySource(SFRComponent component)
component
- The component whose properties will be exposed.public void visit(SFReactor reactor)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a SFReactor.
visit
in interface ISFRComponentVisitor
reactor
- The SFReactor accepting the visitor.public void visit(SFRAssembly sfrComp)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a SFRAssembly.
visit
in interface ISFRComponentVisitor
sfrComp
- The SFRAssembly being visited.public void visit(PinAssembly assembly)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a PinAssembly.
visit
in interface ISFRComponentVisitor
assembly
- The PinAssembly accepting the visitor.public void visit(ReflectorAssembly sfrComp)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a ReflectorAssembly.
visit
in interface ISFRComponentVisitor
sfrComp
- The ReflectorAssembly accepting the visitor.public void visit(SFRPin pin)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a SFRPin.
visit
in interface ISFRComponentVisitor
pin
- The SFRPin accepting the visitor.public void visit(SFRRod sfrComp)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a SFRRod.
visit
in interface ISFRComponentVisitor
sfrComp
- The SFRRod accepting the visitor.public void visit(MaterialBlock sfrComp)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a MaterialBlock.
visit
in interface ISFRComponentVisitor
sfrComp
- The MaterialBlock accepting the visitor.public void visit(Material sfrComp)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a Material.
visit
in interface ISFRComponentVisitor
sfrComp
- The Material accepting the visitor.public void visit(Ring ring)
ISFRComponentVisitor
This operation directs a visitor to perform its actions on the SFRComponent as a Ring.
visit
in interface ISFRComponentVisitor
ring
- The Ring accepting the visitor.