|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.custom.contentassist.providers.AbstractContentProposalProvider
public abstract class AbstractContentProposalProvider
builds depending on label context a list of IContentProposal
s.
Constructor Summary | |
---|---|
AbstractContentProposalProvider()
|
Method Summary | |
---|---|
IContentProposal[] |
getProposals(String contents,
int position)
Gets proposals from the inheriting ProposalProvider and generates an array of IContentproposals. Proposals are filtered by labelcontent and cursorposition. |
protected abstract String[] |
getProposalsAsStrings()
Returns the classifier proposals. |
protected IContentProposal |
makeContentProposal(String proposal,
String description,
int position)
Builds an IContentProposal with the parsed values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractContentProposalProvider()
Method Detail |
---|
protected abstract String[] getProposalsAsStrings()
public IContentProposal[] getProposals(String contents, int position)
getProposals
in interface IContentProposalProvider
contents
- position
-
IContentProposal
s.protected IContentProposal makeContentProposal(String proposal, String description, int position)
IContentProposal
with the parsed values.
proposal
- position
- description
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |